Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update EmailDecryption check for mobile app
Leendert de Borst146677b35990
diff --git a/core/client/src/email/EmailDecryption.ts b/core/client/src/email/EmailDecryption.tsindex c4cb43cb4..3d9befef5 100644--- a/core/client/src/email/EmailDecryption.ts+++ b/core/client/src/email/EmailDecryption.ts@@ -141,10 +141,10 @@ async function resolveSymmetricKey(decryptionKeys: EmailDecryptionKey[], publicKconst privateKeyCache = new Map<string, Promise<CryptoKey>>();/**- * Whether the host has WebCrypto; the mobile app does not.+ * Whether the host has full WebCrypto; the mobile app polyfills only `subtle.digest`.*/function hasWebCrypto(): boolean {- return typeof crypto !== 'undefined' && crypto.subtle !== undefined;+ return typeof crypto !== 'undefined' && typeof crypto.subtle?.importKey === 'function';}/**