Harch Security

Post-quantum knowledge

A post-quantum TLS lab you can run this week

Not a demo of ours — your own: OpenSSL 3.5 made a hybrid post-quantum key exchange the default, so a two-terminal experiment on hardware you already own shows exactly what the transition feels like.

Built on the published record.

Every claim on this page cites a published standard, advisory or vendor roadmap — the sources are linked below. Harch holds no inside knowledge of undisclosed research, and claims none.

Sources

Check what you are actually running

The history matters for interpreting the answer: OpenSSL 3.5, released April 8, 2025 as an LTS release supported to April 2030, is the first version with ML-KEM, ML-DSA and SLH-DSA built into the default provider — and it put X25519MLKEM768 first in the default TLS 1.3 group list, so two OpenSSL 3.5 endpoints negotiate a hybrid post-quantum key exchange with zero configuration.

Distributions matter more than you would like: Debian 13 and Ubuntu 26.04 ship 3.5-series builds; Debian 12 and Ubuntu 24.04 still ship 3.0-series OpenSSL, which has none of this. That gap — same hardware, different patch level — is a preview of what a cryptographic inventory finds across an estate.

openssl version

Watch a post-quantum handshake happen

The cleanest experiment needs two terminals. In one, start a test server; in the other, connect. The negotiated group line will name X25519MLKEM768 — one TLS 1.3 handshake where the session key is bound to both a classical and a lattice assumption. Repeat without the -groups flag and, on 3.5, you get the same outcome from the defaults.

Against a real host you own, the same client command tells you whether that endpoint accepts the hybrid group today. Public scale examples exist: Cloudflare's edge and Google's load balancers accept X25519MLKEM768, which is how the large hybrid rollouts happened. One caution that this center repeats deliberately: a successful handshake on one path proves exactly that — one path. It says nothing about the rest of the estate, which is why the inventory comes before this page.

Terminal 1 — test server

openssl s_server -accept 44330 -cert server.pem -key server.pem -groups X25519MLKEM768

Terminal 2 — connect

openssl s_client -connect localhost:44330 -groups X25519MLKEM768 -brief

Or against a real host you own

openssl s_client -connect host:443 -servername host -groups X25519MLKEM768 -brief

Generate the keys and look at the sizes

Two commands produce post-quantum keys on the spot, and a third shows what they look like. This is the moment the sizes from the algorithms page become concrete: a 1,184-byte encapsulation key, a signature counted in kilobytes rather than bytes. Then sign something and measure.

The sizes are not trivia. Certificate chains, JWTs, code-signing manifests, DNSSEC records and HSM key slots were sized for a world of 32-to-256-byte objects. Feeling the difference first-hand is the cheapest requirements-gathering exercise a migration team can run — it turns « PQC later » into a list of actual interfaces that need capacity checks.

Generate an ML-KEM keypair

openssl genpkey -algorithm ML-KEM-768 -out mlkem.pem

Generate an ML-DSA keypair

openssl genpkey -algorithm ML-DSA-65 -out mldsa.pem

Inspect the key material

openssl pkey -in mldsa.pem -text -noout

What this experiment does not prove

Library support is not validation: the algorithms in the default provider are not FIPS 140-3 validated; the validated OpenSSL FIPS Provider received its certificate only in November 2026. A lab handshake is not a rollout: production brings certificates, HSMs, client heterogeneity, monitoring, and rollback. And OpenSSL's built-in set is not the whole algorithm zoo — the Open Quantum Safe project's oqs-provider remains the reference for the broader experimental set, including on OpenSSL 3.0 systems that cannot yet upgrade.

The experiment's honest value is exactly this: it takes the transition out of the press-release register and into the engineering register. After an afternoon in this lab, the migration conversation in your organization has commands, sizes and observed handshakes in it — and every subsequent vendor claim can be tested with the same tools.

Where Harch runs its own experiments

This tutorial covers the public OpenSSL path. The Harch cryptographic laboratory — a separate, charter-governed repository — keeps the branch's reproducible experiments and research notes, including the factorization record and the quantum-threat material cited by this center. It shares no code with the commercial tools.

harch-crypto-lab ↗

Get in touch

To discuss capabilities, partnerships, or specific security requirements, please contact our team. All enquiries are handled with the highest level of discretion and priority.

Contact us