Home / 21 min read • 2026-12-03

Are your systems Post Quantum ready?

🚀
Carlos Rodrigues
Full Stack Engineer

Just when you thought keeping up with new AI models, agent frameworks, and MCP servers, and everyrthing else every week was exhausting enough, the AI gods decided to throw cryptography into the fire too.

If you opened X or Hacker News this week, you probably saw the collective blood pressure of the tech industry spike overnight:

  1. The Viral Executive Warning: Following a rare joint statement by eight tech giants (Cloudflare, Anthropic, OpenAI, Google, Microsoft, Apple, Amazon, and Oracle), Cloudflare CEO Matthew Prince dropped an ominous thread on X: "Do not ignore this. Do not underestimate it. Yes, we were briefed on something. Yes, it's a big deal... It is urgent to move encrypted systems to post-quantum (maybe more appropriately called post-AI) standards."
  2. The US Government Push: Almost simultaneously, the NSA urged an immediate shift to post-quantum encryption across National Security Systems after frontier AI labs responsibly disclosed new mathematical discoveries affecting cryptographic assumptions.
  3. The AI Cryptanalysis Angle: Meanwhile, BBC News reported that an unreleased Anthropic Claude model may have uncovered theoretical mathematical shortcuts in structured lattices—showing just how fast AI-assisted cryptanalysis is starting to probe modern math.

Before anyone panics and unplugs their production cluster: no, TLS is not broken tonight. Cryptographers, Anthropic, and CISA all emphasized that these discoveries are theoretical shortcuts, orders of magnitude away from decrypting live internet traffic in practice.

However, your CTO or CISO is very likely going to paste one of those links into Slack on tomorrow morning and ask: "Hey, are our servers already using post-quantum encryption?" (I know, your company already has a full cryptographic bill-of-materials dashboard tracking every TLS cipher across every microservice, right? But just in case it doesn't... like the rest of us mortals :D , let's see what we can do).

This article aims to be a pragmatic, copy-paste CLI field guide to answer two simple questions across your stack in five minutes:

  1. From which version does each tool support Post-Quantum Cryptography (PQC)?
  2. What exact CLI command checks your installed version and verifies whether PQC is actually active?

Post-Quantum Cryptography in 60 Seconds

Explaining how post-quantum cryptography works under the hood is not the goal of this article, so here is just the bare-minimum mechanical summary so you know what the CLI outputs below actually mean:

  • What is at risk: Every HTTPS or SSH session starts with an asymmetric key exchange (typically RSA or elliptic curves like X25519) to agree on a secret session key. Classical computers cannot reverse that math in any practical timeframe, whereas sufficiently powerful quantum computers, or breakthroughs in AI-assisted cryptanalysis, eventually could.
  • Why we care today (Harvest Now, Decrypt Later): Disk storage is cheap. Adversaries can record your encrypted TLS/SSH traffic today, store the ciphertext, and decrypt it years later once classical key exchanges fall.
  • What PQC is: Post-Quantum Cryptography is simply a new generation of normal software algorithms (standardized by NIST, such as FIPS 203 ML-KEM-768) that run on your existing x86/ARM servers today, no special hardware required—using math problems designed to resist both classical and quantum attacks.
  • Why everything says "Hybrid": Rather than ripping out battle-tested X25519 and trusting brand new math on its own, modern stacks run both together (X25519 + ML-KEM-768). An attacker must break both algorithms to decrypt a session, so even if a weakness is ever found in one, the other still protects your data.

In practice, that means your CLI checks come down to looking for two strings:
* In TLS 1.3: X25519MLKEM768
* In OpenSSH: mlkem768x25519-sha256 (or OpenSSH's earlier hybrid, sntrup761x25519-sha512)


Where Crypto Actually Lives in Your Stack

Before running checks, remember one architectural rule: TLS and SSH are hop-by-hop. Just because Cloudflare negotiates post-quantum TLS with a user's Chrome browser does not mean your AWS load balancer, Nginx ingress, outbound Go/Python calls, or database links are protected.

graph TD
    Client["Browser / curl<br>(Chrome 131+, curl + OpenSSL 3.5+)"] -->|"HTTPS (TLS 1.3)<br>X25519MLKEM768"| Edge["CDN / Cloud LB<br>(Cloudflare, AWS ALB)"]
    Edge -->|"Origin TLS 1.3"| Proxy["Reverse Proxy<br>(Nginx, Traefik, Caddy, HAProxy)"]
    Proxy -->|"Internal TLS / mTLS"| App["App Runtime<br>(Go, Node.js, Python)"]
    App -->|"DB TLS 1.3"| DB["PostgreSQL<br>(Linked to OpenSSL 3.5+)"]
    Admin["Engineer Laptop"] -->|"SSH / Mesh VPN<br>mlkem768x25519 / Tailscale"| Proxy

And one crucial distinction for C-based tools (Nginx, HAProxy, Python, PostgreSQL, curl): they do not implement TLS crypto themselves. They delegate everything to the underlying SSL library (OpenSSL, BoringSSL, or AWS-LC) they were compiled or dynamically linked against!


Master Quick-Reference Table: PQC Version Thresholds

Here is the cheat sheet of minimum versions where standardized NIST ML-KEM hybrid PQC is available, whether it turns on automatically out of the box, and the official upstream release notes/docs so you can verify every claim:

Tool / Component Minimum PQC Version Enabled by Default? Crypto Engine String to Look For Official Source
OpenSSH 9.0+ (sntrup761)
9.9+ (mlkem768)
Yes (sntrup761 in 9.0+; mlkem768 in 10.0+) Built-in / libcrypto mlkem768x25519-sha256 OpenSSH PQC Docs
OpenSSL 3.5.0+ (LTS) Yes (in TLS 1.3) Native OpenSSL X25519MLKEM768 OpenSSL 3.5 Release Notes
Nginx 1.26+ (with OpenSSL 3.5+) Yes (when ssl_ecdh_curve is default auto) Linked OpenSSL / BoringSSL OpenSSL 3.5+ & X25519MLKEM768 Nginx SSL Module Docs
HAProxy 3.0+ (with OpenSSL 3.5+) Yes (via OpenSSL 3.5+ defaults) Linked OpenSSL / AWS-LC OpenSSL 3.5+ & X25519MLKEM768 HAProxy 3.0 Docs
Traefik v3.5.0+ Yes Go crypto/tls (Go 1.24+) X25519MLKEM768 Traefik v3.5.0 Release
Caddy v2.10.0+ Yes Go crypto/tls (Go 1.24+) X25519MLKEM768 Caddy v2.10.0 Release
Go Runtime Go 1.24+ Yes Standard library crypto/tls go1.24+ (X25519MLKEM768) Go 1.24 Release Notes
Node.js v22.20.0+ / v24.5.0+ Yes Bundled OpenSSL 3.5+ OpenSSL 3.5.x+ Node v22.20 / v24.5
Python 3.11+ (with OpenSSL 3.5+) Yes (when linked to 3.5+) System/Bundled OpenSSL OpenSSL 3.5+ Python ssl Docs
PostgreSQL 18+ (with OpenSSL 3.5+ & ssl_groups) Opt-in (default ssl_groups is X25519:prime256v1) System OpenSSL (libssl) X25519MLKEM768 PostgreSQL 18 ssl_groups Docs
curl 8.10+ (with OpenSSL 3.5+) Yes (via TLS backend) OpenSSL 3.5+ / BoringSSL X25519MLKEM768 curl --curves Docs
Browsers Chrome 131+, Firefox 132+, Safari 26+ Yes BoringSSL / NSS / Apple TLS X25519MLKEM768 Google · Mozilla · Apple
Tailscale v1.106.0+ (both peers) Yes Built-in Noise IKhfs + ML-KEM 1.106+ on both nodes Tailscale PQC Blog
Mullvad VPN 2024.1+ (Desktop/CLI) Yes WireGuard + PQ PSK tunnel Quantum resistant tunnel: yes Mullvad PQC Guide
WireGuard (Vanilla) Not built-in No (requires Rosenpass PSK) Kernel Curve25519 + external PSK preshared key: (hidden) + rp WireGuard Protocol · Rosenpass
Cloudflare Edge Managed SaaS Yes BoringSSL Edge kex=X25519MLKEM768 Cloudflare PQC Docs
AWS ALB Managed (-PQ- TLS Policy) Opt-in (default on new console listeners) AWS-LC (s2n-tls) ELBSecurityPolicy-TLS13-...-PQ-... AWS ELB TLS Policies

CLI Verification Checks: Layer by Layer

Let's see this in practice. Grab a terminal and run these read-only checks against your local machine, containers, and live endpoints.


1. OpenSSH (Client & Server)

OpenSSH was way ahead of the curve here (official OpenSSH PQC overview):
* OpenSSH 9.0+ (April 2022) enabled hybrid PQC by default using Streamlined NTRU Prime (sntrup761x25519-sha512).
* OpenSSH 9.9+ (September 2024) added the NIST standard mlkem768x25519-sha256.
* OpenSSH 10.0+ (April 2025) made mlkem768x25519-sha256 the primary default, and 10.1+ actively warns you (WarnWeakCrypto) if a connection falls back to non-PQC!

# Check your local OpenSSH version (want >= 9.0 for PQC, >= 10.0 for NIST ML-KEM default)
ssh -V
# List post-quantum key exchange algorithms supported by your local SSH client
ssh -Q kex | grep -E 'mlkem|sntrup'
# Verify what a live SSH server actually negotiates with you right now
ssh -v [email protected] exit 2>&1 | grep "kex: algorithm:"
  • What you want to see: debug1: kex: algorithm: mlkem768x25519-sha256 (or sntrup761x25519-sha512). If you see curve25519-sha256 or ecdh-sha2-nistp256, one of the two ends is still classical-only.

2. OpenSSL (The Core Crypto Engine)

OpenSSL 3.5.0+ (LTS, released April 2025) is the magic version number for half the Linux ecosystem. Versions 3.0.x through 3.4.x do not include native ML-KEM out of the box, whereas 3.5.0+ ships FIPS 203 ML-KEM, ML-DSA, and SLH-DSA natively and puts X25519MLKEM768 at the top of its default TLS 1.3 group list. (OpenSSL 4.0+ inherits this natively as well.)

# 1. Check installed OpenSSL CLI & library version (want >= 3.5.0)
openssl version
# 2. Confirm native ML-KEM algorithms are available in your OpenSSL build
openssl list -kem-algorithms | grep -i ml-kem
# 3. Confirm hybrid PQC TLS 1.3 groups (X25519MLKEM768) are registered
openssl list -tls-groups | tr ':' '\n' | grep -i mlkem
# 4. Probe ANY remote HTTPS server on port 443 to verify live PQC negotiation (requires local OpenSSL 3.5+)
openssl s_client -connect your-domain.com:443 -servername your-domain.com -tls1_3 -groups X25519MLKEM768 </dev/null 2>/dev/null | grep -iE "Negotiated TLS1.3 group|Server Temp Key|Cipher is"
  • What you want to see: Negotiated TLS1.3 group: X25519MLKEM768 alongside a valid cipher (e.g., Cipher is TLS_AES_256_GCM_SHA384). If you see Cipher is (NONE), the remote server does not support X25519MLKEM768.

3. Reverse Proxies: Nginx, HAProxy, Traefik, and Caddy

Nginx

  • Minimum Version: Modern Nginx (1.26+ / 1.27+) built/linked against OpenSSL 3.5+ (or BoringSSL), with ssl_ecdh_curve left at its default auto (or explicitly including X25519MLKEM768). An Nginx 1.28 binary running on Ubuntu 24.04's stock OpenSSL 3.0 will not negotiate PQC!
# Check both Nginx version AND which OpenSSL library it is using (want OpenSSL 3.5.0+)
nginx -V 2>&1 | grep -iE "nginx version|built with OpenSSL|running with OpenSSL"
# If running inside Docker/Kubernetes, check the container directly
docker exec <nginx-container> nginx -V 2>&1 | grep -i openssl

HAProxy

# Check HAProxy version and both compile-time & runtime OpenSSL versions (want >= 3.5.0)
haproxy -vv | grep -E "HAProxy version|Built with OpenSSL|Running on OpenSSL"

Traefik

# Check Traefik version (want >= 3.5.0) and Go toolchain version (want >= go1.24)
traefik version

Caddy

# Check Caddy version (want >= v2.10.0) and underlying Go build version (want >= go1.24)
caddy version && caddy build-info | grep -E "^go"

(Tip: Regardless of which reverse proxy you run, always run the openssl s_client command from Section 2 against its public port 443 to verify end-to-end negotiation!)


4. Application Runtimes: Go, Node.js, and Python

Your microservices make outbound HTTPS calls to payment gateways, LLM APIs, and internal services, and sometimes terminate mTLS directly.

Go

  • Minimum Version: Go 1.24+ enables X25519MLKEM768 by default in crypto/tls (unless someone explicitly disabled it via GODEBUG=tlsmlkem=0). (Note: Go 1.23 only had the pre-standard Kyber draft.)
# Check installed Go toolchain version (want >= go1.24)
go version
# Inspect an ALREADY-COMPILED Go binary in production to see which Go version built it!
go version -m /path/to/your-service-binary | head -n 2

Node.js

# Check Node version AND bundled OpenSSL version (want >= 3.5.0)
node -v && node -p "process.versions.openssl"
# One-liner to test what TLS group Node.js actually negotiates outbound
node -e 'const s = require("tls").connect(443, "pq.cloudflareresearch.com", {servername: "pq.cloudflareresearch.com"}, () => { console.log(s.getEphemeralKeyInfo()); s.end(); });'
  • What you want to see: { type: 'TLSGroup', name: 'X25519MLKEM768', size: ... }.

Python

  • Minimum Version: Python 3.11+ dynamically linked against OpenSSL 3.5+. (Watch out: official python:3.12-slim-bookworm Docker images link against Debian 12's OpenSSL 3.0! Use trixie / Alpine 3.22+ / Ubuntu 26.04 images for OpenSSL 3.5+.)
# Check which OpenSSL library Python's ssl module is bound to (want OpenSSL 3.5.0+)
python3 -c "import ssl; print(ssl.OPENSSL_VERSION)"

5. Client Tools: curl and Web Browsers

curl

# 1. Check curl version AND its TLS backend version on line 1 (want OpenSSL/3.5.0+ or 4.x)
curl -V | head -n 1
# 2. Verify PQC handshake against any HTTPS endpoint using --curves
curl -sv --curves X25519MLKEM768 https://pq.cloudflareresearch.com -o /dev/null 2>&1 | grep "SSL connection using"
  • What you want to see: * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / ...

Web Browsers

  • Minimum Versions (Enabled by Default):
  • Google Chrome / Edge / Brave: v131+ (migrated from draft Kyber to finalized X25519MLKEM768)
  • Mozilla Firefox: v132+
  • Apple Safari: Safari 26+ (on macOS Tahoe 26 / iOS 26 — see Apple Support HT122756)
# On macOS Tahoe 26+, test Apple's native system TLS stack from the terminal
nscurl --tls-diagnostics https://pq.cloudflareresearch.com | grep -i mlkem
  • In any browser UI: Visit https://pq.cloudflareresearch.com or open DevTools → Security tab on your own site and check that Key exchange group says X25519MLKEM768.

6. Databases: PostgreSQL TLS

As fans of pragmatic Postgres setups know, we can't forget the database layer 🙂
* Minimum Version: PostgreSQL 18+ dynamically linked against OpenSSL 3.5+. Note one sneaky catch in the PostgreSQL 18 ssl_groups documentation: PostgreSQL 18 replaced the old single-curve ssl_ecdh_curve setting with multi-group ssl_groups, whose default string is X25519:prime256v1, so you must verify both OpenSSL 3.5+ and that X25519MLKEM768 is included in ssl_groups!

# 1. On the DB host/container, check which libssl shared library postgres links to, then check openssl version
ldd "$(which postgres)" | grep libssl && openssl version
# 2. Check PostgreSQL's configured ssl_groups AND verify active sessions use TLSv1.3 (PQC requires TLSv1.3!)
psql -h your-db-host -U postgres -c "SHOW ssl_groups;" -c "SELECT pid, ssl, version, cipher FROM pg_stat_ssl WHERE ssl = true LIMIT 10;"
# 3. Remotely test whether PostgreSQL on port 5432 actually negotiates X25519MLKEM768 via STARTTLS
openssl s_client -connect your-db-host:5432 -starttls postgres -tls1_3 -groups X25519MLKEM768 -brief </dev/null

7. VPNs & Cloud Load Balancers

Tailscale

  • Minimum Version: Tailscale v1.106.0+ (rolled out in December 2026) natively layers hybrid ML-KEM-768 on top of WireGuard handshakes via Noise IKhfs—provided both communicating nodes are on v1.106.0+.
# Check local Tailscale version (want >= 1.106.0)
tailscale version
# Audit client versions across peers in your tailnet (both ends must be >= 1.106 for PQC tunnels)
tailscale status --json | jq -r '.Peer[] | "\(.HostName): \(.Hostinfo.IPNVersion // "unknown")"'

Mullvad VPN

  • Minimum Version: Mullvad 2024.1+ (quantum-resistant WireGuard tunnels enabled by default in modern desktop/CLI releases).
# Verify Mullvad's WireGuard tunnel has quantum resistance active
mullvad status -v | grep -i "quantum"

Vanilla WireGuard

  • Minimum Version: Kernel WireGuard hardcodes classical Curve25519 (WireGuard protocol spec) and has no native PQC version. To make vanilla WireGuard quantum-resistant, you must pair it with a post-quantum Pre-Shared Key (PSK) exchanger like Rosenpass (rp).
# Check if WireGuard interfaces have a preshared key active AND if Rosenpass is installed
sudo wg show | grep -E "interface:|peer:|preshared key:" && command -v rosenpass

Cloudflare Edge

  • Minimum Version: Enabled by default across Cloudflare's edge network (Cloudflare Post-Quantum Cryptography docs). Every Cloudflare-proxied domain exposes a neat plain-text /cdn-cgi/trace diagnostic endpoint!
# Check TLS version and exact key exchange (kex) negotiated with your Cloudflare-fronted domain
curl -s https://your-domain.com/cdn-cgi/trace | grep -E "^(tls|kex)="
  • What you want to see: tls=TLSv1.3 and kex=X25519MLKEM768. That's it 🙂

AWS Application Load Balancer (ALB)

# Audit SSL policies across all HTTPS listeners on an AWS ALB
aws elbv2 describe-listeners --load-balancer-arn <your-alb-arn> \
  --query 'Listeners[?Protocol==`HTTPS`].[Port,SslPolicy]' --output table

Know Your Limits: 5 Practical Gotchas

Before you check off your compliance ticket and call it a day, watch out for these five real-world traps:

1. The LTS Linux Distro Trap (apt upgrade Won't Save You)

Long-term support Linux distros backport security patches (CVEs), not major new cryptographic features. Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Debian 12 (Bookworm) ship with OpenSSL 3.0.x, which does not have ML-KEM. To get system-wide OpenSSL 3.5+ natively from OS packages, your hosts or base Docker images need Ubuntu 26.04 LTS, Debian 13 (Trixie), Alpine 3.22+, or Fedora 43+.

2. TLS 1.2 Silently Drops PQC

Hybrid key exchange (X25519MLKEM768) only exists in TLS 1.3. Even if your server runs OpenSSL 4.0, any legacy client, webhook, or internal Java/Python service restricted to TLSv1.2 will silently negotiate classical ECDHE with zero post-quantum protection.

3. Key Exchange ≠ Certificates (And Why That's Okay Today)

Notice how every check above verifies key exchange (ML-KEM), while your TLS certificates from Let's Encrypt or DigiCert are still classical ECDSA or RSA? That is intentional!
* Key Exchange protects confidentiality against Harvest Now, Decrypt Later, which is an urgent threat today because encrypted packets captured tonight can be decrypted years from now.
* Digital Signatures (Certificates & SSH Host Keys) protect authentication against active impersonation, which requires an attacker to wield a real-time quantum computer during the live milliseconds of your handshake. Classical certificates are still safe today, while naively swapping classical signatures for PQC certificate chains (ML-DSA) would bloat TLS handshakes past 10 KB.

Note: This exact certificate bloat problem is actively being solved! In November 2026, Let's Encrypt announced over €1M in funding from the Sovereign Tech Agency through 2027 to standardize and deploy Merkle Tree Certificates (MTCs) which cover entire batches of certificates with a single signature so post-quantum TLS authentication stays fast, lightweight, and free.

4. The "Fat ClientHello" & Legacy Firewalls

Classical X25519 public keys are tiny (32 bytes). Adding ML-KEM-768 expands the TLS ClientHello packet from ~300 bytes to roughly 1.3–1.5 KB, occasionally splitting the initial handshake across two TCP packets. Rusty enterprise Deep Packet Inspection (DPI) middleboxes or misconfigured firewalls that assume a ClientHello always fits in one packet can cause mysterious connection timeouts.

5. Both Ends Must Speak PQC

Upgrading your Nginx server to OpenSSL 3.5+ allows modern browsers to connect with PQC, but if your Python backend container running on debian:bookworm (OpenSSL 3.0) calls an external API, that outbound connection is still classical. Always check both the client and the server of sensitive hops!


What's Next?

Take ten minutes today, run ssh -V, openssl version, and openssl s_client against your production endpoints, and see where your infrastructure actually stands. Nine times out of ten, upgrading a base Docker image from Debian bookworm to trixie (or Ubuntu 24.04 to 26.04), bumping Traefik/Caddy, or flipping an AWS ALB policy to -PQ- gets you hybrid post-quantum encryption for free, clean, simple, and maintainable 🙂

Once post-quantum digital signatures (ML-DSA, SLH-DSA, and Let's Encrypt's Merkle Tree Certificates) hit mainstream ACME workflows, we will revisit the certificate side of the equation.

Stay tuned!

Cheers 🙂

Comments (0)

No comments yet. Be the first to share your thoughts!

Leave a Comment