ARCHITECTURE // AI INFRASTRUCTURE ECONOMICS

Forward secrecy

The property that each session uses a temporary key that is thrown away, so a later break or theft of the long-term key has nothing to open. It keeps old recordings sealed after a key breaks.

Forward secrecy is the property that each session uses a temporary key that is thrown away when the session ends, so a later break of the long-term key has nothing to open. It is also called perfect forward secrecy. It matters because it decides whether a broken or stolen key exposes only what comes next or the whole recorded past. With it, an attacker who learns a server's RSA key afterwards can impersonate the server from then on and still cannot read old traffic.

The mechanism is an ephemeral key exchange. Client and server each create a fresh key pair for one session, derive a shared secret from the two, and delete the private halves. The long-term key in the certificate only signs the exchange. The older alternative, RSA key exchange in TLS 1.2, has the client encrypt the session secret to the server's long-term RSA key, so that one key opens every recorded session. TLS 1.3 removed that mode. RFC 10015, published in July 2026, goes further: in TLS 1.2 clients must not offer RSA key exchange cipher suites and servers must not select them.

Check instead of assuming, because old configurations linger. On 29 November 2026 I measured 72 well-known services, and 32 still completed a TLS 1.2 handshake with RSA key exchange when a client offered nothing else. Turn those cipher suites off and prefer TLS 1.3. Then look for the same pattern outside TLS: email encrypted to an RSA key and backups whose data key was wrapped with RSA have no forward secrecy at all. Forward secrecy does not help if the key exchange algorithm itself is broken, which is why it is paired with hybrid key exchange.

Frequently asked questions

What is forward secrecy?

Forward secrecy is the property that each session uses a temporary key that is discarded, so learning the server's long-term key afterwards opens nothing. A later break or theft of that key lets an attacker impersonate the server from then on, but traffic recorded earlier stays sealed.

Does forward secrecy protect traffic that was recorded in the past?

Yes, against a later break of the long-term key. With forward secrecy each session uses a temporary key that is discarded, so learning the server's RSA key afterwards opens nothing. It does not help if the key exchange algorithm itself is broken, which is why hybrid key exchange matters.

Which connections have no forward secrecy?

TLS 1.2 sessions negotiated with RSA key exchange, email encrypted to a recipient's RSA key with S/MIME or OpenPGP, and backups or files whose data key was wrapped with a long-lived public key. In each case one long-term key opens everything recorded under it. TLS 1.3 removed RSA key exchange entirely.

Source analyses

READ THE FULL ARGUMENT
What breaks if RSA falls, and what keeps working (guide to post-AI cryptography)
READ THE FULL ARGUMENT
RSA exposure survey: 72 services and 56 login providers, measured on 29 November 2026

References

Related terms

GLOSSARY
Static RSA key exchange
GLOSSARY
Harvest now, decrypt later
GLOSSARY
Hybrid key exchange
Michał Piszczek
Michał Piszczek
CEO / CTO / FOUNDER

Term defined and maintained by Michał Piszczek - CTO of Archdesk, author of the Joule Wars and Proof-Adjusted Autonomy frameworks. Quote freely with attribution to piszczek.pl/glossary (CC BY 4.0).