Verify evidence Search

Protocols

Perfect forward secrecy (PFS)

Also known as
  • Forward secrecy
  • VPNL-G-027
  • Protocols
  • Version 1.1
  • Updated

Definition

Perfect forward secrecy (PFS) is a property of a key-exchange protocol in which each session uses fresh, ephemeral keys, so that a later compromise of a server’s long-term private key does not allow previously recorded traffic to be decrypted.

PFS explained

Without forward secrecy, an attacker who records encrypted traffic today and later obtains the server’s private key — through a breach, a legal order or a seized machine — can decrypt everything recorded. With ephemeral Diffie–Hellman key exchange (DHE or ECDHE), session keys are derived from temporary values that are discarded after use and never transmitted, so there is nothing to recover afterwards.

All mainstream VPN protocols can provide forward secrecy when correctly configured. WireGuard performs a new ephemeral handshake every two minutes; OpenVPN uses ephemeral key exchange in its TLS control channel and renegotiates data-channel keys periodically (by default every hour); IKEv2 derives keys from an ephemeral Diffie–Hellman exchange and, for rekeyed IPsec security associations, from a configured “PFS group”. TLS 1.3 removed static RSA and static Diffie–Hellman key exchange; only its pure pre-shared-key resumption mode lacks forward secrecy.

Forward secrecy protects past sessions. It does not protect a session that is being actively intercepted with a stolen key, nor data that is logged in plaintext on the VPN server. The rekeying interval determines how much traffic a single compromised session key would expose.

How VPN Labs tests it

VPN Labs records the key-exchange method and rekeying interval for each protocol a client offers, from the applied configuration and, where the protocol allows, from handshake captures. A configuration without ephemeral key exchange is reported as a finding.

The methodology pages are the authoritative description of each procedure; this summary is for orientation.

Standards and references

  1. RFC 8446 — The Transport Layer Security (TLS) Protocol Version 1.3 (external link)rfc-editor.org
  2. RFC 7296 — Internet Key Exchange Protocol Version 2 (IKEv2) (external link)rfc-editor.org

Cite this definition

VPN Network Research Labs. (2026). Perfect forward secrecy (PFS). VPN Labs Glossary. https://vpn.com.de/glossary/perfect-forward-secrecy

Glossary v1.1 · term ID VPNL-G-027 · last updated . The definition may be quoted with attribution; report errors under the corrections policy.