Is your server actually post-quantum? A stdlib-only TLS and SSH prober that tells you
A server can advertise ML-KEM-768, have it in its config, and still serve a classical session. It can prefer X25519 when both are offered, negotiate a hybrid key exchange but authenticate with ECDSA, or present an ML-DSA
A server can advertise ML-KEM-768, have it in its config, and still serve a classical session. It can prefer X25519 when both are offered, negotiate a hybrid key exchange but authenticate with ECDSA, or present an ML-DSA leaf on a classical chain. Configuration is not delivery. So I built a tool that checks what was actually delivered on the wire.
It probes a TLS 1.3 server three ways: a mixed offer like a normal modern client makes, a post-quantum-only offer, and a full handshake to read the certificate chain. Then it reports the verdict in plain words: delivered post-quantum, delivered hybrid key exchange, or classical-only. It catches the cases that matter:
- Silent fallback to X25519 when the server prefers it over ML-KEM
- Hybrid key exchange with classical authentication
- ML-DSA or SLH-DSA leaves on otherwise classical chains
- The negotiated parameter level, ML-KEM-512/768/1024 and ML-DSA-44/65/87, with a note when it's below the strongest
It also probes SSH, reading the server's KEXINIT for mlkem768x25519-sha256 and the mlkem512/1024 variants, plus hybrid ML-DSA host keys.
The point of the tool is the CI gate. Run it on every deploy and fail the build if the gate fails:
pip install delivered-pq-verifier
dpqv tls example.com --gate --require pq-kex
dpqv tls example.com --gate --require full-pq
dpqv tls example.com --gate --require no-p256-ca
The last gate is new: it fails if the chain contains a CA key using ECDSA P-256, which Chrome stops trusting on March 15, 2027.
It's stdlib-only Python, no dependencies, no OpenSSL 3.5 needed. There's also a GitHub Action for the same check, published on the Marketplace.
The repo is at https://github.com/ozayyyy/pq-verifier. The paper behind it, with the measurement method and the six-server evaluation, is at https://doi.org/10.5281/zenodo.24678351
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.