Skip to content
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

fix(deps): update dependency @noble/ed25519 to v2 #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 28, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@noble/ed25519 (source) ^1.7.1 -> ^2.0.0 age adoption passing confidence
@noble/ed25519 (source) 1.7.3 -> 2.1.0 age adoption passing confidence

Release Notes

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

v2.1.0

Compare Source

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

v2.0.0

Compare Source

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: https://github.com/paulmillr/noble-ed25519/pull/76

Full Changelog: paulmillr/noble-ed25519@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.

@renovate renovate bot force-pushed the renovate/noble-ed25519-2.x branch from f949674 to fcaaff7 Compare March 30, 2023 19:14
@renovate renovate bot force-pushed the renovate/noble-ed25519-2.x branch from fcaaff7 to 87d9cea Compare April 18, 2023 16:38
@renovate renovate bot force-pushed the renovate/noble-ed25519-2.x branch from 87d9cea to 00468aa Compare April 27, 2023 14:51
@renovate renovate bot force-pushed the renovate/noble-ed25519-2.x branch from 00468aa to 1b43c72 Compare May 11, 2023 10:18
@renovate renovate bot force-pushed the renovate/noble-ed25519-2.x branch from 1b43c72 to 95c195a Compare June 30, 2023 12:45
@renovate renovate bot force-pushed the renovate/noble-ed25519-2.x branch 2 times, most recently from b8a6baf to 9c6ed1f Compare July 12, 2023 08:26
@renovate renovate bot force-pushed the renovate/noble-ed25519-2.x branch 2 times, most recently from cf66e20 to 73388df Compare July 28, 2023 15:34
@renovate renovate bot force-pushed the renovate/noble-ed25519-2.x branch 2 times, most recently from c702ff6 to 5856c06 Compare November 10, 2023 07:51
@renovate renovate bot force-pushed the renovate/noble-ed25519-2.x branch from 5856c06 to 86f7cdf Compare December 18, 2023 16:10
@renovate renovate bot force-pushed the renovate/noble-ed25519-2.x branch from 86f7cdf to e0a8ae9 Compare March 24, 2024 14:35
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