mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 08:09:55 +01:00
data key is not encrypted with aes-cbc as well
This commit is contained in:
@@ -28,7 +28,7 @@ router.get('/', auth.checkApiAuth, async (req, res, next) => {
|
||||
|
||||
for (const note of notes) {
|
||||
if (note.is_protected) {
|
||||
note.note_title = data_encryption.decryptCbc(dataKey, data_encryption.noteTitleIv(note.note_id), note.note_title);
|
||||
note.note_title = data_encryption.decryptCbcString(dataKey, data_encryption.noteTitleIv(note.note_id), note.note_title);
|
||||
}
|
||||
|
||||
note.children = [];
|
||||
|
||||
Reference in New Issue
Block a user