What TLS and SSH Servers Actually Negotiate: Measuring Post-Quantum Protection on the Wire
Post-quantum cryptographic algorithms are increasingly supported by modern TLS and SSH implementations, but advertised support does not necessarily translate into post-quantum protection being delivered during protocol negotiation. This paper investigates the distinction between advertised post-quantum capability and cryptographic protection actually negotiated on the wire. It introduces a measurement methodology and an external prober for TLS 1.3 and SSH that examines negotiated key exchange algorithms, certificate chains, and authentication schemes without requiring access to server configurations. The proposed approach distinguishes fully post-quantum protection from hybrid key exchange with classical authentication, classical-only negotiation, and silent fallback to classical algorithms despite advertised post-quantum support. The methodology was evaluated against six controlled TLS servers, covering classical-only, hybrid, fully post-quantum, and silent-fallback scenarios. The prober correctly classified all six servers, demonstrating that advertised support and delivered protection can differ without producing an observable handshake failure. SSH probing was additionally evaluated through unit testing. The findings highlight the importance of measuring actual cryptographic negotiation rather than relying solely on algorithm availability or configuration-based indicators when assessing post-quantum readiness. The accompanying implementation, test suite, and laboratory results are publicly available: https://github.com/ozayyyy/pq-verifier
Authors
- Muhammad Osama Asghar (ORCID: https://orcid.org/0009-0004-0713-1166)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24678351
- Primary Topic
- Cryptography and Residue Arithmetic
- Type
- preprint