diff --git a/src/services/password_encryption.js b/src/services/password_encryption.js index d41736b21..513e3af2c 100644 --- a/src/services/password_encryption.js +++ b/src/services/password_encryption.js @@ -18,7 +18,7 @@ function verifyPassword(password) { function setDataKey(password, plainTextDataKey) { const passwordDerivedKey = myScryptService.getPasswordDerivedKey(password); - const newEncryptedDataKey = dataEncryptionService.encrypt(passwordDerivedKey, plainTextDataKey, 16); + const newEncryptedDataKey = dataEncryptionService.encrypt(passwordDerivedKey, plainTextDataKey); optionService.setOption('encryptedDataKey', newEncryptedDataKey); }