π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Update
Manav Rathi7bfb2f0fe89f
diff --git a/web/packages/accounts/services/user.ts b/web/packages/accounts/services/user.tsindex 63bb1dbccf..368bf93079 100644--- a/web/packages/accounts/services/user.ts+++ b/web/packages/accounts/services/user.ts@@ -537,16 +537,22 @@ const enableTwoFactor = async (req: EnableTwoFactorRequest) =>);/**- * The result of a successful two factor verification (totp or passkey).+ * The result of a successful two factor verification (TOTP or passkey),+ * recovery removal (TOTP) or recovery bypass (passkey).*/export const TwoFactorAuthorizationResponse = z.object({+ /**+ * The user's ID+ */id: z.number(),- /** TODO: keyAttributes is guaranteed to be returned by museum, update the- * types to reflect that. */- keyAttributes: RemoteKeyAttributes.nullish().transform(nullToUndefined),- /** TODO: encryptedToken is guaranteed to be returned by museum, update the- * types to reflect that. */- encryptedToken: z.string().nullish().transform(nullToUndefined),+ /**+ * The user's key attributes.+ */+ keyAttributes: RemoteKeyAttributes,+ /**+ * A encrypted auth token.+ */+ encryptedToken: z.string(),});export type TwoFactorAuthorizationResponse = z.infer<