Skip to content

chore(deps): bump @noble/ed25519 from 1.7.1 to 2.1.0#7

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/noble/ed25519-2.1.0
Open

chore(deps): bump @noble/ed25519 from 1.7.1 to 2.1.0#7
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/noble/ed25519-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 29, 2024

Copy link
Copy Markdown

Bumps @noble/ed25519 from 1.7.1 to 2.1.0.

Release notes

Sourced from @​noble/ed25519's releases.

2.1.0

This release comes one year after v2.0.0, following rare update schedule for easy auditability.

  • verify: accept { zip215: false } option that forces FIPS verification behavior
  • verify: throw less direct errors, return false instead
  • Point.fromHex: accept second optional argument zip215: boolean
  • Point#toAffine: convert ZERO points properly
  • au8: improve Uint8Array check to work in extension context
  • signAsync: Prohibit passing objects, which were incorrectly mangled to Uint8Array
    • This could have produced incorrect signatures for object-based messages

New Contributors

Full Changelog: paulmillr/noble-ed25519@2.0.0...2.1.0

2.0.0

v2 features improved security and smaller attack surface. The goal of v2 is to provide minimum possible JS library which is safe and fast.

That means the library was reduced 4x, to just over 300 lines. Library size is now less than 4KB. In order to achieve the goal, some features were moved to noble-curves, which is even safer and faster drop-in replacement library with same API. Switch to curves if you intend to keep using these features:

  • x25519 / curve25519 / getSharedSecret
  • ristretto255 / RistrettoPoint
  • Using utils.precompute() for non-base point
  • Support for environments which don't support bigint literals
  • Common.js support
  • Support for node.js 18 and older without shim

Other changes for upgrading from @​noble/ed25519 1.7 to 2.0:

  • Methods are now sync by default; use getPublicKeyAsync, signAsync, verifyAsync for async versions
  • bigint is no longer allowed in getPublicKey, sign, verify. Reason: ed25519 is LE, can lead to bugs
  • Point (2d xy) has been changed to ExtendedPoint (xyzt)
  • Signature was removed: just use raw bytes or hex now
  • utils were split into utils (same api as in noble-curves) and etc (sha512Sync and others)

Pull request: paulmillr/noble-ed25519#76

Full Changelog: paulmillr/noble-ed25519@1.7.3...2.0.0

1.7.3

Don't use bigint literals for bad engines

... (truncated)

Commits
  • 90058fe Release 2.1.0.
  • e8a97f8 Add upload-release ci workflow
  • dd26362 Add webcrypto polyfill test
  • ff669ff Add basic tests from noble-curves
  • 955cc5d update minified builder deps
  • e2c6345 Update build steps to use jsbt
  • 11dae06 au8: improve Uint8Array check to work in extension context
  • d40557a readme: add new noble library
  • 70deecf readme
  • 0bbce04 Merge pull request #99 from LeJamon/main
  • 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)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 29, 2024
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/noble/ed25519-2.1.0 branch 4 times, most recently from ba06873 to 5e1a891 Compare October 4, 2024 07:32
Bumps [@noble/ed25519](https://github.com/paulmillr/noble-ed25519) from 1.7.1 to 2.1.0.
- [Release notes](https://github.com/paulmillr/noble-ed25519/releases)
- [Commits](paulmillr/noble-ed25519@1.7.1...2.1.0)

---
updated-dependencies:
- dependency-name: "@noble/ed25519"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/noble/ed25519-2.1.0 branch from 5e1a891 to f976422 Compare October 4, 2024 16:49
@vercel

vercel Bot commented Oct 4, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
solana-dapp-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 4:51pm

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