diff --git a/CliClient/tests/synchronizer.js b/CliClient/tests/synchronizer.js index b0dce8793..7ff36e263 100644 --- a/CliClient/tests/synchronizer.js +++ b/CliClient/tests/synchronizer.js @@ -87,7 +87,7 @@ async function localNotesFoldersSameAsRemote(locals, expect) { let insideBeforeEach = false; -describe('Synchronizer', function() { +describe('synchronizer', function() { beforeEach(async (done) => { insideBeforeEach = true; diff --git a/ReactNativeClient/lib/services/EncryptionService.js b/ReactNativeClient/lib/services/EncryptionService.js index 92e0f4b8b..20b488b11 100644 --- a/ReactNativeClient/lib/services/EncryptionService.js +++ b/ReactNativeClient/lib/services/EncryptionService.js @@ -316,7 +316,7 @@ class EncryptionService { iter: 101, // Since the master key already uses key derivations and is secure, additional iteration here aren't necessary, which will make decryption faster. SJCL enforces an iter strictly greater than 100 ks: 128, // Key size - "128 bits should be secure enough" ts: 64, // ??? - mode: 'ocb2', // The cipher mode is a standard for how to use AES and other algorithms to encrypt and authenticate your message. OCB2 mode is slightly faster and has more features, but CCM mode has wider support because it is not patented. + mode: 'ccm', // The cipher mode is a standard for how to use AES and other algorithms to encrypt and authenticate your message. OCB2 mode is slightly faster and has more features, but CCM mode has wider support because it is not patented. // "adata":"", // Associated Data - not needed? cipher: 'aes', });