Resolve elliptic to the patched @pezkuwi/elliptic fork (#49)

elliptic 6.6.1 (GHSA-848j-6mx2-7j84) reaches this tree through
@subql/cli -> @subql/network-clients / siwe -> ethers 5 ->
@ethersproject/signing-key, and no release of any of them drops it.
@pezkuwi/elliptic 6.6.2 derives the RFC 6979 nonce from the full DRBG
output length, so a nonce whose first byte is zero is no longer left
unshifted. Signatures through @ethersproject/signing-key match an
independent implementation (@noble/curves) on every case checked.

The lockfile changes only in the elliptic entry; its bn.js range moves
to ^4.12.3 and still resolves to the 4.12.5 already locked.
This commit is contained in:
SatoshiQaziMuhammed authored and GitHub committed 2026-11-15 06:20:52 +04:00
1 parent b1a5a962ca
commit ca390ab626
2 files changed
+7 -6

No files matched your search

+1
View File
@@ -50,6 +50,7 @@
"axios@npm:^0.27.2": "npm:^0.34.0",
"braces@npm:^3.0.3": "npm:@pezkuwi/braces@^3.0.4",
"deepmerge@npm:^4.2.2": "npm:@pezkuwi/deepmerge@^4.3.2",
"elliptic@npm:6.6.1": "npm:@pezkuwi/elliptic@^6.6.2",
"package-json@npm:^6.3.0": "npm:^7.0.0",
"serialize-javascript@npm:^6.0.2": "npm:^7.0.5",
"simple-git@npm:^3.28.0": "npm:^4.0.1",
+6 -6
View File
@@ -3708,7 +3708,7 @@ __metadata:
languageName: node
linkType: hard
"bn.js@npm:^4.11.9":
"bn.js@npm:^4.12.3":
version: 4.12.5
resolution: "bn.js@npm:4.12.5"
checksum: 10c0/e15e35d0e082fa43c5dd03b552041faf23bc870fbe5de0e41ab5d2d987875f43ffb1f8f57021494e9d71784223c59ddbba1819948b2c2648477a61ab7455aa42
@@ -4467,18 +4467,18 @@ __metadata:
languageName: node
linkType: hard
"elliptic@npm:6.6.1":
version: 6.6.1
resolution: "elliptic@npm:6.6.1"
"elliptic@npm:@pezkuwi/elliptic@^6.6.2":
version: 6.6.2
resolution: "@pezkuwi/elliptic@npm:6.6.2"
dependencies:
bn.js: "npm:^4.11.9"
bn.js: "npm:^4.12.3"
brorand: "npm:^1.1.0"
hash.js: "npm:^1.0.0"
hmac-drbg: "npm:^1.0.1"
inherits: "npm:^2.0.4"
minimalistic-assert: "npm:^1.0.1"
minimalistic-crypto-utils: "npm:^1.0.1"
checksum: 10c0/8b24ef782eec8b472053793ea1e91ae6bee41afffdfcb78a81c0a53b191e715cbe1292aa07165958a9bbe675bd0955142560b1a007ffce7d6c765bcaf951a867
checksum: 10c0/a219911752cf9000ba88988d5c780cef0a569c2062bdf917358260416f413fc52af30798f44ab523d92ca2922f61845bcf5b7a1b1f72345629712d532e53e871
languageName: node
linkType: hard