Link Search Menu Expand Document

Post-quantum key exchange

Every TLS and SSH endpoint in the image offers a hybrid post-quantum key exchange, so recorded traffic can’t be decrypted later by a quantum computer.

Program Library Key exchange Where it is set
nginx, OpenVPN, strongSwan, curl, wget, net-snmp, python OpenSSL 3.5 X25519MLKEM768 (OpenSSL default) nothing to set
dropbear built-in mlkem768x25519-sha256, sntrup761x25519-sha512 config/dropbear.conf
apk OpenSSL (apk-openssl) X25519MLKEM768 config/tls-backend.conf
uclient-fetch, uhttpd, ddns OpenSSL (libustream-openssl) X25519MLKEM768 config/tls-backend.conf

mbedTLS 3.6 and GnuTLS (without leancrypto) have no ML-KEM, so no program should be built against them. msmtp still uses GnuTLS, so alert mail has no post-quantum key exchange yet. Programs that set their own TLS groups (OpenVPN tls-groups, IPsec proposals) are configured at runtime, not here.

dropbear also uses 4096-bit RSA for new host keys and offers hmac-sha2-512. It has no ML-DSA host keys: post-quantum signatures need OpenSSH.

Check what a server negotiates:

openssl s_client -connect HOST:443 -tls1_3 </dev/null 2>&1 | grep 'Negotiated TLS1.3 group'
ssh -v root@HOST true 2>&1 | grep 'kex: algorithm'