Elliptic-curve signatures
Ed25519
Deterministic nonces remove ECDSA's worst failure mode; library API misuse remains.
Deployment assessment
Use with a migration plan
Use the exact signature variant supported by the protocol, with a migration plan.
- Intended use
- Classical digital signatures.
- Conditions
- Keep key generation and signing inside a vetted library. Context/prehash variants are not interchangeable; deterministic signing still requires safe key generation.
Guidance reviewed 19 Oct 2026. Deployment guidance and linked specification checked; this is not a new exhaustive cryptanalysis survey. How to read this assessment.
Cryptanalytic assessment
The scheme is sound. Failures have been implementation and API problems, for example libraries that accepted a separately supplied public key and could leak the private key when the wrong one was passed.
- Best known attack
- Pollard rho, about 2^126
- Quantum
- Quantum-vulnerable. A large fault-tolerant quantum computer running Shor's algorithm breaks it outright.
- Related, not interchangeable
- EdDSA (signature family); Ed448 (separate signature scheme)
Standards and construction references
Evidence for the verdict
- MilestoneEd25519 signatures publishedBernstein, Duif, Lange, Schwabe and Yang introduced Ed25519 (CHES 2011): Schnorr-style signatures on a twisted Edwards curve birationally equivalent to Curve25519, with deterministic nonces, 32-byte keys, 64-byte signatures, and constant-time implementation as a design goal.
- Implementation(not the math)Ed25519 'double public key' oracle: ~45 libraries let callers leak the private keyKostas Chalkias (MystenLabs) catalogued about 45 Ed25519 libraries whose sign() API takes the public key as a separate argument without checking it matches the private key. Since the deterministic nonce R depends only on the secret and the message, an attacker who can request signatures of the same message under two different claimed public keys gets two signatures with the same R and different challenges, and solves for the secret scalar.
Case file
Every event on file that names Ed25519.
12 case files, newest first.
2020s
- MilestoneIETF publishes Composite ML-DSA specifications for X.509 and CMS
Composite ML-DSA / ML-DSA / RSA / ECDSA / EdDSA
- MilestoneNIST finalizes its post-quantum transition plan: all listed classical public-key strengths must migrate
RSA-2048 / RSA-3072 / RSA-4096 / ECDSA / ECDH / Ed25519
- MilestoneStatus check: no known mathematical break of P-256, secp256k1 or Curve25519
P-256 / secp256k1 / Curve25519 / Ed25519 / P-384
- ImplementationLimitedlibsodium's first CVE: Ed25519 point-validation gap (CVE-2025-69277)
Ed25519 / edwards25519
- ImplementationPracticalnpm 'elliptic' library: signature malleability CVEs (2024) and private-key extraction via nonce reuse (2025)
ECDSA / EdDSA / secp256k1 / Ed25519
- MilestoneFIPS 186-5 approves EdDSA; SP 800-186 adds Edwards curves
EdDSA / Ed25519 / Ed448 / ECDSA / deterministic ECDSA
- ImplementationLimitedEd25519 'double public key' oracle: ~45 libraries let callers leak the private key
Ed25519 / EdDSA
2010s
- Side channelPracticalMinerva: ECDSA nonce bit-length leaks in smart cards and five libraries
ECDSA (P-256 and others) / EdDSA
- MilestoneTLS 1.3 (RFC 8446) makes ephemeral (EC)DH mandatory
ECDHE / X25519 / P-256 / ECDSA / Ed25519
- MilestoneNaCl codifies constant-time design: no secret branches, no secret indices
Curve25519 / Salsa20 / Poly1305 / Ed25519