build(deps): bump @noble/curves from 1.9.7 to 2.4.0 - #357
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
fdab353 to
76e9a82
Compare
|
@dependabot rebase |
Bumps [@noble/curves](https://github.com/paulmillr/noble-curves) from 1.9.7 to 2.4.0. - [Release notes](https://github.com/paulmillr/noble-curves/releases) - [Changelog](https://github.com/paulmillr/noble-curves/blob/main/CHANGELOG.md) - [Commits](paulmillr/noble-curves@1.9.7...2.4.0) --- updated-dependencies: - dependency-name: "@noble/curves" dependency-version: 2.2.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
76e9a82 to
8ba9ec9
Compare
…rn/noble/curves-2.2.0 # Conflicts: # pnpm-lock.yaml
Lockfile side (2.4.0) was already in place; this completes the code migration required by the 1.9.7 -> 2.4.0 breaking changes: - import paths: @noble/curves/ed25519 -> @noble/curves/ed25519.js (2.x exports map ships only .js-suffixed subpaths) — 9 sites - ExtendedPoint -> Point (2.x rename) — transfer.ts, sdk privacy.ts - ExtendedPoint.fromHex(bytes) -> Point.fromBytes(bytes) (2.x fromHex is string-only; 1.9.7 silently coerced Uint8Array) — sdk privacy.ts + privacy.test.ts - point.toRawBytes() -> point.toBytes() (toRawBytes removed in 2.x) - ed25519.utils.randomPrivateKey() -> randomSecretKey() — auth.test.ts Crypto parity verified 1.9.7 vs 2.4.0 on fixed inputs (RFC 8032 TEST 1 vector, deterministic sign, verify incl. tampered/wrong-key negatives, BASE.multiply scalar path, ECDH sharedSecret + viewTag stealth flow, round-trip, strict zip215=false vs zip215 decode): all 18 outputs byte-identical.
Code migration to @noble/curves 2.x (completes the lockfile bump)The lockfile side (2.4.0, frozen-install-proofed) was already on this branch. Pushed 36c3ca0 migrates the code per the 2.0.0 breaking changes:
Crypto parity evidence (1.9.7 vs 2.4.0, fixed inputs, byte-comparison harness)18/18 outputs byte-identical across the API boundary:
Local gate: |
e2e/fixtures/auth.ts imported the extensionless @noble/curves/ed25519 subpath, which the 2.x exports map rejects at runtime — caught by the playwright job after the main migration (it got past the sdk build and died in the playwright webserver). Uses getPublicKey + sign only, both covered by the parity harness.
|
Addendum (83f7746): the playwright job exposed one straggler my file sweep missed — |
Bumps @noble/curves from 1.9.7 to 2.4.0.
Release notes
Sourced from @noble/curves's releases.
... (truncated)
Changelog
Sourced from @noble/curves's changelog.
... (truncated)
Commits
656c436Release 2.4.0.ca081f6Add changelog783fa9bUpgrade noble-hashes to 2.4.03becb84readmebb52c57readme41f44d2Restructure benchmarks. Update README3587575Bump vectorsae43344Bump ci workflows5c1aa39Add fuzzingd5b95e4test: add more hardening-related testsMaintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@noble/curvessince your current version.