QianHeng乾珩 PQC Docs Hub量子文档 ✦ Ask AI✦ 问问文档 ⚐ Scan⚐ 扫一扫

PQC in Network Protocols

Post-quantum cryptography only protects real traffic once it lands inside the protocols that carry that traffic: TLS, SSH, IPsec/IKEv2, and the X.509 / CMS machinery that underpins them. This section explains how each protocol is being upgraded, and why the migration follows a consistent order: key exchange first, authentication later.

Why key exchange comes first

The dominant near-term threat is Harvest Now, Decrypt Later (HNDL): an adversary records encrypted sessions today and decrypts them once a cryptographically relevant quantum computer exists. HNDL attacks the confidentiality of past traffic, and confidentiality depends on the session keys produced by the handshake's key exchange. A signature, by contrast, only needs to resist forgery during the brief moment a connection is being authenticated — a recorded handshake cannot be retroactively forged.

So the industry upgrades key exchange first, almost always as a hybrid (classical + PQC) construction so that a flaw in the young PQC algorithm cannot weaken the connection below today's baseline. Authentication — PQC signatures embedded in certificates — lags behind, largely because PQC public keys and signatures are far larger than ECDSA/RSA, and certificate chains are sent on every handshake.

Status at a glance

ProtocolMechanismStandard / specAvailability
TLS 1.3Hybrid key exchange X25519MLKEM768 (0x11EC / 4588, Recommended)IETF TLS ECDHE-MLKEM specification / registered IANA TLS NamedGroup; ML-KEM per FIPS 203. Once a formal RFC number is published, it should replace this reference.OpenSSL 3.5+, BoringSSL; Chrome & Firefox (~2024)
TLS 1.3 (auth)PQC signatures in certs / KEMTLSIETF research & draftsExperimental
SSHsntrup761x25519-sha512, mlkem768x25519-sha256OpenSSH designWidely deployed since OpenSSH 9.x; mlkem768x25519-sha256 is the default key-agreement algorithm since OpenSSH 10.0
IPsec / IKEv2PPK (RFC 8784) + multiple key exchanges (RFC 9370)RFC 8784, RFC 9242, RFC 9370 (RFC 9370 is the multiple-key-exchange framework, not the ML-KEM transform itself); the specific ML-KEM binding is in draft-ietf-ipsecme-ikev2-mlkem.strongSwan, libreswan
X.509 / PKIML-DSA / SLH-DSA certs; composite & hybrid certsIETF LAMPS has published the corresponding RFCs: in X.509, ML-DSA is RFC 9881, SLH-DSA is RFC 9909, ML-KEM is RFC 9935; in CMS, ML-DSA is RFC 9882, SLH-DSA is RFC 9814, ML-KEM is RFC 9936.Tooling emerging
CMS / S-MIMEPQC signatures & KEM key transportIETF LAMPSTooling emerging

A consistent migration shape

  1. Add hybrid key exchange. Negotiate a PQC KEM alongside the existing classical group so confidentiality is quantum-safe immediately, with a classical safety net.
  2. Make it negotiable. Every protocol advertises supported groups/algorithms so old and new peers interoperate; PQC is just another offered option.
  3. Upgrade authentication. Roll out PQC signatures in certificates and host keys once tooling, OIDs, and chain-size handling mature.

Where to read next

Each protocol has its own page with concrete configuration and CLI examples. Start with the transport you operate most.

Note
Hybrid is the default posture across all four protocols today. If you see a bare PQC-only group or algorithm offered, prefer the hybrid variant unless you have a specific reason and a fallback plan.

Standards & references

网络协议中的后量子密码

后量子密码只有真正落到承载流量的协议里才能保护通信:TLS、SSH、IPsec/IKEv2 以及支撑它们的 X.509 / CMS 体系。本节说明每个协议如何升级,以及为什么迁移遵循同一条主线——先换密钥交换,再换身份认证

为什么先做密钥交换

当前最现实的威胁是 先收集、后解密(Harvest Now, Decrypt Later, HNDL):攻击者今天先把加密会话录下来,等具备实用价值的量子计算机出现后再解密。HNDL 攻击的是历史流量的机密性,而机密性取决于握手阶段密钥交换产出的会话密钥。签名则不同,它只需在连接被认证的那一瞬间抵抗伪造——已录下的握手无法被事后伪造。

因此业界优先升级密钥交换,并且几乎都采用混合(经典 + 后量子)构造,确保年轻的后量子算法即使出问题也不会把连接拉低到现有基线之下。身份认证——把后量子签名嵌入证书——则相对滞后,主要原因是后量子公钥和签名远大于 ECDSA/RSA,而证书链在每次握手时都要传输。

整体进展一览

协议机制标准 / 规范可用性
TLS 1.3混合密钥交换 X25519MLKEM768(0x11EC / 4588,Recommended)IETF TLS ECDHE-MLKEM 规范 / IANA TLS NamedGroup 已登记;ML-KEM 依据 FIPS 203。若正式 RFC 编号已发布,应替换为 RFC 编号。OpenSSL 3.5+、BoringSSL、Chrome 与 Firefox(约 2024)
TLS 1.3 认证证书中的后量子签名、KEMTLSIETF 研究与草案实验阶段
SSHsntrup761x25519-sha512mlkem768x25519-sha256OpenSSH 设计OpenSSH 9.x 起广泛部署;OpenSSH 10.0 起 mlkem768x25519-sha256 成为默认密钥协商算法。
IPsec / IKEv2PPK(RFC 8784)+ 多重密钥交换(RFC 9370)RFC 8784、RFC 9242、RFC 9370;其中 RFC 9370 是多重密钥交换框架,并非 ML-KEM 变换本身,ML-KEM 具体绑定见 draft-ietf-ipsecme-ikev2-mlkem。strongSwan、libreswan
X.509 / PKIML-DSA / SLH-DSA 证书、复合与混合证书IETF LAMPS 已发布相应 RFC:X.509 中 ML-DSA 为 RFC 9881,SLH-DSA 为 RFC 9909,ML-KEM 为 RFC 9935;CMS 中 ML-DSA 为 RFC 9882,SLH-DSA 为 RFC 9814,ML-KEM 为 RFC 9936。工具链逐步成熟
CMS / S-MIME后量子签名与 KEM 密钥传输IETF LAMPS工具链逐步成熟

统一的迁移路径

  1. 加入混合密钥交换:在原有经典分组旁并行协商一个后量子 KEM,机密性立即获得量子安全保障,同时保留经典安全网。
  2. 让它可协商:每个协议都通告自身支持的分组/算法,新旧两端得以互通,后量子只是多了一个可选项。
  3. 升级身份认证:待工具链、OID 和证书链尺寸处理成熟后,再在证书和主机密钥中推广后量子签名。

继续阅读

每个协议都有单独页面,附带具体配置与命令行示例。建议从你运维最多的传输协议看起。

提示
目前四个协议默认都采用混合方案。若看到对端只提供纯后量子的分组或算法,除非有明确理由和回退方案,否则应优先选用混合变体。

标准与参考

⚑ Report an error⚑ 纠错与校正