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

Use @noble/curves for Node ECDSA signing #694

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

bestbeforetoday
Copy link
Member

@bestbeforetoday bestbeforetoday commented Mar 17, 2024

The @noble/hashes packages used by @noble/curves supports big-endian systems since v1.4.0. Switch from asn1.js / bn.js / elliptic to use @noble/curves, since this provides:

  • better typing
  • smaller dependency footprint
  • simpler usage for the required scenarios; and
  • appears more actively maintained

Resolves #677

The @noble/hashes packages used by @noble/curves supports big-endian systems since v1.4.0. Switch from asn1.js / bn.js / elliptic to use @noble/curves, since this provides:

- better typing
- smaller dependency footprint
- simpler usage for the required scenarios
- appears more actively maintained

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
@bestbeforetoday bestbeforetoday marked this pull request as ready for review March 17, 2024 15:43
@bestbeforetoday bestbeforetoday requested a review from a team as a code owner March 17, 2024 15:43
@bestbeforetoday bestbeforetoday enabled auto-merge (squash) March 17, 2024 15:44
@bestbeforetoday bestbeforetoday merged commit 14e5a8a into hyperledger:main Mar 18, 2024
26 checks passed
@bestbeforetoday bestbeforetoday deleted the noble-curves branch March 18, 2024 08:30
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.

Use noble-curves for Node crypto implementation (again)
2 participants