Skip to content

Commit

Permalink
The Ed25519 polyfill now accepts the full range of algorithm identifi…
Browse files Browse the repository at this point in the history
…ers for the `Ed25519` curve (#59)

#### Problem

The string `Ed25519` is not the only valid algorithm identifier for the Edwards curve. We need to support all of the other forms it could take.

#### Summary of Changes

Support both the string and the object form of the Ed25519 algorithm identifier, case insensitive.
  • Loading branch information
steveluscher authored Jan 14, 2025
1 parent e68945b commit 710e571
Show file tree
Hide file tree
Showing 3 changed files with 254 additions and 165 deletions.
5 changes: 5 additions & 0 deletions .changeset/ninety-islands-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@solana/webcrypto-ed25519-polyfill': patch
---

Fixed a bug where specifying `Ed25519` in a different case, or as an object `{ name: 'Ed25519' }` would cause key operations to be delegated to the underlying runtime instead of the polyfill
Loading

0 comments on commit 710e571

Please sign in to comment.