qsafe.sh
Scan
Theme

Learn

Harvest now, decrypt later: why post-quantum can't wait

· 4 min read

Encrypted traffic recorded today can be decrypted after Q-Day. How the attack works, what's at risk, and what stops it.

"Harvest now, decrypt later" is the reason post-quantum migration can't wait for quantum computers to exist. An attacker records encrypted traffic today, stores it, and decrypts it years later once a large enough quantum computer is available.

How the attack works

  1. Record. The attacker captures the full TLS connection: the handshake and the encrypted data after it. Storage is cheap, so this can be done in bulk.
  2. Wait. The recording is useless today. The attacker keeps it.
  3. Break the key exchange. On Q-Day, a quantum computer runs Shor's algorithm against the recorded X25519 or ECDH key exchange and recovers the session key.
  4. Read everything. With the session key, every byte of that connection decrypts: pages, form posts, cookies, API payloads.

Forward secrecy doesn't help here. It protects past sessions if a server's long-term key leaks later, but each session's own ephemeral key exchange is exactly what a quantum computer breaks.

Who would do this?

Recording traffic at scale and storing it for years takes resources, so the realistic threat is well-funded attackers such as intelligence agencies. Government security agencies, including the US NSA and the UK's NCSC, name this as a main reason to migrate early.

What's at risk

Anything that still needs to be secret when Q-Day comes:

Short-lived data, like a one-time code that expires in a minute, matters much less. The question to ask is: how many years must this data stay secret?

Are you already late?

Michele Mosca's rule of thumb: if the years your data must stay secret plus the years your migration takes add up to more than the years until Q-Day, you're already exposed. Try your own numbers on the Q-Day clock.

What stops it

A post-quantum key exchange. If the connection is set up with a hybrid like X25519MLKEM768, a recorded session stays protected even after Q-Day, because the attacker would also have to break ML-KEM. Browsers already offer it. Your server has to accept it.

Certificates are a different story. Forging a certificate signature needs a quantum computer at the timeof the attack, so it can't be done retroactively to recorded traffic. That's why key exchange comes first.

Esc