CipherChecker / Learn / Is ECDSA quantum-safe?

Is ECDSA quantum-safe?

No — quantum-vulnerable
The short answer

ECDSA's security comes from the elliptic-curve discrete logarithm problem, which Shor's algorithm solves efficiently — recovering the private signing key. Migrate to ML-DSA (FIPS 204), or SLH-DSA (FIPS 205) for a conservative hash-based option.

Why ECDSA breaks

Elliptic-curve cryptography replaced the "factoring" hard problem with the elliptic-curve discrete logarithm problem (ECDLP). It's more efficient than RSA for the same classical security — which is why it's everywhere. But ECDLP is exactly the kind of problem Shor's algorithm dismantles. A quantum attacker recovers the signing key from the public key, and can then forge signatures at will.

Curve choice doesn't save you: P-256, secp256k1, P-384 — all rely on ECDLP, all fall to Shor. A larger curve raises the classical bar and does nothing against quantum.

Why this one is everywhere

ECDSA is the signature primitive behind:

What about Ed25519?

Same story. Ed25519 (EdDSA) is also built on an elliptic-curve discrete-log problem, so it is also quantum-vulnerable despite its modern reputation. "Newer curve" is not "post-quantum." See Is X25519 quantum-safe? for the key-exchange cousin.

What to migrate to

Signatures don't carry harvest-now-decrypt-later risk (forgery needs a working quantum computer), so they trail key exchange in priority — but move firmware, CA, and code-signing keys early, since they must outlive the threat.

Find ECDSA / Ed25519 usage in a repo, with the exact lines.

Scan a repo →