π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add TODOs
Manav Rathi2d621b987980
diff --git a/web/apps/accounts/src/pages/passkeys/flow.tsx b/web/apps/accounts/src/pages/passkeys/flow.tsxindex c01560f99d..5e62885f34 100644--- a/web/apps/accounts/src/pages/passkeys/flow.tsx+++ b/web/apps/accounts/src/pages/passkeys/flow.tsx@@ -126,6 +126,7 @@ const PasskeysFlow = () => {const encodedResponse = _sodium.to_base64(JSON.stringify(finishData));+ // TODO-PK: Shouldn't this be URL encoded?window.location.href = `${redirect}?response=${encodedResponse}`;};diff --git a/web/apps/accounts/src/pages/passkeys/index.tsx b/web/apps/accounts/src/pages/passkeys/index.tsxindex 0363ede4ac..92683f631d 100644--- a/web/apps/accounts/src/pages/passkeys/index.tsx+++ b/web/apps/accounts/src/pages/passkeys/index.tsx@@ -101,6 +101,7 @@ const Passkeys = () => {const options = response.options;+ // TODO-PK: The types don't match.options.publicKey.challenge = _sodium.from_base64(// eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignore