forward secrecy
A property of key exchange where a stolen long-term private key cannot decrypt past recorded sessions, because each session used temporary keys.
In more detail
TLS 1.3 guarantees it for every connection. It works by agreeing a fresh key for each session with an ephemeral key exchange and discarding it afterwards.
Examples
TLS 1.3 dropped RSA key transport entirelyFresh ephemeral keys per session give forward secrecyRelated terms
- ephemeral key — A key that is generated for a single session or exchange and then thrown away, rather than kept and reused.
- key transport — Establishing a shared key by having one party create it and send it to the other encrypted, instead of both parties computing it together.
- TLS handshake — The opening exchange of a TLS connection, in which client and server agree on settings, check certificates and create shared keys.
- harvest now, decrypt later — An attack strategy where an adversary records encrypted traffic today and stores it, planning to decrypt it once a large quantum computer exists.
- TLS 1.3 — The current version of TLS, published in 2018, which is faster to connect and removes old, weak algorithms.
- TLS — The encryption that protects data travelling over a network, the S in HTTPS.
Taught in
- Asymmetric Cryptography: RSA, ECC & Diffie-Hellman — Cybersecurity Fundamentals, GRC & Cryptography
- TLS & HTTPS Encryption: Certificates & SNI Contexts — Node.js Internals & Backend Services