cloudflare / cloudflare/workerd

Shortened EdDSA Ed25519 signatures handled wrongly

Open
#4,554 0 comments 0 reactions 1 assignee Claimed by @jasnell View on GitHub
wpt-conformance
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

In `sign_verify/eddsa.js`, the test "shortens" a signature by slicing off its first byte. Our implementation handles this differently than specified.

What is expected:
- `subtle.importKey` should succeed
- verification should not throw error
- `subtle.verify` should return false

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.