mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
sync fixes
This commit is contained in:
@@ -104,10 +104,6 @@ function decryptCbc(key, iv, cipherText) {
|
||||
return "[protected]";
|
||||
}
|
||||
|
||||
console.log("key:", key);
|
||||
console.log("iv:", iv);
|
||||
console.log("cipherText:", cipherText);
|
||||
|
||||
const decipher = crypto.createDecipheriv('aes-128-cbc', pad(key), pad(iv));
|
||||
|
||||
const cipherTextBuffer = Buffer.from(cipherText, 'base64');
|
||||
|
||||
Reference in New Issue
Block a user