Skip to content

Bump @noble/curves from 1.4.0 to 1.9.0 #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 23, 2025

Bumps @noble/curves from 1.4.0 to 1.9.0.

Release notes

Sourced from @​noble/curves's releases.

1.9.0

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: harden FpLegendre & FpIsSquare, make it always return valid values, throw an error otherwise
  • modular: fix FpInvertBatch creating arrays with holes instead of arrays with undefined
  • modular: improve logic for tonelliShanks
  • pasta: deprecate curves
  • update noble-hashes to 1.8.0

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

1.8.2

  • 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 paulmillr/noble-curves#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

... (truncated)

Commits
  • 3174fa8 Release 1.9.0.
  • dd1545b pkg.json: add .js aliases to exports
  • b7e3791 Deprecate pasta
  • 3ce95b0 Add comment
  • 2db741d Remove unneeded comments
  • b3d84c2 weierstrass toDERHex: simplify
  • 6ae10f8 Fix FpInvertBatch creating arrays with holes. Merge with FpInvertBatch0.
  • 1ebd500 Fix FpLegendre, FpIsSquare: throw on invalid values, return integers
  • 7d240d5 Clarify comments
  • 6b07c92 Small adjustments
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔗 zboto Link

Bumps [@noble/curves](https://github.com/paulmillr/noble-curves) from 1.4.0 to 1.9.0.
- [Release notes](https://github.com/paulmillr/noble-curves/releases)
- [Commits](paulmillr/noble-curves@1.4.0...1.9.0)

---
updated-dependencies:
- dependency-name: "@noble/curves"
  dependency-version: 1.9.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 23, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github May 14, 2025

Superseded by #181.

@dependabot dependabot bot closed this May 14, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/dev/noble/curves-1.9.0 branch May 14, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants