A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: crash if alg is undefined
thecodrr462d49f6ed47
diff --git a/apps/web/src/interfaces/crypto.js b/apps/web/src/interfaces/crypto.jsindex 02b61c60a..5d73af5c9 100644--- a/apps/web/src/interfaces/crypto.js+++ b/apps/web/src/interfaces/crypto.js@@ -262,6 +262,7 @@ function loadScript(url) {* @param {string} alg*/function parseAlgorithm(alg) {+ if (!alg) return {};const [enc, kdf, compressed, base64variant] = alg.split("-");return {encryptionAlgorithm: enc,