Files
pezkuwi-apps/packages/page-claims
Satoshi Qazi Muhammed 09f16d3549 Claims: recover the signer with @pezkuwi/util-crypto, not elliptic
recoverAddress used secp256k1/elliptic.js, which put elliptic (open
advisories, no fixed version) into the shipped bundle. secp256k1Recover
from @pezkuwi/util-crypto (@noble/curves, or wasm) with the 'keccak'
hash type returns the same expanded key without its 0x04 prefix.

The spec's signature vector had been broken by the rebrand: the signed
message was rewritten from "Kusama" to "Dicle", so recovery gave another
address and the test failed on the old code too (it only runs in
test:all). Restored; old and new code pass it, and changing one word of
the message makes it fail.
2026-10-10 04:09:47 +04:00
..