mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
data key is not encrypted with aes-cbc as well
This commit is contained in:
@@ -57,7 +57,7 @@ router.post('/protected', auth.checkApiAuth, async (req, res, next) => {
|
||||
return;
|
||||
}
|
||||
|
||||
const decryptedDataKey = await password_encryption.getDecryptedDataKey(password);
|
||||
const decryptedDataKey = await password_encryption.getDecryptedDataKeyCbc(password);
|
||||
|
||||
const protectedSessionId = protected_session.setDataKey(req, decryptedDataKey);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user