protocol · https://datatracker.ietf.org/wg/ipsecme/about/

Is IPsec / IKEv2 post-quantum?

Only if enabled

Confidentiality Opt-in

Authentication Opt-in

Community-maintained. Last verified 2026-12-04. Edit this entryReport a problem

IKEv2 sets up the keys for IPsec VPNs. It can add an ML-KEM key exchange next to the classical one, or mix in a pre-shared post-quantum key. Post-quantum authentication with ML-DSA or SLH-DSA is approved and waiting for publication as an RFC. Both peers must configure these options. The base protocol uses only classical public-key algorithms.

IKEv2 key exchange and authentication

Confidentiality Opt-in

Algorithms
ml-kem-512, ml-kem-768, ml-kem-1024
Standards
RFC 9370, draft-ietf-ipsecme-ikev2-mlkem, RFC 8784, RFC 9867
On by default
No, needs configuration
Conditions
Only when both peers offer ML-KEM, or both configure the same post-quantum pre-shared key.

The ML-KEM specification for IKEv2 is approved and waiting for publication as an RFC. It uses ML-KEM mainly as a second key exchange after the classical one. ML-KEM-768 and ML-KEM-1024 keys can be too large for the first IKEv2 message over UDP.

If a peer still accepts proposals without ML-KEM, an attacker with a quantum computer can force a classical key exchange. Require ML-KEM where both sides support it.

A post-quantum pre-shared key (RFC 8784) protects the IPsec traffic, but not the first IKE session. RFC 9867 mixes the key in earlier and protects that session too.

Sources: RFC 9370: Multiple Key Exchanges in the Internet Key Exchange Protocol Version 2 (IKEv2) · draft-ietf-ipsecme-ikev2-mlkem: Post-quantum Key Exchange with ML-KEM in IKEv2 · IANA: Transform Type 4, Key Exchange Method Transform IDs · RFC 8784: Mixing Preshared Keys in IKEv2 for Post-quantum Security · RFC 9867: Mixing Preshared Keys in the IKE_INTERMEDIATE and CREATE_CHILD_SA Exchanges of IKEv2

Authentication Opt-in

Algorithms
ML-DSA-44, ML-DSA-65, ML-DSA-87
Standards
draft-ietf-ipsecme-ikev2-pqc-auth, RFC 7427
On by default
No, needs configuration
Conditions
Only with an ML-DSA or SLH-DSA certificate and a peer that accepts it.

The specification is approved and waiting for publication as an RFC. It also covers SLH-DSA. Peers must support IKEv2 message fragmentation.

If a peer still accepts classical signatures, an attacker with a quantum computer can force their use. Require post-quantum signatures and turn off the fallback.

RFC 8784 also allows authentication with only a post-quantum pre-shared key. Give each pair of peers its own key: with a shared group key, any member can pose as any other.

Sources: draft-ietf-ipsecme-ikev2-pqc-auth: Signature Authentication in IKEv2 using PQC · RFC 7427: Signature Authentication in IKEv2 · RFC 8784, section 5.2.3: PPK-Only Authentication

Machine-readable: /api/ikev2.json