Skip to content

chore(deps): update dependency @noble/curves to ^1.9.7#188

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/noble-curves-1.x
Open

chore(deps): update dependency @noble/curves to ^1.9.7#188
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/noble-curves-1.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 26, 2025

This PR contains the following updates:

Package Change Age Confidence
@noble/curves (source) ^1.3.0^1.9.7 age confidence

Release Notes

paulmillr/noble-curves (@​noble/curves)

v1.9.7

Compare Source

  • edwards: rename newly introduced / experimental toMontgomeryPriv => toMontgomerySecret
  • weierstrass: Add back SignatureConstructor
  • More deprecations and preparations for v2

Full Changelog: paulmillr/noble-curves@1.9.6...1.9.7

v1.9.6

Compare Source

  • edwards: expose nBitLength, nByteLength
  • Experimental CurveLengths interface: rename secret, public to secretKey, publicKey
  • Point precomputes: initialize calculation earlier, within weierstrass() method (still lazy, waits for first call)
  • bls: new internal tower from v2
  • ed448: Ensure there are two different Fn fields with different BITS length for ed448 / decaf44

Full Changelog: paulmillr/noble-curves@1.9.5...1.9.6

v1.9.5

Compare Source

  • Fix rollup warnings from gh-205
  • add back aliases for secp256r1 / secp384r1 / secp521r1 from gh-203
  • bring back CURVE.nByteLength from gh-202
  • More preparations and deprecations for future v2 release

Full Changelog: paulmillr/noble-curves@1.9.4...1.9.5

v1.9.4

Compare Source

  • Fix gh-201: invalid renaming of ProjConstructor
  • Add more deprecations for the upcoming v2

Full Changelog: paulmillr/noble-curves@1.9.3...1.9.4

v1.9.3

Compare 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.

  • Rename *privateKey to *secretKey everywhere for consistency with post-quantum and non-noble libraries
  • Add keygen method to curves which creates both secret and public keys
  • weierstrass: make endomorphism generic and work for all Koblitz curves
  • weierstrass: add fromBytes and toBytes to Signature, deprecate fromDER, fromCompact, toDERRawBytes, toCompactRawBytes
  • edwards: move edwardsToMontgomery into utils.toMontgomery
  • decaf, ristretto: new interface which makes it more similar to other Points
  • ed448: add ED448_TORSION_GROUP
  • curve: add curve.info interface to all curves for better interop.
  • curve: change public wNAF API
  • modular: add sqrt9mod16
  • hash-to-curve: move all hashers into _hasher props. E.g. secp256k1_hasher
  • test: Add ACVP test vectors

Sensitive code changes

  • wNAF: mostly renamings
  • Field bound validation: for scalars (Fn) and curve fields (Fp)

Full Changelog: paulmillr/noble-curves@1.9.2...1.9.3

v1.9.2

Compare Source

The release contains bugfixes and a few improvements which pave the way for upcoming v2.0.

  • edwards, weierstrass: big refactor, implement much simpler ECDSA / EdDSA API. #​192
    • Old code is still working until v2
    • New API is experimental until next patch release
    • toRawBytes => toBytes
    • ExtendedPoint, ProjectivePoint => Point
    • Point now has Fp and Fn static properties which are its fields
  • weierstrass: add support for ECDSA with cofactor>1 curves
  • weierstrass: add support for points having x:0
  • bls: big refactor, improve types, add new bls.longSignatures and bls.shortSignatures APIs
    • Old code is still working until v2
    • New API is experimental until next patch release
  • utils: reuse noble-hashes utils
  • Use randomBytes and hmac from noble-hashes by default

Sensitive code changes

  • edwards, weierstrass: refactor logic for range checks
  • weierstrass: improve sign() logic for k generation
  • weierstrass: harden multiplyUnsafe, stop using multiplyAndAddUnsafe

New contributors

Full Changelog: paulmillr/noble-curves@1.9.1...1.9.2

v1.9.1

Compare Source

  • abstract/fft - new experimental implementation of FFT (Fast Fourier Transform) / NTT
  • abstract/edwards: verify curve parameters (equation) on initialization
  • abstract/weierstrass: verify curve parameters (discriminant) on initialization
  • abstract/weierstrass: improve getSharedSecret arg validation for rare curves
  • abstract/weierstrass: fix invalid sig recovery decoding length for rare curves
  • abstract/modular: improve sqrt calculation
  • x25519, x448: accept more valid inputs for priv / pub keys
  • secp256k1: improve tree-shaking

Full Changelog: paulmillr/noble-curves@1.9.0...1.9.1

v1.9.0

Compare Source

The release contains bugfixes and a few improvements which pave the way for upcoming v2.0.

  • Modules are now available with .js extension
    • Old: @noble/curves/ed25519
    • New: @noble/curves/ed25519.js
    • Old path is still available
    • This simplifies working in browsers natively without transpilers
  • poseidon: add support for sponge, grain LFSR
  • p256, p384, p521: merge into new "nist" module
  • weierstrass: prohibit y=0 when initializing
  • hash-to-curve: use inv0 everywhere to ensure ZERO elements are returned in exceptional cases
  • modular: improve sqrt logic (tonelliShanks, legendre)
  • modular: fix FpInvertBatch creating arrays with holes instead of arrays with undefined
  • pasta: deprecate curves
  • update noble-hashes to 1.8.0

Full Changelog: paulmillr/noble-curves@1.8.2...1.9.0

v1.8.2

Compare Source

  • Important: this release adjusts wNAF scalar multiplication logic
    • The adjustment is small (deduplication), but wNAF is sensitive code handling private keys
    • Verify the change yourself #​184
  • edwards: (ed25519, ed448) always use complete formula in add()
  • edwards: (ed25519, ed448) ban points with z=0 (zero points have z=1)
  • ed25519: use slower, but more precise CURVE.a definition
  • weierstrass: freeze Signature on creation
  • weierstrass: Fix curve in Palemoon browser #​176
  • hash-to-curve: throw better error for 0 in mapToCurve
  • tower: fix wrong Fp12 fields type
  • misc: new module. Contains jubjub and babyjubjub.
  • utils: use built-in Uint8Array toHex / fromHex when available. Gives 13x speed-up on 256b arrays, 20x speed-up on 32kb arrays

Other changes

  • Update noble-hashes to 1.7.2
  • Reduce standalone file build size by 0.5kb
  • Standalone build files are now attested in CI. Check out README for verification guide
  • Typescript source can now be used without compilation in node.js v24, due to erasableSyntaxOnly

New Contributors

Acknowledgments

Thanks to @​ChALkeR for spotting edwards bug.

Full Changelog: paulmillr/noble-curves@1.8.1...1.8.2

v1.8.1

Compare Source

  • Use typescript verbatimModuleSyntax to support future node.js type stripping
  • Update noble-hashes to 1.7.1
  • Improve docs

Full Changelog: paulmillr/noble-curves@1.8.0...1.8.1

v1.8.0

Compare Source

  • The package is now available on JSR.
  • Use isolatedDeclarations typescript option, which massively simplifies documentation auto-gen, and more
    • Check out JSR page for one example
  • Add tons of comments everywhere to improve autocompletion, LLM code gen, and basic code understanding.
  • modular: fix isLE logic bug, reverse mapHashToField
  • Upgrade hashes to v1.7.0

Full Changelog: paulmillr/noble-curves@1.7.0...1.8.0

v1.7.0

Compare Source

  • curve: add wnafCachedUnsafe() and precomputeMSMUnsafe().
    • new methods speed-up MSM for cases when inputs are public
    • edwards, weierstrass: switch multiplyUnsafe to new wnaf methods
  • modular: crash on non-prime P in sqrt instead of looping
    • do not precompute sqrtP on initializaton, delay until first call
  • weierstrass: add support for strict format option in verify, choose between compact and der
  • bls: Export some types to simplify building custom curves
  • utils: Improve isBytes speed
  • improve compatibility with parsers and minifiers
  • Upgrade hashes to v1.6.0

New Contributors

Full Changelog: paulmillr/noble-curves@1.6.0...1.7.0

v1.6.0

Compare Source

What's Changed

  • weierstrass, edwards: add multi-scalar-multiplication using Pippenger algorithm
  • DER encoding: improve edge cases. Fixes p521 signatures
  • hash-to-curve: add more type checks
  • Export abstract/tower for pairing-friendly curves
  • Add support for node.js v14
  • Upgrade hashes to v1.5.0

Full Changelog: paulmillr/noble-curves@1.5.0...1.6.0

v1.5.0

Compare Source

  • Implement bn254 (aka alt_bn128) pairings, compatible with EVM and ZEC
    • Point serialization is not implemented (but can be added in user-space), because there is no standard way of doing it. Check out README
  • Refactor range checks for private keys and signatures, simplify them
  • Add memoization for toAffine and assertValidity, to speed-up BLS
  • Make all points immutable and frozen to improve security

Full Changelog: paulmillr/noble-curves@1.4.2...1.5.0

v1.4.2

Compare Source

  • Typescript build: revert target from ES2022 to ES2020 due to compat issues

Full Changelog: paulmillr/noble-curves@1.4.1...1.4.2

v1.4.1

Compare Source

  • bls12-381: Add mapToCurve; fix typescript types
  • ed25519, utils: Improve tree-shaking
  • Typescript build: emit separate type declarations for ESM, to improve compatibility
  • Typescript build: change target from ES2020 to ES2022

New Contributors

Full Changelog: paulmillr/noble-curves@1.4.0...1.4.1

v1.4.0

Compare Source

  • Fix verification of BLS short signatures when using hex
  • Fix types in hash-to-field and weierstrass Entropy
  • Update noble-hashes to v1.4, adding support for Big-Endian platforms
  • Small utilities refactor to reduce code duplication
  • tsconfig improvements

New Contributors

Full Changelog: paulmillr/noble-curves@1.3.0...1.4.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/noble-curves-1.x branch from 7d99fc9 to 66c7e7c Compare July 30, 2025 11:19
@renovate renovate bot changed the title Update dependency @noble/curves to ^1.9.4 Update dependency @noble/curves to ^1.9.6 Jul 30, 2025
@renovate renovate bot force-pushed the renovate/noble-curves-1.x branch from 66c7e7c to 1f86f3d Compare August 15, 2025 16:22
@renovate renovate bot changed the title Update dependency @noble/curves to ^1.9.6 Update dependency @noble/curves to ^1.9.7 Aug 15, 2025
@renovate renovate bot changed the title Update dependency @noble/curves to ^1.9.7 chore(deps): update dependency @noble/curves to ^1.9.7 Dec 8, 2025
@renovate renovate bot force-pushed the renovate/noble-curves-1.x branch from 1f86f3d to 83de2c6 Compare December 31, 2025 14:48
@renovate renovate bot force-pushed the renovate/noble-curves-1.x branch from 83de2c6 to caec4ef Compare January 19, 2026 15:49
@renovate renovate bot force-pushed the renovate/noble-curves-1.x branch from caec4ef to 34b645d Compare February 2, 2026 17:54
@renovate renovate bot force-pushed the renovate/noble-curves-1.x branch from 34b645d to c84f6f9 Compare February 12, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants