Files
pezkuwi-apps/packages/page-claims/package.json
T
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

27 lines
690 B
JSON

{
"bugs": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-apps/issues",
"engines": {
"node": ">=18"
},
"homepage": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-apps/tree/master/packages/page-claims#readme",
"license": "Apache-2.0",
"name": "@pezkuwi/app-claims",
"private": true,
"repository": {
"directory": "packages/page-claims",
"type": "git",
"url": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-apps.git"
},
"sideEffects": false,
"type": "module",
"version": "1.0.2-1-x",
"dependencies": {
"@pezkuwi/react-components": "^1.0.2-1-x"
},
"peerDependencies": {
"react": "*",
"react-dom": "*",
"react-is": "*"
}
}