1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00

All: Resolves #8657: Temporarily revert to AES-128 as encryption method due to severe performance issues

This commit is contained in:
Laurent Cozic 2023-08-14 18:26:49 +01:00
parent c6c2733726
commit eca1afb6d5

View File

@ -70,7 +70,7 @@ export default class EncryptionService {
// changed easily since the chunk size is incorporated into the encrypted data.
private chunkSize_ = 5000;
private decryptedMasterKeys_: Record<string, DecryptedMasterKey> = {};
public defaultEncryptionMethod_ = EncryptionMethod.SJCL1b; // public because used in tests
public defaultEncryptionMethod_ = EncryptionMethod.SJCL1a; // public because used in tests
private defaultMasterKeyEncryptionMethod_ = EncryptionMethod.SJCL4;
private headerTemplates_ = {