What breaks when a primitive fails
Select a primitive family to see what an attacker can do if it breaks, what stays unaffected, and which change mitigates it.
Recorded sessions are decrypted offline
An attacker with saved packet captures (.pcap) recovers the ephemeral private key from the recorded handshake, derives the session key, and decrypts the archived payload offline.
Traffic capture
During a classical X25519 TLS 1.3 or SSH handshake, ephemeral public keys g^a and g^b cross the wire in plaintext before encrypting the session with AES-256.
Key recovery
The adversary computes the private scalar a from the archived plaintext g^a, reconstructs the shared secret g^(ab), and derives the exact AES-256 session key offline.
Exposed data
Decrypting old SSH and HTTPS sessions exposes every unrotated credential sent inside them: production DB passwords, .env files, API keys, and customer PII.
Mitigation: hybrid key exchange
TLS 1.3 derives the session key from HKDF(SharedSecret_X25519 || SharedSecret_MLKEM768). Even if X25519 is completely broken later, the attacker cannot recover the ML-KEM-768 secret from the recorded ciphertext.
Action
Enable X25519MLKEM768 on all ingress/origin TLS and mlkem768x25519-sha256 on OpenSSH, then rotate any long-lived secrets that previously traversed classical channels.
Private signing keys are derived from public keys
A signature break does not decrypt recorded traffic that used post-quantum key exchange. It lets an attacker compute a private signing key from a published public key and forge signatures on live requests.
JWT forgery from JWKS
The attacker downloads your public key from /.well-known/jwks.json, computes the private key offline, and mints valid RS256/ES256 admin session tokens directly against your API.
Signed update forgery
The attacker extracts the hardcoded Ed25519 public key from your desktop/CLI binary, derives the private signing key, and signs a malicious update manifest served via DNS/CDN hijack.
Live TLS / SSH interception
The attacker derives your TLS leaf certificate's private key from the public certificate and actively intercepts live connections to impersonate your origin server.
Recorded PQ-TLS traffic stays encrypted
Even if an attacker recovers your classical ECDSA certificate private key tomorrow, they still cannot decrypt yesterday's recorded X25519MLKEM768 TLS session—the certificate key only signed the transcript; it never encrypted the traffic.
Action
Switch internal JWTs from RS256/ES256 to 256-bit HS256 HMAC (no public key exists to invert) and add dual Ed25519 + ML-DSA-65 signatures to software updaters.
One static private key decrypts every wrapped key
Encrypting symmetric keys directly under a long-lived RSA-2048 public key (legacy TLS 1.2 TLS_RSA_* cipher suites or client-side RSA-OAEP database field wrapping) collapses all historical sessions and stored ciphertexts the moment that single RSA public key is inverted.
Legacy TLS 1.2 RSA Suites
Each session encrypts its pre-master secret under the server's static RSA key. Recovering that key decrypts every recorded session.
Client-Side RSA-OAEP Wrapping
Database rows storing AES-256 Data Encryption Keys wrapped under a public RSA key can be decrypted offline from any leaked backup.
Symmetric KMS & TLS 1.3
Disable all non-ECDHE TLS 1.2 suites and wrap Data Encryption Keys using symmetric AES-256-GCM inside AWS/GCP KMS or hybrid ML-KEM-768.
256-bit symmetric ciphers and hashes remain intact
Shor's algorithm and lattice/number-theory attacks rely on hidden periodic group structure. Symmetric ciphers (AES-256-GCM) and cryptographic hashes (SHA-256, HMAC-SHA256) have no algebraic group structure to invert.
2^256 → 2^128 Serial Steps
Unstructured quantum search achieves at most a quadratic speedup and requires 2^128 strictly sequential quantum evaluations—physically infeasible on any timescale.
SHA-256 and HMAC
Quantum collision search is bottlenecked by massive quantum memory (QRAM) and serial depth. NIST confirms SHA-256 and 256-bit HMAC need no post-quantum replacement.
No storage re-encryption needed
AES-256 databases, S3 buckets, and disk volumes do not need re-encryption. Focus migration work on asymmetric key exchange and signatures.