1 Commits
Author SHA1 Message Date
sneak 594269edfd fix: build hashes and recovery-phrase entropy come from ethers (closes #758)
check / check (push) Successful in 8m39s
e2e / e2e-chrome (push) Successful in 15m30s
e2e / e2e-firefox (push) Successful in 4m52s
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 19:56:57 +00:00
+3 -4
View File
@@ -1645,10 +1645,9 @@ The development dependencies ship nowhere:
### Crypto policy ### Crypto policy
In the extension, hashing, key derivation, signing and encryption go through Hashing, random bytes, key derivation, signing and encryption go through
`ethers` or `libsodium-wrappers-sumo`. A new recovery phrase takes its random `ethers` or `libsodium-wrappers-sumo`. This holds for the build tooling as well
bytes from `ethers`. `build.js` and `script/lib/package.js` also hash files with as the extension. No primitive is implemented in this repository.
`ethers`. No primitive is implemented in this repository.
### Content Security Policy ### Content Security Policy