1 Commits
Author SHA1 Message Date
sneak ded29b3a9c 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:40:47 +00:00
2 changed files with 1937 additions and 8 deletions

No files matched your search

+1935 -4
View File
File diff suppressed because it is too large. Load diff
+2 -4
View File
@@ -1,5 +1,4 @@
// The release archives: the zip container, the self-containment rule, and the // The release archives: the zip container, and the self-containment rule.
// digest format in release/SHA256SUMS.
// //
// script/package produces one archive per browser and script/lib/package.js // script/package produces one archive per browser and script/lib/package.js
// decides what goes in it. The trap that rule exists for is real and specific: // decides what goes in it. The trap that rule exists for is real and specific:
@@ -12,8 +11,7 @@
// So the packager resolves every reference in the manifest and in every HTML // So the packager resolves every reference in the manifest and in every HTML
// document, and fails on any that leaves the extension root. These are the // document, and fails on any that leaves the extension root. These are the
// cases for that, plus the archive format itself — new code, and the thing the // cases for that, plus the archive format itself — new code, and the thing the
// artifact is made of. One more case checks the digest format in // artifact is made of.
// release/SHA256SUMS.
const { const {
checkSelfContained, checkSelfContained,