Last reviewed 2026-12-05 · History
Summary
- IKEv2 sets up the keys for IPsec tunnels: it negotiates a key exchange method and authenticates the two peers.
- Key agreement: RFC 9370 (May 2023, Standards Track) lets peers run more than one key exchange and combine them.1 ML-KEM has method numbers 35 to 37, defined by draft-ietf-ipsecme-ikev2-mlkem-09.23
- Authentication: post-quantum signatures are an Internet-Draft, draft-ietf-ipsecme-ikev2-pqc-auth-12.4
- Pre-shared keys: RFC 8784 (June 2020, Standards Track) mixes a pre-shared key into the exchange to resist a quantum computer, without any post-quantum algorithm.5
- Downgrade prevention is also an Internet-Draft.6
Where public-key cryptography is used
Peers negotiate a Key Exchange Method (Transform Type 4, formerly the Diffie-Hellman group; RFC 9370 renamed the field and registry) and authenticate with signatures, usually X.509, or a pre-shared key.1 Common classical methods are group 14 (2048-bit MODP), 19 and 20 (P-256 and P-384) and 31 (Curve25519).2
Post-quantum options
| Method | Number | Status |
|---|---|---|
ml-kem-512 |
35 | draft-ietf-ipsecme-ikev2-mlkem-09 (2026-07-05) |
ml-kem-768 |
36 | same draft |
ml-kem-1024 |
37 | same draft |
Source:23. The draft “specifies how to use ML-KEM by itself or as an additional key exchange in IKEv2 along with a traditional key exchange”.3
- A hybrid in IKEv2 is a classical key exchange followed by one or more additional ones, using the
IKE_INTERMEDIATEexchange from RFC 9370, not one combined method as in TLS; for example group 20 withml-kem-768.1 - The draft gives a practical reason to pair them: hybrid exchanges “prevent fragmentation of key exchanges with the high security parameters of ML-KEM which may not fit in common network packet payload sizes”.3
- Pre-shared keys: RFC 8784 describes “an extension of IKEv2 to allow it to be resistant to a quantum computer by using preshared keys”; it adds a symmetric secret and does not appear as an algorithm in a negotiation.5
- Peer authentication: draft-ietf-ipsecme-ikev2-pqc-auth-12 specifies “a generic mechanism for integrating post-quantum cryptographic (PQC) digital signature algorithms into the IKEv2 protocol”, covering ML-DSA and SLH-DSA; the datatracker shows it in the RFC Editor queue (as of 2026-12-05).4
Downgrade and enforcement
- A peer enforces its choice through the proposals it sends and accepts; a responder that accepts both a classical-only and a hybrid proposal uses whichever the initiator proposes.
- draft-ietf-ipsecme-ikev2-downgrade-prevention-08 defines an extension “in which the peers authenticate the full IKE_SA_INIT transcript”; its abstract says: “When both peers implement the extension and at least one relevant authentication credential is not compromised, this prevents certain downgrade attacks on IKEv2.” The datatracker shows it in the RFC Editor queue (as of 2026-12-05).6
References
-
RFC 9370, Multiple Key Exchanges in the Internet Key Exchange Protocol Version 2 (IKEv2), May 2023. Accessed 2026-12-05. ↩ ↩2 ↩3
-
IANA, IKEv2 Transform Type 4 - Key Exchange Method Transform IDs. Accessed 2026-12-05. ↩ ↩2 ↩3
-
draft-ietf-ipsecme-ikev2-mlkem-09, Post-quantum Key Exchange with ML-KEM in IKEv2, 2026-07-05. Accessed 2026-12-05. ↩ ↩2 ↩3 ↩4
-
IETF Datatracker, draft-ietf-ipsecme-ikev2-pqc-auth, revision -12. Accessed 2026-12-05. ↩ ↩2
-
RFC 8784, Mixing Preshared Keys in IKEv2 for Post-quantum Security, June 2020. Accessed 2026-12-05. ↩ ↩2
-
IETF Datatracker, draft-ietf-ipsecme-ikev2-downgrade-prevention, revision -08. Accessed 2026-12-05. ↩ ↩2