Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Fix default ivLength in dump-db tool
Nriver9d32cd36eef5
diff --git a/dump-db/inc/decrypt.ts b/dump-db/inc/decrypt.tsindex d7ae92614f..ecbc820b52 100644--- a/dump-db/inc/decrypt.ts+++ b/dump-db/inc/decrypt.ts@@ -16,7 +16,7 @@ function decryptString(dataKey: any, cipherText: any) {return str;}-function decrypt(key: any, cipherText: any, ivLength = 13) {+function decrypt(key: any, cipherText: any, ivLength = 16) {if (cipherText === null) {return null;}