fix(deps): update dependency @noble/curves to v2#327
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Contributor
Author
Branch automerge failureThis PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
|
renovate
Bot
force-pushed
the
renovate/noble-curves-2.x
branch
2 times, most recently
from
August 25, 2025 22:30
4307225 to
df3fbd8
Compare
renovate
Bot
force-pushed
the
renovate/noble-curves-2.x
branch
2 times, most recently
from
September 8, 2025 05:11
68ae5dc to
9350678
Compare
renovate
Bot
force-pushed
the
renovate/noble-curves-2.x
branch
2 times, most recently
from
September 22, 2025 05:14
1560d50 to
92c403c
Compare
renovate
Bot
force-pushed
the
renovate/noble-curves-2.x
branch
from
September 22, 2025 17:06
92c403c to
867ee91
Compare
renovate
Bot
force-pushed
the
renovate/noble-curves-2.x
branch
from
October 6, 2025 04:39
867ee91 to
a2590f3
Compare
renovate
Bot
force-pushed
the
renovate/noble-curves-2.x
branch
2 times, most recently
from
October 14, 2025 08:53
980fcf6 to
83263a0
Compare
renovate
Bot
force-pushed
the
renovate/noble-curves-2.x
branch
2 times, most recently
from
October 27, 2025 05:25
bb31ef2 to
99d31c4
Compare
renovate
Bot
force-pushed
the
renovate/noble-curves-2.x
branch
2 times, most recently
from
November 3, 2025 06:55
64da5c9 to
71bc722
Compare
renovate
Bot
force-pushed
the
renovate/noble-curves-2.x
branch
2 times, most recently
from
November 20, 2025 21:31
14bc64f to
10315b6
Compare
renovate
Bot
force-pushed
the
renovate/noble-curves-2.x
branch
from
November 24, 2025 04:51
10315b6 to
c8cce04
Compare
renovate
Bot
force-pushed
the
renovate/noble-curves-2.x
branch
from
December 1, 2025 11:01
c8cce04 to
3a9e48e
Compare
renovate
Bot
force-pushed
the
renovate/noble-curves-2.x
branch
from
April 12, 2026 21:36
3a9e48e to
ec124ff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.0.0→^2.0.0Release Notes
paulmillr/noble-curves (@noble/curves)
v2.2.0Compare Source
ed25519: make zip215 verification logic match spec more strictly (spec vectors were not enough)Uint8Array, while TS 5.9+ made it genericUint8Array<ArrayBuffer>TS2345(We're skipping v2.1, to align with other noble packages)
Full Changelog: paulmillr/noble-curves@2.0.1...2.2.0
v2.0.1Compare Source
/ed25519, switch to/ed25519.jsnow. See 2.0.0 for more details.ed25519: export map_to_curve_elligator2_curve25519 #211rootsOfUnityNew Contributors
GitHub Immutable Releases
This GH release does not include standalone noble-curves.js: use 2.0.0 for now, until we upgrade to newly added Immutable Releases
Full Changelog: paulmillr/noble-curves@2.0.0...2.0.1
v2.0.0Compare Source
High-level
v2 massively simplifies internals, improves security, reduces bundle size and lays path for the future. To simplify upgrading, upgrade first to curves 1.9.x. It would show deprecations in vscode-like text editor.
.jsextension must be used for all modules@noble/curves/ed25519@noble/curves/ed25519.jsNew features
decaf44isValidSecretKey,isValidPublicKeyChanges
Point.fromHexnow expects string-only hex inputs, usePoint.fromBytesfor Uint8ArraymessageHash, the methods now expect unhashed message.
To bring back old behavior, use option
{prehash: false}This change doesn't affect secp256k1, which has been using lowS since beginning.
If you tested against specific sign / verify vectors, upgrading to v2 would fail, unless old behavior is brought back.
To bring back old behavior, use option
{lowS: false}{format: 'der'}.This reduces malleability
signature.toBytes()bls.longSignatures (G1 pubkeys, G2 sigs) and bls.shortSignatures (G1 sigs, G2 pubkeys).
{message: ..., publicKey: ...}[]weierstrass() + ecdsa()/edwards() + eddsa()pippengerRenamings
p256,p384,p521modules have been moved intonistjubjubmodule has been moved intomiscabstract/curve.jssubmodulePoint.BASE.multiply()andPoint.Fn.fromBytes(secretKey)decaf44.Point*curve*_hasher.Example:
secp256k1.hashToCurve=>secp256k1_hasher.hashToCurve()Removed features
curve parameters
pasta,bn254_weierstrass(NOT pairing-based bn254) curvesFull Changelog: paulmillr/noble-curves@1.9.6...2.0.0
v1.9.7Compare Source
toMontgomeryPriv=>toMontgomerySecretFull Changelog: paulmillr/noble-curves@1.9.6...1.9.7
v1.9.6Compare Source
weierstrass()method (still lazy, waits for first call)towerfrom v2decaf44Full Changelog: paulmillr/noble-curves@1.9.5...1.9.6
v1.9.5Compare Source
Full Changelog: paulmillr/noble-curves@1.9.4...1.9.5
v1.9.4Compare Source
Full Changelog: paulmillr/noble-curves@1.9.3...1.9.4
v1.9.3Compare Source
The release contains bugfixes and a few improvements which pave the way for upcoming v2.0.
There are lots of renamings and API adjustments; but all old code would work as-is. The code would visually flagged as "deprecated" (using jsdoc flag) in typescript-supported code environments, which makes it easy to upgrade to new versions.
*privateKeyto*secretKeyeverywhere for consistency with post-quantum and non-noble librarieskeygenmethod to curves which creates both secret and public keyssecp256k1_hasherSensitive code changes
Full Changelog: paulmillr/noble-curves@1.9.2...1.9.3
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.