Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Doc

Manav Rathi895ba6082bf8
diff --git a/web/docs/dependencies.md b/web/docs/dependencies.md
index e04f1d1231..a3c6cc5eef 100644
--- a/web/docs/dependencies.md
+++ b/web/docs/dependencies.md
@@ -157,13 +157,17 @@ For more details, see [translations.md](translations.md).
(e.g. verifying that API responses match the expected TypeScript shape).
- [nanoid](https://github.com/ai/nanoid) is used for generating unique
- identifiers.
+ identifiers. For one particular use case, we also need
+ [uuid](https://github.com/uuidjs/uuid) for UUID v4 generation.
- [debounce](https://github.com/sindresorhus/debounce) and its
promise-supporting sibling
[pDebounce](https://github.com/sindresorhus/p-debounce) are used for
debouncing operations (See also: `[Note: Throttle and debounce]`).
+- [zxcvbn](https://github.com/dropbox/zxcvbn) is used for password strength
+ estimation.
+
## Media
- [ffmpeg.wasm](https://github.com/ffmpegwasm/ffmpeg.wasm) is used to run
diff --git a/web/packages/accounts/services/srp.ts b/web/packages/accounts/services/srp.ts
index 357a2a9aae..ac77ba4a16 100644
--- a/web/packages/accounts/services/srp.ts
+++ b/web/packages/accounts/services/srp.ts
@@ -64,6 +64,7 @@ export const generateSRPSetupAttributes = async (
const srpSalt = await cryptoWorker.generateSaltToDeriveKey();
+ // Museum schema requires this to be a UUID.
const srpUserID = uuidv4();
const srpVerifierBuffer = SRP.computeVerifier(