Skip to content

Fix browser X25519.newKeyPair()#221

Open
a-morand-tecost wants to merge 2 commits intodint-dev:masterfrom
a-morand-tecost:master
Open

Fix browser X25519.newKeyPair()#221
a-morand-tecost wants to merge 2 commits intodint-dev:masterfrom
a-morand-tecost:master

Conversation

@a-morand-tecost
Copy link

@a-morand-tecost a-morand-tecost commented Feb 2, 2026

  1. browser X25519.newKeyPair() now properly declare generated key as x25519 instead of ed25519 previously.
  2. browser X25519.newKeyPair() now returns a properly clamped private key.

Resolves: #220

By calling the X25519.newKeyPairFromSeed(seed) method with the generated private key instead of returning it directly.
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.

Missing clamping when generating x25519 KeyPair on web platform

1 participant