Skip to content

crypto: reject small-order EdDSA points during verify#64026

Open
panva wants to merge 1 commit into
nodejs:mainfrom
panva:reject-small-order-points
Open

crypto: reject small-order EdDSA points during verify#64026
panva wants to merge 1 commit into
nodejs:mainfrom
panva:reject-small-order-points

Conversation

@panva

@panva panva commented Jun 20, 2026

Copy link
Copy Markdown
Member

Return false for Ed25519 and Ed448 one-shot verification when the public key or signature R component is a known low-order point. This keeps key import behavior unchanged while making WebCrypto verification match WPT expectations across OpenSSL variants.

Remove the stale WPT expected-failure entry and add focused regression coverage for both curves.

Closes: #54572

Return false for Ed25519 and Ed448 one-shot verification when the public
key or signature R component is a known low-order point. This keeps key
import behavior unchanged while making WebCrypto verification match WPT
expectations across OpenSSL variants.

Remove the stale WPT expected-failure entry and add focused regression
coverage for both curves.

Closes: nodejs#54572

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto
  • @nodejs/web-standards

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run. labels Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

subset of small-order Ed25519 vectors is failing in WPTs

2 participants