# Post-Quantum TLS Check
// Quantum-safe key exchange, TLS 1.0–1.3 support and accepted cipher suites, rated.
dracozona@dragonzecurity:~$ cat README.md
About this check
- Harvest now, decrypt later. Traffic recorded today could be decrypted once large quantum computers exist. Hybrid key exchange pairs a classical algorithm with ML-KEM (FIPS 203), so an attacker has to break both.
- Post-quantum key exchange. We send TLS 1.3 handshakes that offer one key exchange group at a time and see which ones the server accepts:
X25519MLKEM768(what Chrome, Firefox and Safari use),SecP256r1MLKEM768, and classicalX25519/P-256as a baseline. - TLS versions and cipher suites. For TLS 1.0, 1.1, 1.2 and 1.3 we offer every cipher suite we know, note the one the server picks, take it out and ask again until the server refuses. That gives the full list it accepts, usually in its own order of preference.
- How we rate them. Secure: forward secrecy (ECDHE/DHE) with an AEAD cipher (AES-GCM, ChaCha20-Poly1305, AES-CCM), or any TLS 1.3 suite. Weak: no forward secrecy (plain RSA key exchange), CBC mode, or truncated tags. Insecure: RC4, DES, 3DES, NULL, export-grade, anonymous or MD5 suites, and TLS 1.0/1.1 themselves (deprecated by RFC 8996).
- Key exchange only. Certificates are still signed with classical algorithms almost everywhere, so a server can pass here and still have an RSA or ECDSA certificate. That's expected for now.
- One vantage point. Results show the server reached from our network. CDNs and load balancers can answer differently in other regions, or roll the feature out gradually.
- How to fix it. OpenSSL 3.5+, BoringSSL, Go 1.24+ and most major CDNs support
X25519MLKEM768. Upgrade your TLS library or web server, then list the group first in your key exchange settings (in nginx:ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1;). For a clean cipher list in nginx:ssl_protocols TLSv1.2 TLSv1.3;andssl_ciphers ECDHE+AESGCM:ECDHE+CHACHA20;.