mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Was on the 2026-07-25 build. Carries an adversarial audit's fixes, the ones that matter most for a site that hands the widget real identities: - Origin binding is enforced INSIDE the crypto worker and derived from self.location instead of a caller-supplied field, so a page cannot read or adopt a wallet connection bound to a different site. - Phrase recovery no longer trips the rollback alarm on every later login (the mark is keyed by the everyday pubkey, which recovery preserves, while the recovered capsule restarts at generation 0) -- users who had ever rotated a password previously saw "possibly revoked credentials" forever, with no way to clear it. - quorumMet counts relays that ANSWERED rather than ones that merely accepted a socket, and relay responses are now checked against the address requested, so a single junk event can no longer block registration, rotation, and recovery. - Password rotation checks the new capsule reached quorum BEFORE publishing the tombstone that destroys the old one; a failed rotation used to be able to leave neither password working. - Derived secrets (Argon2id output, both PRKs, the BIP-39 seed) are now wiped at their derivation site, as the spec always claimed. - The worker RPC validates message shapes, times out, and rejects pending calls when the worker dies, so a torn-down worker surfaces as an error instead of a permanent hang. - Synthetic (script-dispatched) clicks no longer drive consent UI. Verified: the 10 pre-existing test failures in this suite are unchanged by this update (checked by stashing the vendor directory and re-running -- 1330 pass / 10 fail either way), and the BitLogin auth-provider tests pass. dist/ is gitignored build output and regenerates. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CMr9Yt8SYmZcfgrg3CV2G1
27 lines
796 B
JSON
27 lines
796 B
JSON
{
|
|
"package": "@bitlogin/widget",
|
|
"version": "0.1.0",
|
|
"files": {
|
|
"bitlogin-shared-B2Rc9khL.js": {
|
|
"sha256": "6a9df1b27d73499d3bd488182b3134e0173c6b0bf1b5537cddc0e9ec4073d8e7",
|
|
"bytes": 288486
|
|
},
|
|
"bitlogin-shared-DxcpMAo3.js": {
|
|
"sha256": "b6cb73f3544a8c378416c50740a91eaea700c4af3e4f6b131bb3694e7c816758",
|
|
"bytes": 483718
|
|
},
|
|
"bitlogin-shared-IsyHQNSG.js": {
|
|
"sha256": "bd6d38087df246792cd61b82323f2997ecf478d3abcc3885235f45a925614131",
|
|
"bytes": 545712
|
|
},
|
|
"bitlogin.js": {
|
|
"sha256": "0d118d599efd30d4c0d0c197d463fd64900e803aa1a84c7880e1780bed9f3aba",
|
|
"bytes": 85342
|
|
},
|
|
"cryptoWorker.js": {
|
|
"sha256": "4210e0d6e7c5fc33e4df2dd3eedbe9434439600d0e60fcb3cad90699c198d452",
|
|
"bytes": 104078
|
|
}
|
|
}
|
|
}
|