π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
New
Manav Rathi44e71d8b0934
diff --git a/web/packages/accounts/components/SignUpContents.tsx b/web/packages/accounts/components/SignUpContents.tsxindex 381122ac64..5292e435cb 100644--- a/web/packages/accounts/components/SignUpContents.tsx+++ b/web/packages/accounts/components/SignUpContents.tsx@@ -13,7 +13,10 @@ import {Tooltip,Typography,} from "@mui/material";-import { generateSRPSetupAttributes } from "ente-accounts/services/srp";+import {+ generateSRPSetupAttributes,+ stashSRPSetupAttributes,+} from "ente-accounts/services/srp";import {generateAndSaveInteractiveKeyAttributes,generateKeysAndAttributes,@@ -142,19 +145,15 @@ export const SignUpContents: React.FC<SignUpContentsProps> = ({}const { masterKey, kek, keyAttributes } = gkResult;-- const srpSetupAttributes =- await generateSRPSetupAttributes(kek);-setData("originalKeyAttributes", keyAttributes);- setData("srpSetupAttributes", srpSetupAttributes);+ stashSRPSetupAttributes(await generateSRPSetupAttributes(kek));await generateAndSaveInteractiveKeyAttributes(password,keyAttributes,masterKey,);-await saveMasterKeyInSessionAndSafeStore(masterKey);+setJustSignedUp(true);void router.push("/verify");} catch (e) {diff --git a/web/packages/shared/storage/localStorage/index.ts b/web/packages/shared/storage/localStorage/index.tsindex f5878c3c0c..e952abbb6b 100644--- a/web/packages/shared/storage/localStorage/index.ts+++ b/web/packages/shared/storage/localStorage/index.ts@@ -15,6 +15,7 @@ export type LocalStorageKey =| "collectionSortBy"// Moved to the new wrapper ente-base/local-storage// LOCALE = 'locale',+ // Moved to ente-accounts| "srpSetupAttributes"| "srpAttributes"| "referralSource";