mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 16:20:08 +01:00
cleaned up "CBC" from methods since we don't have CTR
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.decryptCbcString(dataKey, data_encryption.noteTitleIv(note.note_id), note.note_title);
|
||||
note.note_title = data_encryption.decryptString(dataKey, data_encryption.noteTitleIv(note.note_id), note.note_title);
|
||||
}
|
||||
|
||||
if (!parentToNotes[note.note_pid]) {
|
||||
|
||||
Reference in New Issue
Block a user