Learn

Post-quantum cryptography, practically

Engineer-first guides to moving TLS, SSH and key wrapping to hybrid post-quantum crypto, checked against primary sources and dated. Start with your stack, or with the December 2026 NSA advisory.

What's new

The latest guidance, separated into what is confirmed and what isn't.

News

The December 2026 NSA post-quantum advisory: what happened and what engineers should do

On Dec 2, 2026 the NSA urged an immediate move to post-quantum crypto after AI-assisted cryptanalysis results. What is confirmed, what isn't, and the practical response.

Updated 2026-12-04

Tutorials: turn it on

Copy-paste fixes, the mistakes that silently disable post-quantum key exchange, and how to prove it works.

Tutorial · Go

Post-quantum TLS in Go: enable X25519MLKEM768 (and check you haven't turned it off)

Go 1.24+ negotiates hybrid X25519MLKEM768 by default. Here is how to keep it on, fix CurvePreferences that disable it, use crypto/mlkem, and prove it in CI.

Updated 2026-12-04
Tutorial · Node.js

Post-quantum TLS in Node.js: X25519MLKEM768 with OpenSSL 3.5

Node.js builds that bundle OpenSSL 3.5 negotiate hybrid X25519MLKEM768 by default. Check your version, fix an ecdhCurve that disables it, and verify the handshake.

Updated 2026-12-04
Tutorial · Python

Post-quantum TLS in Python: ssl, OpenSSL 3.5 and SSLContext.set_groups

Python negotiates hybrid X25519MLKEM768 when its ssl module is linked to OpenSSL 3.5+. Python 3.15 adds SSLContext.set_groups. Check, configure and verify it.

Updated 2026-12-04
Tutorial · Java

Post-quantum TLS in Java: JDK 27 hybrid key exchange, jdk.tls.namedGroups and ML-KEM

JDK 27 (JEP 527) enables X25519MLKEM768 by default in TLS 1.3. How to configure named groups, what to do on older JDKs, and ML-KEM via the KEM API.

Updated 2026-12-04
Tutorial · Rust

Post-quantum TLS in Rust: rustls, aws-lc-rs and X25519MLKEM768

rustls 0.23.27+ with the aws-lc-rs provider negotiates hybrid X25519MLKEM768 by default. Check your provider, fix ring builds and custom kx_groups, and verify.

Updated 2026-12-04
Tutorial · .NET

Post-quantum TLS in .NET: SslStream, Kestrel, OpenSSL 3.5 and the MLKem class

.NET uses the OS TLS stack, so post-quantum TLS depends on OpenSSL 3.5+ on Linux or SChannel on Windows. Check your image, fix configs, and use .NET 10's MLKem.

Updated 2026-12-04
Tutorial · Caddy

Post-quantum TLS in Caddy and Traefik: X25519MLKEM768 by default

Caddy 2.10+ and Traefik 3.4.2+ negotiate hybrid X25519MLKEM768 by default via Go 1.24. Check the version and Go toolchain, and fix pinned curves.

Updated 2026-12-04
Tutorial · Cloud LBs

Post-quantum TLS on AWS ALB, CloudFront, Google Cloud, Azure Front Door and Cloudflare

Google Cloud and Azure Front Door enable X25519MLKEM768 by default; AWS ALB/NLB need a -PQ- security policy. Which is which, how to switch, and the origin hop.

Updated 2026-12-04
Tutorial · Key wrapping

Replace RSA and ECDH key wrapping with hybrid ML-KEM (HPKE X-Wing), without breaking old data

Envelope encryption with RSA-OAEP or ECDH is exposed to harvest-now-decrypt-later. Move to hybrid HPKE (MLKEM768-X25519) with a versioned format and re-wrap.

Updated 2026-12-04
Tutorial · Kubernetes

Post-quantum TLS in Kubernetes: ingress, Gateway API, Istio and Consul

Where TLS terminates decides it: NGINX controllers need OpenSSL 3.5 images, Istio and Consul need X25519MLKEM768 in ecdhCurves. ingress-nginx is retired.

Updated 2026-12-04
Tutorial · Mobile

Post-quantum TLS for iOS and Android apps: what's automatic and what isn't

iOS 26 and macOS 26 offer X25519MLKEM768 on every TLS 1.3 connection. Android has it in Chrome and WebView but not as a documented app default. What to do.

Updated 2026-12-04
Tutorial · SSH

Post-quantum SSH: mlkem768x25519-sha256 in OpenSSH and the 10.1 warning

OpenSSH 10.0 defaults to mlkem768x25519-sha256 and 10.1 warns when a connection isn't post-quantum. How to check, configure KexAlgorithms safely and fix the warning.

Updated 2026-12-04
Tutorial · nginx

Post-quantum TLS on nginx, HAProxy and other OpenSSL servers

Servers linked to OpenSSL 3.5 offer X25519MLKEM768 by default. Check the linked OpenSSL, fix a pinned ssl_ecdh_curve, and verify from the outside.

Updated 2026-12-04
Tutorial · Test PQ TLS

How to check if a server uses post-quantum TLS (openssl, curl, browser, CI)

Four ways to prove a TLS endpoint negotiates X25519MLKEM768: openssl s_client, curl, browser DevTools and a CI job that fails closed.

Updated 2026-12-04

Explainers: understand it

What post-quantum cryptography is, why key exchange comes first, and every deadline in one place.

Explainer

Post-quantum migration deadlines: NIST IR 8547, CNSA 2.0, US federal and UK NCSC dates

Every post-quantum deadline in one table: NIST deprecates RSA and ECC after 2030 and disallows them after 2035, CNSA 2.0 gates new NSS purchases from Jan 1, 2027.

Updated 2026-12-04
Explainer

Which software supports post-quantum TLS? Support table for 2026

X25519MLKEM768 support and defaults across languages, servers, browsers and clouds: what's on by default, what's opt-in, and where it's usually missing.

Updated 2026-12-04
Explainer

X25519MLKEM768 explained: the hybrid post-quantum key exchange in TLS 1.3

X25519MLKEM768 combines ML-KEM-768 with X25519 so a TLS handshake stays secure if either one holds. How it works, sizes, codepoint 0x11EC, and who supports it.

Updated 2026-12-04
Explainer

Harvest now, decrypt later: why key exchange is the post-quantum priority

Traffic recorded today can be decrypted once a large quantum computer exists. Why that makes key exchange urgent, signatures less so, and how to rank what to fix.

Updated 2026-12-04
Explainer

What is post-quantum cryptography? A practical guide for engineers

Post-quantum cryptography (PQC) is public-key crypto that resists quantum computers. ML-KEM, ML-DSA and SLH-DSA, what they replace, and what to change first.

Updated 2026-12-04