fix(deps): update dependency @noble/ed25519 to v2
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @noble/ed25519 (source) | ^1.7.1 -> ^2.0.0 |
||||
| @noble/ed25519 (source) | 1.7.3 -> 2.2.3 |
Release Notes
paulmillr/noble-ed25519 (@noble/ed25519)
v2.2.3
- Revert requirement for crypto.subtle, introduced in 2.2.0. This ensures synchronous environments work correctly without it. Closes #108.
Note: JSR was published from different commit a2d9484, which failed to publish on NPM.
Full Changelog: https://github.com/paulmillr/noble-ed25519/compare/2.2.2...2.2.3
v2.2.2
- Improve documentation for public methods. This ensures efficient auto-generated docs on JSR.
Full Changelog: https://github.com/paulmillr/noble-ed25519/compare/2.2.1...2.2.2
v2.2.1
Same as 2.2.0, but now publishing to JSR without slow-types option.
Full Changelog: https://github.com/paulmillr/noble-ed25519/compare/2.2.0...2.2.1
v2.2.0
What's Changed
- Improve hex and bytes conversion
- Improve types: use
isolatedDeclarationsoption
New Contributors
- @ChALkeR made their first contribution in https://github.com/paulmillr/noble-ed25519/pull/105
Full Changelog: https://github.com/paulmillr/noble-ed25519/compare/2.1.0...2.2.0
v2.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
falseinstead - 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
- @quentinadam made their first contribution in https://github.com/paulmillr/noble-ed25519/pull/82
- @mahnunchik made their first contribution in https://github.com/paulmillr/noble-ed25519/pull/95
- @sangaman made their first contribution in https://github.com/paulmillr/noble-ed25519/pull/97
- @LeJamon made their first contribution in https://github.com/paulmillr/noble-ed25519/pull/99
Full Changelog: https://github.com/paulmillr/noble-ed25519/compare/2.0.0...2.1.0
v2.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,verifyAsyncfor async versions -
bigintis no longer allowed ingetPublicKey,sign,verify. Reason:ed25519is LE, can lead to bugs -
Point(2d xy) has been changed toExtendedPoint(xyzt) -
Signaturewas removed: just use raw bytes or hex now -
utilswere split intoutils(same api as in noble-curves) andetc(sha512Syncand others)
Pull request: https://github.com/paulmillr/noble-ed25519/pull/76
Full Changelog: https://github.com/paulmillr/noble-ed25519/compare/1.7.3...2.0.0
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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 these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.