Skip to content

Shortened EdDSA Ed25519 signatures handled wrongly #4554

@npaun

Description

@npaun

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions