Software Engineering Glossary

Harvest Now, Decrypt Later

Also known as: HNDL Store now, decrypt later Retrospective decryption

Harvest now, decrypt later is an attack that records encrypted traffic today and decrypts it once the key agreement can be broken. The usual future break is a quantum computer running Shor’s algorithm against RSA or elliptic curve Diffie-Hellman. Forward secrecy does not stop it, because the attacker stored the ephemeral handshake, not only a long term server key. Data with a long secrecy lifetime is already exposed if that lifetime outlasts the migration.

Key Takeaways

  • The attacker does not need to break anything on the day of the recording. Disk is enough.
  • Ephemeral Diffie-Hellman stops a stolen certificate key from opening old sessions. It does not stop someone who kept the key exchange itself.
  • Signatures checked at login are a different problem. A signature burned into firmware for a decade is closer to this threat, because the verifier may still trust the old algorithm later.
  • The planning rule is Mosca’s inequality: years the data must stay secret, plus years to migrate, compared with years until a relevant quantum computer.

How It Works

  1. A passive observer copies the handshake and the ciphertext from a link they can see.
  2. The classical public key exchange stays in the capture: elliptic curve shares, or an older RSA key transport blob.
  3. When a cryptographically relevant quantum computer exists, Shor’s algorithm recovers the shared secret from that exchange.
  4. The session key falls out of the TLS key schedule, and the stored application data decrypts.

Where It Is Used

  • NIST cites this threat as the reason key establishment for long lived data cannot wait for a quantum computer to be announced.
  • Signal and iMessage shipped hybrid key agreement early because chat archives are worth storing.
  • A CDN can protect the browser hop while the origin hop is still classical. The recording follows the weaker hop.

Related glossary terms