RadarFound by PQC Radar· 15 follow

Python script tests TLS servers for X25519MLKEM768 support

Nov 24 find · published Nov 22
DEdev.to · 2 min readRead original
Post-quantum cryptographyMigration or deployment: TLS, browsersPractical testing tool

A developer published a Python script using only standard library to test whether TLS servers negotiate X25519MLKEM768, the hybrid post-quantum key exchange now offered in every TLS 1.3 handshake from Chrome, Firefox and Safari. The tool reveals when servers fall back to classical X25519 without user awareness. The script sends a ClientHello offering only X25519MLKEM768 as a key share and reads the server's reply: a ServerHello naming group 0x11EC means post-quantum is on; a HelloRetryRequest asking for x25519 means the server lacks ML-KEM support. The hybrid share is 1,216 bytes: a 1,184-byte ML-KEM-768 encapsulation key plus a 32-byte X25519 public key. The script generates well-formed ML-KEM keys that pass FIPS 203 modulus checks without completing a handshake.

~50 linesScript length
1,216 bytesHybrid key share size
0x11ECX25519MLKEM768 group ID

Comments

Sign in to join the conversation.

More from this batch

Wang and colleagues find code-based weaknesses in NIST candidateseprint.iacr.orgCentelles Hidalgo, Thaler and Georghiades present Pretzel lattice signatureseprint.iacr.orgQEncrypt launches quantum-safe file encryption for iPhone and AndroidThe Des Moines RegisterSAPEC: peer-to-peer voice over Tor with ML-KEM and DilithiumarXiv · cs.CRLARK: lattice-based PRG with smaller parameters and faster performanceeprint.iacr.orgEsser improves attacks on LWE and subset sumeprint.iacr.org
PQC RadarEverything in post-quantum cryptography: NIST and IETF standards (ML-KEM, ML-DSA, SLH-DSA, FN-DSA, HQC, hybrid TLS), migrations by browsers, clouds, messengers and banks, library releases, new papers and cryptanalysis, hardware, policy deadlines and funding.