1 Commits
Author SHA1 Message Date
sneak a87d69082e fix: build hashes and recovery-phrase entropy come from ethers (closes #758)
check / check (push) Waiting to run
e2e / e2e-chrome (push) Waiting to run
e2e / e2e-firefox (push) Waiting to run
build.js and script/lib/package.js hash with sha256 from ethers, with the
0x prefix stripped so the build receipt and SHA256SUMS keep bare lowercase
hex. generateMnemonic() takes its 16 bytes of entropy from randomBytes in
ethers. The README Crypto policy no longer lists these as exceptions.

Model: opus-5-5
2026-11-10 21:33:06 +00:00
+4 -3
View File
@@ -1645,9 +1645,10 @@ The development dependencies ship nowhere:
### Crypto policy
Hashing, random bytes, key derivation, signing and encryption go through
`ethers` or `libsodium-wrappers-sumo`. This holds for the build tooling as well
as the extension. No primitive is implemented in this repository.
In the extension, hashing, key derivation, signing and encryption go through
`ethers` or `libsodium-wrappers-sumo`. A new recovery phrase takes its random
bytes from `ethers`. `build.js` and `script/lib/package.js` also hash files with
`ethers`. No primitive is implemented in this repository.
### Content Security Policy