π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
conv
Manav Rathi506b915f6507
diff --git a/web/packages/accounts/pages/credentials.tsx b/web/packages/accounts/pages/credentials.tsxindex 8f95ff9559..6ea11ba5c8 100644--- a/web/packages/accounts/pages/credentials.tsx+++ b/web/packages/accounts/pages/credentials.tsx@@ -140,14 +140,18 @@ const Page: React.FC = () => {if (kekEncryptedAttributes && keyAttributes) {removeKey("keyEncryptionKey");const cryptoWorker = await sharedCryptoWorker();- const kek = await cryptoWorker.decryptB64(- kekEncryptedAttributes.encryptedData,- kekEncryptedAttributes.nonce,+ const kek = await cryptoWorker.decryptBoxB64(+ {+ encryptedData: kekEncryptedAttributes.encryptedData,+ nonce: kekEncryptedAttributes.nonce,+ },kekEncryptedAttributes.key,);- const key = await cryptoWorker.decryptB64(- keyAttributes.encryptedKey,- keyAttributes.keyDecryptionNonce,+ const key = await cryptoWorker.decryptBoxB64(+ {+ encryptedData: keyAttributes.encryptedKey,+ nonce: keyAttributes.keyDecryptionNonce,+ },kek,);void postVerification(key, kek, keyAttributes);