# Post-quantum readiness field guide: priorities > Principles, what changed in December 2026, the changes to make first ranked P0 to P3, and sources. > > Web page: https://pq.info/ · Index of all pages: https://pq.info/llms.txt A guide to moving systems off RSA and elliptic-curve cryptography. Key exchange comes first, because it protects data in transit, including traffic that may be recorded now. Signatures and certificates follow; they take longer to replace. Symmetric encryption such as AES-256 does not need to change. ## Principles ### Key exchange Enable `X25519MLKEM768` on TLS 1.3 and `mlkem768x25519-sha256` on SSH so recorded traffic cannot be decrypted later. ### Tokens & signatures Switch internal `RS256`/`ES256` JWTs to 256-bit `HS256` HMAC. Add dual `Ed25519 + ML-DSA-65` signatures to software updaters. Inventory certificates and SSH keys and automate their renewal. ### Symmetric & hashes `AES-256`, `ChaCha20`, and `SHA-256` are not vulnerable to Shor's algorithm. Disks and database volumes do not need re-encryption, unless their keys were wrapped under RSA or elliptic curves. ## What changed in December 2026 Last reviewed 3 December 2026. ### What has been said On 2 December 2026 the U.S. Office of the National Cyber Director, NSA and CISA said that recent discoveries "impact the security of some cryptography currently in use", that they "do not present an immediate and widespread threat to that cryptography", and that industry and government should "expeditiously upgrade our digital infrastructure". Eight technology companies, including Amazon, Apple, Google and Microsoft, published a joint statement supporting that guidance. The next day Cloudflare moved its target for being fully post-quantum from 2029 to 2027, with the acceleration aimed at authentication: certificates, tokens and SSH. Asked what is affected, Cloudflare's CEO answered: "Assume anything that uses RSA or Elliptic Curve cryptography." ### What it means for this guide No technical details are public, and nothing published says RSA or elliptic curves are broken today. The practical change is the schedule: signatures and certificates used to be work for later, and are now work to start alongside key exchange. Begin with an inventory of every place RSA or elliptic curves appear. The recommendations here use hybrid schemes, which stay secure as long as either the classical or the post-quantum half holds, and symmetric cryptography, which is not affected. The dates governments and vendors have set are in the [Deadlines](https://pq.info/deadlines.md) chapter. ## What to migrate first ### P0 · Inventory Everything on RSA or Elliptic Curves - Owner: Security · Inventory - Change: Unknown exposure → **cryptographic bill of materials** + vendor register - Guide: https://pq.info/audit.md Find every TLS config, SSH key, token signer, certificate, signing key and public-key-encrypted backup before ranking any of them, and ask each critical vendor for its post-quantum dates. Every step below depends on this list being complete. ### P0 · Edge CDN & Origin Load Balancer TLS Key Exchange - Owner: Infra · Config Toggle - Change: ECDHE X25519 → `X25519MLKEM768` (0x11ec) - Guide: https://pq.info/systems/tls.md Enable hybrid post-quantum key agreement on public domains and origin cloud load balancers (AWS ALB, GCP, NGINX/Envoy). Close the CDN-to-origin public internet gap. ### P0 · OpenSSH Bastions, Production Hosts & CI Runners - Owner: Infra · 1-Line Config - Change: curve25519-sha256 → `mlkem768x25519-sha256` - Guide: https://pq.info/systems/ssh.md Add post-quantum hybrid key exchange in `sshd_config` across bastions, production hosts, and CI runners, then remove the classical algorithms once every client is confirmed. ### P1 · Outbound Application Runtimes & Database Wire TLS - Owner: Backend · Base Images - Change: Go 1.24+ · rustls (aws-lc-rs) · OpenSSL 3.5+ - Guide: https://pq.info/systems/runtimes.md Upgrade service runtimes so outbound HTTPS requests (Stripe, LLM APIs, AWS KMS) and Postgres/Redis connections offer `X25519MLKEM768` in their `ClientHello`. ### P1 · Backups, Secrets & Fields Encrypted to Public Keys - Owner: Security · Key Wrapping - Change: RSA-OAEP · PGP · age X25519 → **symmetric KMS** or `age1pq1…` recipients - Guide: https://pq.info/systems/secrets.md Anything encrypted to an RSA or elliptic-curve public key and stored where others can copy it is exposed to record-now, decrypt-later exactly like network traffic. Re-wrap data keys under symmetric KMS keys and rotate the secrets inside old archives. ### P1 · Desktop/CLI Auto-Updaters & Release Signing - Owner: Client · Release Pipeline - Change: Ed25519 → `Ed25519 + ML-DSA-65` (both required) - Guide: https://pq.info/systems/signing.md Require two signatures (classical `Ed25519` and post-quantum `ML-DSA-65`) on update manifests before executing downloaded binaries. The verifying key is baked into every installed client, so this is the slowest key you own to replace: start it early. ### P2 · WireGuard Mesh Overlays & Site-to-Site IPsec - Owner: Infra · Mesh Config - Change: Curve25519 Noise → `Noise + PSK` (static or Rosenpass) - Guide: https://pq.info/systems/vpns.md Standard WireGuard uses classical Curve25519. Mix in a 256-bit `PresharedKey`, ideally rotated by Rosenpass, add an ML-KEM exchange to IKEv2 where the gateway supports it, and enforce PQ-TLS inside the tunnel. ### P2 · Internal Same-Boundary JWTs & Signed URLs - Owner: Backend · Code Change - Change: RS256 / ES256 → `HS256` (256-bit secret) - Guide: https://pq.info/systems/jwt.md Where your backend both issues and verifies tokens, replace `RS256` / `ES256` with 256-bit `HS256` HMAC. Removes RSA and elliptic-curve keys from internal tokens and avoids 4.4 KB post-quantum signature headers. ### P3 · Certificates, SSH Keys & Internal mTLS - Owner: Security · PKI - Change: Short-lived ACME · Internal `ML-DSA-65` mTLS · PQ-ready automation - Guide: https://pq.info/systems/pki.md Certificates and SSH host and user keys are RSA or elliptic-curve signatures, and public replacements are only now arriving. Ranked last because it finishes last, not because it can wait: automate short-lived certificates with a fresh key per renewal, issue `ML-DSA-65` internally where your stack supports it, add hybrid SSH keys on OpenSSH 10.6+, and be ready for post-quantum public certificates in 2027. ## Sources Versions and dates verified 3 December 2026. ### Guidance and timelines - [ONCD, NSA and CISA joint statement](https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities) (2 Dec 2026) - [Industry joint statement](https://www.anthropic.com/news/joint-statement-post-quantum-cryptography) (2 Dec 2026) - [Cloudflare: fully post-quantum in 2027](https://blog.cloudflare.com/project-quantum-leap/) (3 Dec 2026) - [Cloudflare Radar post-quantum adoption](https://radar.cloudflare.com/post-quantum) - [Executive Order 14412](https://www.whitehouse.gov/presidential-actions/2026/06/securing-the-nation-against-advanced-cryptographic-attacks/) - [NIST IR 8547](https://csrc.nist.gov/pubs/ir/8547/final), which deprecates RSA and elliptic-curve algorithms after 2030 and disallows them after 2035 - [UK NCSC timelines](https://www.ncsc.gov.uk/guidance/pqc-migration-timelines) - [EU roadmap](https://digital-strategy.ec.europa.eu/en/library/coordinated-implementation-roadmap-transition-post-quantum-cryptography) - [Merkle Tree Certificates draft](https://datatracker.ietf.org/doc/draft-ietf-plants-merkle-tree-certs/) - [Let's Encrypt 6-day certificates](https://letsencrypt.org/2026/01/15/6day-and-ip-general-availability) ### Standards and software - [FIPS 203 (ML-KEM)](https://csrc.nist.gov/pubs/fips/203/final) - [FIPS 204 (ML-DSA)](https://csrc.nist.gov/pubs/fips/204/final) - [FIPS 205 (SLH-DSA)](https://csrc.nist.gov/pubs/fips/205/final) - [RFC 10024 (hybrid key agreement for TLS 1.3)](https://www.rfc-editor.org/rfc/rfc10024.html) - [RFC 10042 (hybrid key exchange for SSH)](https://www.rfc-editor.org/rfc/rfc10042.html) - [OpenSSH post-quantum](https://www.openssh.com/pq.html) - [OpenSSL 3.5](https://openssl-library.org/news/openssl-3.5-notes/) - [Go 1.24](https://go.dev/doc/go1.24) - [JEP 527](https://openjdk.org/jeps/527) - [PostgreSQL 18 `ssl_groups`](https://www.postgresql.org/docs/18/runtime-config-connection.html) - [AWS ALB security policies](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html) --- # Migration checklist > Every change, in phases, each with an owner, a command and links to the pages that cover it. > > Web page: https://pq.info/checklist/ · Index of all pages: https://pq.info/llms.txt Start with the inventory: you cannot migrate what you have not found. Items marked core are P0/P1 work to finish first. The same list is available as JSON at https://pq.info/data/checklist.json. ## Phase A · Inventory Find it before you rank it. ### 1. Inventory everything that uses RSA or elliptic curves (CBOM) - Id: `inventory` - Owner: Security - Core (P0/P1): yes - Guides: [Coding-agent prompts](https://pq.info/audit.md), [Endpoint probes](https://pq.info/audit.md) Catalog every TLS config, SSH key and library, JWT call, certificate and issuer, signing key, and public-key-encrypted backup across application and IaC repositories. Everything below depends on this list being complete. ### 2. Ask every critical vendor for its post-quantum dates - Id: `vendors` - Owner: Security - Core (P0/P1): yes - Guides: [Deadlines](https://pq.info/deadlines.md), [Cloud LBs & CDNs](https://pq.info/systems/cloud.md) CDN, cloud, identity provider, managed databases, payments, CI, and code-signing platforms decide much of your exposure. Record what each supports today and when authentication will follow. ```text Register: service · hybrid key exchange today? · PQ authentication date · contact ``` ### 3. Classify data by how long it must stay secret - Id: `data-lifetime` - Owner: Security - Core (P0/P1): no - Guides: [ECDH / DH Falls](https://pq.info/compromise.md#ecdh), [Public-Key Archives](https://pq.info/compromise.md#pubkey-at-rest) Anything that must remain confidential for years and crosses a network or sits in a public-key-encrypted archive goes to the front of the queue. Short-lived data can follow the default order. ## Phase B · Transit Key Exchange Stops harvest-now, decrypt-later. ### 4. Enable hybrid X25519MLKEM768 on all public CDN zones and edge proxies - Id: `edge-tls` - Owner: Infra - Core (P0/P1): yes - Guides: [Edge & Proxy TLS](https://pq.info/systems/tls.md), [Cloud LBs & CDNs](https://pq.info/systems/cloud.md), [Endpoint probes](https://pq.info/audit.md), [SSL Check API](https://pq.info/ssl-check.md) Negotiate IANA group `0x11ec` on TLS 1.3 across all customer-facing domains and API gateways. ```sh openssl s_client -connect yourdomain.com:443 -tls1_3 -groups X25519MLKEM768 ``` ### 5. Upgrade CDN-to-origin load balancers (AWS ALB/NLB, GCP, ingress) to PQ-TLS - Id: `origin-tls` - Owner: Infra - Core (P0/P1): yes - Guides: [Cloud LBs & CDNs](https://pq.info/systems/cloud.md), [Edge & Proxy TLS](https://pq.info/systems/tls.md) Close the origin gap where traffic between the CDN edge and cloud load balancer falls back to classical `X25519`. ```hcl ssl_policy = "ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09" ``` ### 6. Enforce post-quantum KexAlgorithms on all OpenSSH servers and bastions - Id: `ssh-kex` - Owner: Infra - Core (P0/P1): yes - Guides: [OpenSSH](https://pq.info/systems/ssh.md), [Endpoint probes](https://pq.info/audit.md) Require `mlkem768x25519-sha256` (OpenSSH 9.9+) or `sntrup761x25519-sha512@openssh.com` (8.5+) in `/etc/ssh/sshd_config`, after confirming every client supports one of them. ```sh ssh -vvv bastion.yourdomain.com 2>&1 | grep "kex: algorithm" ``` ### 7. Upgrade backend runtime TLS clients (Go 1.24+, rustls aws-lc-rs, OpenSSL 3.5+, JDK 27+) - Id: `runtime-tls` - Owner: Backend - Core (P0/P1): yes - Guides: [App Runtimes](https://pq.info/systems/runtimes.md), [Cloud APIs & SDKs](https://pq.info/systems/cloud-apis.md), [Kubernetes & Mesh](https://pq.info/systems/k8s.md) Ensure outbound HTTPS requests to third-party APIs and internal services advertise `X25519MLKEM768`. Node.js bundles its own OpenSSL (22.20+ or 24.5+) and Java uses its own TLS stack (JDK 27+), so check those separately from the base image. In Kubernetes, Istio 1.27+ can enforce it mesh-wide and Linkerd 2.19+ does by default. ```text Remove custom Go CurvePreferences arrays that omit tls.X25519MLKEM768 ``` ### 8. Enable hybrid key exchange on database, cache and queue connections - Id: `db-tls` - Owner: Backend - Core (P0/P1): yes - Guides: [Databases & Caches](https://pq.info/systems/databases.md) Credentials and query results cross these links on every request. PostgreSQL needs version 18 and an explicit `ssl_groups`, because its default is classical; Redis needs 8.12 for `tls-groups`. For managed services, probe the endpoint and ask the provider. ```sh openssl s_client -connect db.internal:5432 -starttls postgres -groups X25519MLKEM768 Index of the per-system configuration pages. > > Web page: https://pq.info/systems/ · Index of all pages: https://pq.info/llms.txt Configuration changes by system. Each page has a sample, a walk-through of the sample, and the caveats. - [Edge & Proxy TLS](https://pq.info/systems/tls.md) (P0): Self-Managed TLS Termination (X25519MLKEM768) - [Cloud LBs & CDNs](https://pq.info/systems/cloud.md) (P0): Cloud Load Balancers & CDNs - [OpenSSH](https://pq.info/systems/ssh.md) (P0): OpenSSH Bastions, Servers & Automation - [App Runtimes](https://pq.info/systems/runtimes.md) (P1): Go, Rust, Python, Node.js, JVM & .NET Outbound TLS - [Cloud APIs & SDKs](https://pq.info/systems/cloud-apis.md) (P1): AWS Service Endpoints & SDK Clients - [Databases & Caches](https://pq.info/systems/databases.md) (P1): PostgreSQL, MySQL, Redis & Managed Databases - [Secrets & Backups](https://pq.info/systems/secrets.md) (P1): age, SOPS, PGP, Sealed Secrets & Key Wrapping - [Kubernetes & Mesh](https://pq.info/systems/k8s.md) (P1): Kubernetes, Istio, Envoy & Linkerd - [WireGuard & VPN](https://pq.info/systems/vpns.md) (P2): WireGuard, Tailscale & IPsec - [Updaters & Signing](https://pq.info/systems/signing.md) (P1): Auto-Updaters & Release Signing (Ed25519 + ML-DSA-65) - [JWTs & Auth](https://pq.info/systems/jwt.md) (P2): JWTs, Sessions & Webhooks (RS256 → HS256 or ML-DSA-65) - [X.509 PKI & mTLS](https://pq.info/systems/pki.md) (P3): Internal mTLS and public certificates --- # Edge & Proxy TLS: Self-Managed TLS Termination (X25519MLKEM768) > P0. Network Ingress & Origin Hop. > > Web page: https://pq.info/systems/#tls · Index of all pages: https://pq.info/llms.txt Priority P0 · Network Ingress & Origin Hop. Sample: nginx, HAProxy, Envoy (OpenSSL 3.5.6+ where it applies). Hybrid key exchange combines classical `X25519` and NIST FIPS 203 `ML-KEM-768` inside the TLS 1.3 key schedule (codepoint `0x11ec`, RFC 10024). It adds about 1.2 KB in each direction of the handshake. Clients that do not offer the group negotiate a classical one as before. Hybrid groups exist only in TLS 1.3. This page is for anyone who terminates TLS on machines they run: reverse proxies, ingress controllers, and the origin servers that sit behind a CDN. The change is one line per proxy, a list of key exchange groups in order of preference, plus a log field so you can see what real clients negotiate. It can go out in one step, because the classical groups stay in the list as a fallback. **NGINX** ```nginx # NGINX / ingress-nginx (needs OpenSSL 3.5+; the default "auto" already prefers the hybrid) ssl_protocols TLSv1.3; ssl_ecdh_curve X25519MLKEM768:X25519:secp256r1; # Log the negotiated group so you can measure real PQ coverage log_format pq '$remote_addr $ssl_protocol $ssl_curve'; ``` **HAProxy** ```text # global section; the string is passed to OpenSSL ssl-default-bind-curves X25519MLKEM768:X25519:secp256r1 ``` **Envoy** ```yaml # TlsParameters; the documented default is still X25519, P-256 ecdh_curves: [X25519MLKEM768, X25519, P-256] ``` - `ssl_protocols TLSv1.3` limits the listener to TLS 1.3, the only version that has hybrid groups. If you still serve TLS 1.2 clients, keep `TLSv1.2` in the list; those clients get classical key exchange. - `ssl_ecdh_curve` is the list of groups the server accepts, most preferred first. The hybrid group leads, and `X25519` and `secp256r1` remain for clients that do not offer it. - `log_format` adds `$ssl_curve`, the group each connection negotiated. Counting its values in the access log gives the share of traffic that is protected. - The HAProxy and Envoy samples are the same list in each proxy's syntax. HAProxy hands the string to OpenSSL, so it needs OpenSSL 3.5 as well. Envoy ships its own TLS library, so the system OpenSSL version does not affect it. - Caddy 2.10+ and Traefik 3.5+ support the hybrid group, and Caddy prefers it by default. They need a version, not a setting. ## CDN-to-origin traffic Enabling PQ-TLS at the CDN only protects the browser-to-CDN leg. Unless your origin load balancer or ingress also negotiates `X25519MLKEM768`, traffic between the CDN and your cloud VPC crosses public peering links over classical `X25519`. See the Cloud Load Balancers blueprint for which managed hops support it. In the week to 3 December 2026, [Cloudflare Radar](https://radar.cloudflare.com/post-quantum) found that 29.5% of scanned customer origins supported the hybrid group, against 72.7% of human requests on the visitor side. ## Enabled is not negotiated A connection is only protected when the client also offers the hybrid group. Log the negotiated group and track the share of PQ handshakes. The larger `ClientHello` spans two packets, which some older middleboxes and load balancers mishandle, so roll out with monitoring. ## Use OpenSSL 3.5.6 or later OpenSSL 3.5.0 added the hybrid groups and prefers them by default. Versions before 3.5.6 have CVE-2026-2673: a server whose group list uses the `DEFAULT` keyword may fail to steer clients to the hybrid group. Name the groups explicitly, as above, or patch. ## Why hybrid The session key depends on both `X25519` and `ML-KEM-768`, so an attacker has to break both. That protects you if elliptic curves fall, and equally if a flaw is found in the newer lattice scheme. NIST accepts hybrid key establishment in validated modules when one component is an approved scheme. ## Classical certificates in TLS 1.3 In TLS 1.3 the certificate signs the live handshake transcript; it does not encrypt the session key. Pairing `X25519MLKEM768` with an existing ECDSA certificate protects recorded traffic today. The certificate is still an elliptic-curve signature and is on the migration list: see the PKI blueprint. ## Windows servers Schannel on Windows 11 and Windows Server 2025 supports hybrid TLS 1.3 but ships with it off. Enable it with `Enable-TlsEccCurve -Name "X25519_MLKEM768" -Position 0` from an elevated PowerShell; Group Policy overrides the setting. --- # Cloud LBs & CDNs: Cloud Load Balancers & CDNs > P0. Managed Ingress. > > Web page: https://pq.info/systems/#cloud · Index of all pages: https://pq.info/llms.txt Priority P0 · Managed Ingress. Sample: AWS, Google Cloud, Azure, Akamai, Cloudflare. Managed front ends differ on whether hybrid key exchange is on without you asking, and on whether it covers the hop from the provider to your origin. Check both for every provider in the path. Use this page when a provider terminates TLS for you. Nothing here changes your application: every entry is a setting on a load balancer or CDN. There is one block per provider, and its comment says whether hybrid key exchange is already on or has to be requested. **AWS ALB / NLB** ```hcl # Opt-in. The console defaults to this policy, but the CLI, # CloudFormation and CDK still default to ELBSecurityPolicy-2016-08. resource "aws_lb_listener" "https" { port = 443 protocol = "HTTPS" ssl_policy = "ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09" certificate_arn = aws_acm_certificate.default.arn } ``` **AWS API Gateway** ```text # REST APIs only, opt-in. security policy SecurityPolicy_TLS13_1_2_PQ_2025_09 endpoint access BASIC first, then STRICT ``` **AWS CloudFront** ```text # On by default for viewers on every security policy. Nothing to set. ``` **Google Cloud** ```sh # On by default for load balancers since October 2026. # To make it explicit on an SSL policy: gcloud compute ssl-policies update SSL_POLICY_NAME --post-quantum-key-exchange ENABLED ``` **Azure Front Door** ```text # Standard/Premium: on by default. # Per custom domain: TLS key exchange policy = Standard, Enhanced or Custom ``` **Akamai** ```text # Client-to-edge: on by default on Enhanced TLS. # The origin leg is opt-in: add the behavior Post Quantum Cryptography (PQC) to Origin ``` **Cloudflare** ```text # Visitor leg on by default; origin leg automatic when the origin supports it. # To require it: SSL/TLS > Overview > Compliance requirements = Post-quantum hybrid ``` - The Terraform block is an ordinary HTTPS listener. The only line that matters is `ssl_policy`: this policy offers the hybrid group on TLS 1.3 and keeps TLS 1.2 for older clients. Set it wherever listeners are created outside the console, since those paths still default to the 2016 policy. - API Gateway takes a security policy and an endpoint access mode. Start with `BASIC` and move to `STRICT` once you have confirmed that clients still connect. - The `gcloud` command does not change behaviour on a load balancer where the feature is already on. It records the setting on the SSL policy, so it shows up in configuration review and cannot drift. - The Azure, Akamai and Cloudflare entries are console settings, written as comments. Two of them concern the origin leg: Akamai's is off until you add the behavior, and Cloudflare's only takes effect when your origin offers the hybrid group, which is the Edge & Proxy TLS page. ## The origin hop is the usual gap As of December 2026: CloudFront does not yet use hybrid key exchange to origins. Google Cloud load balancers support it on the frontend only. Azure Front Door's policy covers client-to-edge only. API Gateway integrations use TLS 1.2. For those hops, keep the origin on a private path or accept and track the gap. Cloudflare and Akamai can both negotiate the hybrid group with an origin that offers it. Few origins do: [Cloudflare Radar](https://radar.cloudflare.com/post-quantum) reported for the week to 3 December 2026 that 72.7% of human HTTPS requests reaching Cloudflare used post-quantum key exchange, while 29.5% of the customer origin servers it scanned supported `X25519MLKEM768`. ## Not on by default AWS ALB and NLB created from infrastructure-as-code, and API Gateway REST APIs, stay classical until you set the policy. API Gateway HTTP and WebSocket APIs have no post-quantum policy. Azure Application Gateway documents no post-quantum option. AWS Classic Load Balancers have no plan for one: migrate off them. ## Verify from the provider's logs ALB connection logs and NLB access logs record the negotiated key exchange. Cloudflare Logpush exposes `ClientTLSKeyExchangeGroup`. For the origin leg, probe the origin address directly; public checkers only see the edge. ## FIPS and CNSA 2.0 variants AWS has FIPS equivalents such as `ELBSecurityPolicy-TLS13-1-2-Res-FIPS-PQ-2025-09`, and separate CNSA 2.0 policies that use `ML-KEM-1024`. Pick those only if a compliance regime requires them. ## Other platforms Vercel and Fastly enable hybrid key exchange for visitors automatically. If your platform's documentation does not mention it, test with the probe in the Audit chapter and ask. --- # OpenSSH: OpenSSH Bastions, Servers & Automation > P0. Administrative Access. > > Web page: https://pq.info/systems/#ssh · Index of all pages: https://pq.info/llms.txt Priority P0 · Administrative Access. Sample: /etc/ssh/sshd_config. OpenSSH added `mlkem768x25519-sha256` in 9.9 and made it the default in 10.0. `sntrup761x25519-sha512@openssh.com` has been available since 8.5 and the default since 9.0. CIS/STIG hardening templates routinely overwrite `KexAlgorithms` with classical curves. This applies to every `sshd` you run: bastions, servers, Git hosts, and the machines that automation logs in to. The configuration below is the end state, in which a client that cannot do hybrid key exchange is refused. To get there, confirm what your clients negotiate today, using the notes below, then enforce. ```sshconfig # Enforce hybrid post-quantum key exchange only KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512@openssh.com # 256-bit symmetric ciphers (already post-quantum safe) Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com # OpenSSH 10.6+: add a hybrid post-quantum host key alongside the existing ones # ssh-keygen -t mldsa44-ed25519 -f /etc/ssh/ssh_host_mldsa44_ed25519_key -N "" HostKey /etc/ssh/ssh_host_mldsa44_ed25519_key HostKey /etc/ssh/ssh_host_ed25519_key ``` - `KexAlgorithms` lists only the two hybrid exchanges, so a classical-only client fails to connect. In SSH the client's order decides among the algorithms both sides support, which means that leaving `curve25519-sha256` on the end as a fallback does not guarantee hybrid for clients that prefer it. - `Ciphers` and `MACs` are not post-quantum changes. They keep the session on 256-bit ciphers. Both ciphers are authenticated on their own, so the `MACs` line only matters if someone later adds a cipher that is not. - The commented `ssh-keygen` line creates a hybrid ML-DSA and Ed25519 host key. `sshd` offers every `HostKey` it is given, so older clients keep verifying the Ed25519 key they already trust while 10.6 clients can use the new one. - Run `sshd -t` to check the file, then reload. Keep an existing session open until a new login has succeeded. ## Check clients before enforcing A hybrid-only list locks out OpenSSH clients older than 8.5 and any library without these algorithms. Before removing `curve25519-sha256`, confirm CI workers on `golang.org/x/crypto/ssh` (v0.38.0+, built with Go 1.24+) and Python Paramiko (5.1.0+ with a `cryptography` build that exposes ML-KEM) are current. Add the hybrid algorithms first, watch the logs, then remove the classical ones. ## Let OpenSSH tell you OpenSSH 10.1+ clients print a warning when a connection is not using post-quantum key exchange, controlled by `WarnWeakCrypto`. From 10.6 the server logs the same thing for each incoming connection. Grep `sshd` logs for `not using a post-quantum key exchange` to find the clients still on classical algorithms. ## Verify active sshd config Run `sudo sshd -T | grep kexalgorithms` on every host to confirm no drop-in file under `/etc/ssh/sshd_config.d/` re-enables classical Diffie-Hellman. ## Host and user keys Key exchange protects the session; the keys that authenticate it are separate. OpenSSH 10.6 enabled a hybrid signature type, `ssh-mldsa44-ed25519`, for host keys, user keys and (from 10.6p2) certificate authorities. Earlier versions have only RSA and elliptic-curve keys. Inventory every host and user key now, move to short-lived SSH certificates so a re-key is one change, and add hybrid keys as your fleet and clients reach 10.6. --- # App Runtimes: Go, Rust, Python, Node.js, JVM & .NET Outbound TLS > P1. Service Egress. > > Web page: https://pq.info/systems/#runtimes · Index of all pages: https://pq.info/llms.txt Priority P1 · Service Egress. Sample: Minimum versions that offer X25519MLKEM768 by default. Ensure your application containers offer `X25519MLKEM768` when acting as TLS clients calling external APIs (LLM providers, Stripe, AWS S3/KMS) or internal microservices. Each runtime gets its TLS stack from a different place, so each has its own minimum version. This covers outbound connections, where your code is the TLS client. In most cases there is nothing to configure. You need a recent enough runtime or base image, and no pinned group list overriding its default. The sample is a reference list, not a single file: find the lines for each runtime you ship. **Go** ```go // Go 1.24+: on by default. Leave CurvePreferences unset; a custom list // that omits tls.X25519MLKEM768 turns it off. tlsCfg := &tls.Config{MinVersion: tls.VersionTLS13} ``` **Rust** ```text # rustls 0.23.27+ with the aws-lc-rs provider prefers it by default. # The ring provider has no post-quantum support. ``` **Java** ```sh # JDK 27+ prefers it by default (JEP 527). To set it explicitly: -Djdk.tls.namedGroups=X25519MLKEM768,x25519,secp256r1 ``` **Node.js** ```sh # Node.js bundles its own OpenSSL; the base image's version does not matter. node -p process.versions.openssl # needs 3.5+: Node 22.20+, 24.5+, 25, 26 ``` **Python, Ruby, PHP, .NET** ```ini # These use the system OpenSSL. 3.5+ offers the hybrid group by default. # Base images with OpenSSL 3.5: # Debian 13 (trixie) · Ubuntu 25.10 / 26.04 · Alpine 3.22+ · RHEL 10.1+ # Debian 12 (bookworm) and Ubuntu 24.04 ship OpenSSL 3.0: no hybrid. # Only if a hardened /etc/ssl/openssl.cnf already pins groups: openssl_conf = openssl_init [openssl_init] ssl_conf = ssl_sect [ssl_sect] system_default = system_default_sect [system_default_sect] MinProtocol = TLSv1.3 Groups = X25519MLKEM768:X25519:P-256 ``` - Go: the `tls.Config` sets a minimum version and nothing else. The hybrid group comes from the default, so search your code for `CurvePreferences` and remove custom lists. - Rust: the version and the crypto provider both matter. Check which provider your `rustls` features select, including through dependencies such as `reqwest`. - Java: nothing to set on JDK 27. The system property is for making the list explicit. - Node.js: the command prints the OpenSSL version compiled into the `node` binary, which is the one that counts. - Python, Ruby, PHP and .NET on Linux use the OpenSSL installed in the image, so the upgrade is a base image change. - The `openssl.cnf` block sets the default for every program on the machine that uses the system OpenSSL. Add it only where a hardened file already pins groups. `MinProtocol = TLSv1.3` also stops calls to TLS 1.2 servers, so leave that line out if you still depend on any. ## The base image decides for most languages A `python:3.12-bookworm` image links OpenSSL 3.0 and cannot negotiate the hybrid group however new the interpreter is. Moving to a `trixie` or current Alpine tag is usually the whole fix. Python gained a per-context `SSLContext.set_groups()` only in 3.15. ## JVM before 27 Older JDKs have no hybrid group in their own TLS stack. Upgrade, or terminate outbound TLS in a sidecar or proxy that supports `X25519MLKEM768`. ## .NET and Windows On Linux, .NET uses the system OpenSSL. On Windows it uses Schannel, where hybrid TLS is off until enabled with `Enable-TlsEccCurve -Name "X25519_MLKEM768" -Position 0`. ## Verify from inside the container Check what each service actually negotiates against a known PQ endpoint. The runtime version in the Dockerfile is not proof: a pinned curve list, an old base image, or a vendored TLS library can each silently fall back to classical. In Node, `tlsSocket.getEphemeralKeyInfo()` reports the negotiated group. --- # Cloud APIs & SDKs: AWS Service Endpoints & SDK Clients > P1. Calls to Your Cloud Provider. > > Web page: https://pq.info/systems/#cloud-apis · Index of all pages: https://pq.info/llms.txt Priority P1 · Calls to Your Cloud Provider. Sample: AWS SDK for Java v2, and verifying with CloudTrail. Every call to KMS, Secrets Manager or S3 carries keys, secrets or data. AWS serves hybrid key exchange on these endpoints; whether a call uses it depends on the SDK and the TLS library underneath it. This is the App Runtimes page applied to one destination: your cloud provider's API. The endpoints already accept hybrid key exchange. The work is on your side, getting the SDK to offer it and then using the provider's audit log to prove it did. The sample covers each: a client setting, a log filter, and an operating system setting for SDKs that use the system OpenSSL. **AWS SDK for Java v2** ```java // The CRT HTTP client (aws-crt-client 2.30.22+). // From 2.35.11 it prefers post-quantum TLS by default. SdkAsyncHttpClient http = AwsCrtAsyncHttpClient.builder() .postQuantumTlsEnabled(true) .build(); KmsAsyncClient kms = KmsAsyncClient.builder().httpClient(http).build(); ``` **CloudWatch Logs filter** ```text # KMS calls from your own code that did NOT use ML-KEM { ($.eventSource = "kms.amazonaws.com") && ($.userIdentity.invokedBy NOT EXISTS) && (($.tlsDetails.keyExchange != "*MLKEM*") || ($.tlsDetails.keyExchange NOT EXISTS)) } ``` **Amazon Linux** ```sh # Amazon Linux 2023.12+: let the system OpenSSL offer the hybrid group sudo update-crypto-policies --set DEFAULT:PQ ``` - The Java lines swap the SDK's default HTTP client for the CRT client and turn post-quantum TLS on, then pass that client to the KMS client. From 2.35.11 the flag is already the default; setting it states the intent and covers older versions. - The CloudWatch Logs filter matches CloudTrail events where the call went to KMS, it came from your code and not from an AWS service acting for you (`invokedBy` is absent), and the recorded key exchange does not contain `MLKEM`. Every match is a caller to fix. An empty result is the goal. - `update-crypto-policies` changes the system-wide policy on Amazon Linux so that anything using the system OpenSSL, such as the Python SDK, offers the hybrid group. It affects every process on the host. ## Which endpoints KMS, ACM, Secrets Manager, STS, IAM and S3 accept hybrid key exchange on standard and FIPS endpoints. DynamoDB does on standard endpoints. For SQS and ElastiCache it covers the control-plane API only. Google's `*.googleapis.com` endpoints also offer it. ## Which SDKs On by default: Go (1.24+), Rust (crates published after August 2025), Node.js (22.20+ or 24.5+), Kotlin on Linux, and the AWS CLI v2 on Linux (2.34.54+). Python, Ruby, PHP and .NET follow the system OpenSSL, so they need 3.5+. The Java default client follows the JDK (27+), or use the CRT client above. C++ needs the CRT client built in. On macOS and Windows the result depends on the operating system's TLS library. ## Verify with CloudTrail CloudTrail records `tlsDetails.keyExchange` for each API call, for example `X25519MLKEM768`. The filter above finds your own callers that are still classical; run it before and after each runtime upgrade. ## Post-quantum keys in cloud KMS Google Cloud KMS offers ML-KEM, the X-Wing hybrid KEM, ML-DSA and SLH-DSA keys at the software protection level. Azure Key Vault and Managed HSM list no post-quantum key types yet. For wrapping your own data keys, a symmetric KMS key remains the simplest post-quantum-safe choice on every provider. --- # Databases & Caches: PostgreSQL, MySQL, Redis & Managed Databases > P1. Data Stores & Envelope Encryption. > > Web page: https://pq.info/systems/#databases · Index of all pages: https://pq.info/llms.txt Priority P1 · Data Stores & Envelope Encryption. Sample: postgresql.conf (18+), redis.conf (8.12+), MySQL 26.7+. AES-256 disk volumes and database snapshots do not need re-encryption. Focus on the TLS handshake of every database, cache and queue connection. Database connections are internal and long-lived, and they are often left out of TLS reviews, although they carry credentials and every row you read. The setting is on the server. Clients follow once their TLS library offers the hybrid group, which is the App Runtimes page. Each block below is a different server: use the one you run. **PostgreSQL** ```ini # postgresql.conf, PostgreSQL 18+ with OpenSSL 3.5+. The default is # X25519:prime256v1, so the hybrid group is NOT offered until you set this. ssl = on ssl_min_protocol_version = 'TLSv1.3' ssl_groups = 'X25519MLKEM768:X25519:prime256v1' ``` **Redis** ```text # redis.conf, Redis 8.12+ (earlier versions and Valkey use the OpenSSL defaults) tls-groups X25519MLKEM768:X25519:prime256v1 ``` **MySQL** ```sql -- MySQL 26.7+ with OpenSSL 3.5+ SET GLOBAL tls_kex = 'X25519MLKEM768:secp256r1'; ``` **Verify** ```sh # Check any of them from a client machine openssl s_client -connect db.internal:5432 -starttls postgres \ -groups X25519MLKEM768 /dev/null | grep "Negotiated TLS1.3 group" ``` - For PostgreSQL, `ssl = on` enables TLS. `ssl_min_protocol_version` requires TLS 1.3, the only version with hybrid groups, and refuses older drivers, so check your clients first. `ssl_groups` is the preference list, hybrid first. A reload applies them. - The Redis line is the same list in `redis.conf`. - `SET GLOBAL` in MySQL lasts until the next restart. Use `SET PERSIST` to keep it. - The `openssl s_client` command connects the way a PostgreSQL driver does (`-starttls postgres`) and offers only the hybrid group. A printed `Negotiated TLS1.3 group` line means the server supports it, and no output means the handshake failed. Change the port and the `-starttls` option for other databases. ## PostgreSQL 17 and earlier `ssl_groups` is new in PostgreSQL 18. Earlier versions have `ssl_ecdh_curve`, which takes a single curve and cannot select a hybrid group. The client library has no setting of its own and follows OpenSSL. PgBouncer accepts only a single named curve on its client side, so a pooler in the path can be the classical hop. ## AWS RDS and Aurora RDS and Aurora PostgreSQL 18+: set the `ssl_groups` parameter (dynamic, no reboot); the default is classical. Aurora MySQL 8.4.8+ negotiates hybrid groups automatically; check with `SHOW STATUS LIKE 'Aurora_ssl_named_group';`. RDS for MySQL 8.4.11+ and RDS for MariaDB 12.3.3+ support them. ElastiCache nodes have no documented support: only its control-plane API does. ## Other managed services Google Cloud SQL and Memorystore, Azure SQL, and the smaller managed Postgres and Redis vendors publish nothing on hybrid key exchange as of December 2026. Probe the endpoint with the command above and ask the vendor for a date if it is still classical. ## MariaDB, MongoDB and Valkey None has a setting for TLS groups; each uses the defaults of the TLS library it is linked against. Running them on OpenSSL 3.5+ is what enables the hybrid group. Confirm with a probe. ## Keys and backups Database dumps and field-level encryption often use public-key wrapping. That is covered in the Secrets & Backups blueprint. --- # Secrets & Backups: age, SOPS, PGP, Sealed Secrets & Key Wrapping > P1. Data Encrypted to Public Keys. > > Web page: https://pq.info/systems/#secrets · Index of all pages: https://pq.info/llms.txt Priority P1 · Data Encrypted to Public Keys. Sample: age 1.3+ and SOPS 3.12+. A file encrypted to an RSA or elliptic-curve public key carries its own wrapped key. Anyone who copies the file can keep it until that key can be recovered, so this is the same exposure as recorded network traffic, without a handshake you can upgrade later. This page is about files, not connections: encrypted backups, secrets committed to Git, and anything else encrypted to a public key and then stored. Change what new files are encrypted to, and find the files already written. The sample does them in order: a new key, the tool configuration, re-encryption, and a search. **age** ```sh # age 1.4+ generates hybrid post-quantum keys (ML-KEM-768 + X25519) by default # and warns on legacy keys. On 1.3, add -pq. age-keygen -o key.txt # recipient starts with age1pq1... age -r age1pq1... -o backup.tar.age backup.tar ``` **SOPS** ```yaml # .sops.yaml, SOPS 3.12+: the same recipients as age creation_rules: - age: age1pq1... ``` **Existing files** ```sh # Re-encrypt existing SOPS files to the new recipient, then remove the old one sops updatekeys secrets.enc.yaml # Find legacy recipients still in the repo grep -rIl -E "\bage1[a-z0-9]{58}\b|BEGIN PGP MESSAGE|kind: SealedSecret" . ``` - `age-keygen` writes a private key file and prints the public recipient. A hybrid recipient starts with `age1pq1`. `age -r` encrypts a file to it. - The `creation_rules` lines belong in `.sops.yaml` and decide what new SOPS files are encrypted to. - `sops updatekeys` re-wraps an existing file's data key for the recipients now in `.sops.yaml`. It does not change the secrets inside the file, which is why the first note below also asks you to rotate them. - The `grep` lists files that mention a classical age recipient, contain a PGP message, or are Sealed Secrets. That is your list of places where classical recipients are still configured or recorded. ## Re-encrypting is not enough Copies of the old ciphertext still exist in Git history, old backups and third-party inboxes. After moving to a post-quantum or symmetric recipient, rotate the secrets that were inside: database passwords, API keys, signing secrets. ## Prefer symmetric wrapping where you can A symmetric KMS key (`SYMMETRIC_DEFAULT`, AES-256-GCM) leaves no public key to attack. SOPS, backup tools and envelope encryption can all use one. Tools that are symmetric throughout, such as restic and borg, are not affected. ## Sealed Secrets Bitnami sealed-secrets wraps each secret with RSA-OAEP under a 4096-bit RSA key and has no post-quantum option. `SealedSecret` manifests committed to Git are long-lived ciphertext under that key. Move to SOPS with a post-quantum or KMS recipient, or to an external secrets store, and rotate what was sealed. ## PGP OpenPGP has a post-quantum standard (RFC 9980) and GnuPG 2.5 can encrypt to composite ML-KEM keys, with `--require-pqc-encryption` to refuse anything else. Both sides need current software, so for partner exchanges agree the key type explicitly. ## Cloud KMS asymmetric keys AWS KMS has `ML_KEM_768` and `ML_DSA_65` key specs, and Google Cloud KMS has `KEM_XWING`, ML-KEM and ML-DSA. Replace `RSA_*` and `ECC_*` keys used for encryption or wrapping with these or with symmetric keys. --- # Kubernetes & Mesh: Kubernetes, Istio, Envoy & Linkerd > P1. Cluster & Service-to-Service Traffic. > > Web page: https://pq.info/systems/#k8s · Index of all pages: https://pq.info/llms.txt Priority P1 · Cluster & Service-to-Service Traffic. Sample: Istio 1.27+, Envoy, SPIRE. East-west traffic carries the same credentials and data as north-south traffic, and a mesh makes the key exchange a single setting. The control plane and the mesh sidecars are separate TLS stacks: check both. Check both the mesh that encrypts pod-to-pod traffic and the control plane (API server, etcd, kubelets), which the notes below cover. The sample is about the mesh: one switch for the whole mesh, the setting on an individual proxy, and the identity system that issues workload certificates. **Istio** ```yaml # Istio 1.27+: enforce TLS 1.3 with X25519MLKEM768 mesh-wide (marked experimental). # Set on istiod; in ambient mode set it on ztunnel as well. env: - name: COMPLIANCE_POLICY value: pqc ``` **Envoy** ```yaml # Envoy 1.40+ includes X25519MLKEM768 in its default curves. # On earlier versions, set it explicitly: common_tls_context: tls_params: ecdh_curves: [X25519MLKEM768, X25519, P-256] ``` **SPIRE** ```hcl # SPIRE server 1.14.3+: require a post-quantum key exchange server { experimental { require_pq_kem = true } } ``` - The `COMPLIANCE_POLICY` variable goes on the `istiod` deployment. It limits the mesh to TLS 1.3 with the hybrid group, so a workload or gateway that cannot do that stops connecting. Istio marks it experimental: try it outside production first. - The `tls_params` block is for Envoy that you configure yourself, or for versions before 1.40. It is the same preference list as on the Edge & Proxy TLS page, with classical groups kept as a fallback. - The SPIRE setting makes connections to the SPIRE server require a post-quantum key exchange. It sits under `experimental`, so expect the name to change. ## Control plane Kubernetes 1.33 and later are built with Go 1.24+, so the API server, kubelet and `kubectl` negotiate `X25519MLKEM768` by default. Mixed versions fall back silently: a 1.33 client talking to a 1.32 API server shares no post-quantum group and uses classical `X25519`. Upgrade both ends before counting the control plane as done. ## Linkerd Linkerd 2.19+ uses ML-KEM-768 hybrid key exchange by default between meshed pods. Nothing to configure; confirm the version. ## Measure it Envoy 1.39+ can log the negotiated group with `%DOWNSTREAM_TLS_GROUP%` and `%UPSTREAM_TLS_GROUP%`. Add them to the access log format and look for anything other than `X25519MLKEM768`. ## Identity is still classical Workload certificates, service-account tokens and cluster CA certificates remain RSA or elliptic-curve. No released version of Istio, Linkerd, SPIRE or cert-manager issues ML-DSA workload certificates yet. Keep workload certificate lifetimes short, which meshes already do, and track each project's release notes. ## Overlay encryption Cilium's WireGuard and IPsec transparent encryption document no post-quantum option. Treat it as a classical layer and rely on the mesh or application TLS inside it. --- # WireGuard & VPN: WireGuard, Tailscale & IPsec > P2. Private Networks. > > Web page: https://pq.info/systems/#vpns · Index of all pages: https://pq.info/llms.txt Priority P2 · Private Networks. Sample: WireGuard pre-shared key · strongSwan 6.0+. WireGuard's `Noise_IKpsk2` handshake includes a 256-bit `PresharedKey` slot specifically designed to add post-quantum resistance on top of Curve25519. IPsec gateways can add an ML-KEM exchange to IKEv2. A VPN tunnel can be recorded like any other traffic, and everything inside it inherits its protection. WireGuard has no algorithm negotiation, so its handshake cannot be upgraded in place. You add a secret that both ends mix into the handshake instead. IPsec does negotiate, so it gets a hybrid proposal. The samples cover WireGuard, then strongSwan. **WireGuard** ```sh wg genpsk > /etc/wireguard/pq.psk && chmod 600 /etc/wireguard/pq.psk # Apply to a running interface (takes a file path): wg set wg0 peer preshared-key /etc/wireguard/pq.psk # Verify every peer has one: wg show all preshared-keys ``` **wg0.conf** ```ini # To make it permanent, /etc/wireguard/wg0.conf (takes the base64 key itself): [Peer] PresharedKey = ``` **strongSwan** ```text # strongSwan 6.0+ (swanctl.conf): X25519 plus an additional ML-KEM-768 exchange proposals = aes256gcm16-prfsha384-x25519-ke1_mlkem768 ``` - `wg genpsk` creates a random 256-bit key, and `chmod 600` keeps it readable by root only. Use one key per pair of peers, and move it to the other end over a channel that is not itself the thing you are protecting. - `wg set` applies the key to a running interface without a restart. Both ends need the same key or the handshake fails, so change them together. - The `PresharedKey` line makes it permanent in the configuration file. Note the difference: `wg set` takes a file path, the configuration file takes the key itself. - `wg show all preshared-keys` prints `(none)` beside any peer that does not have one. - The strongSwan proposal reads left to right: AES-256-GCM, a SHA-384 PRF, X25519, and one additional key exchange using ML-KEM-768. Both gateways need to support it. ## Static keys and Rosenpass A static pre-shared key must reach both peers over a channel that is itself quantum-safe, and it protects past sessions only while it stays secret. Rosenpass runs a post-quantum key exchange (Classic McEliece plus Kyber) alongside WireGuard and rotates the pre-shared key about every two minutes. ## Tailscale Tailscale 1.106+ adds an ephemeral ML-KEM-768 step to the WireGuard handshake automatically when both devices run it; older peers fall back to classical. Upgrade every node, then check for stragglers. ## IPsec / IKEv2 RFC 9370 lets IKEv2 add key exchanges, and strongSwan 6.0+ and Libreswan 5.4+ support ML-KEM with it. AWS Site-to-Site VPN accepts post-quantum additional key exchanges as of November 2026. Azure VPN Gateway and Google Cloud VPN document classical groups only; with those, use RFC 8784 pre-shared keys if both ends support them and keep PQ-TLS inside the tunnel. ## Inside the tunnel Keep PQ-TLS on the connections inside the tunnel. The overlay is a second layer and should not be the only one. --- # Updaters & Signing: Auto-Updaters & Release Signing (Ed25519 + ML-DSA-65) > P1. Software Supply Chain. > > Web page: https://pq.info/systems/#signing · Index of all pages: https://pq.info/llms.txt Priority P1 · Software Supply Chain. Sample: Dual-Signature Updater Verification (Rust). Protect desktop apps and CLI self-updaters against signature forgery by requiring both a classical `Ed25519` and a FIPS 204 `ML-DSA-65` signature to pass. Start early: the verifying key ships inside every installed copy, so this is the slowest key you own to replace. This applies if you ship software that updates itself or that other people verify: desktop apps, CLIs, agents, firmware. A signature cannot be recorded now and broken later, but the key that checks it lives inside every installed copy, so the change takes as long as your slowest user takes to update. The sample is the whole idea. The real work is around it: creating and guarding a second key, signing with it in the release pipeline, and shipping a version that knows the new key. ```rust pub fn verify_update_manifest(payload: &[u8], sigs: &Sigs) -> Result<(), Error> { ED25519_ROOT.verify_strict(payload, &sigs.ed25519)?; MLDSA65_ROOT.verify(payload, &sigs.mldsa65)?; Ok(()) } ``` - The function receives the update manifest and a pair of signatures over it. - The first line checks the Ed25519 signature against a key compiled into the application. `verify_strict` also rejects malformed signatures and weak keys. - The second line checks an ML-DSA-65 signature over the same bytes against a second compiled-in key. - The `?` after each call returns on failure, so no path accepts an update with only one valid signature. An attacker has to break both algorithms. ## Both must pass Requiring both signatures means a forger has to break elliptic curves and ML-DSA. Accepting either one would be weaker than what you have now. NIST accepts dual signatures in validated modules when one component is an approved scheme. These are two independent signatures; the IETF composite format (RFC 10073) is a separate, single-signature encoding. ## Ship the new key before you need it Clients can only verify with keys they already hold. Release a version that carries the ML-DSA public key and enforces both signatures, then set a minimum-version floor so old clients update through it. ## Updater frameworks do not do this for you Tauri's updater, Sparkle and minisign verify Ed25519 only, and none documents a post-quantum option. Add the second check in your own code, as above, on top of the framework's signature. ## Platform code signing Windows production signing is scheduled to become post-quantum by default in 2027. Android 17 adds APK Signature Scheme v3.2, a hybrid of a classical signer and `ML-DSA-65` or `ML-DSA-87`; keep the classical block for older devices. Apple has announced nothing for code signing or notarization. ## Containers and artifacts Sigstore's public instance, cosign and Notation sign with RSA or ECDSA today; Sigstore's ML-DSA identifiers are experimental and for private deployments only. Docker Content Trust is being retired. Record these as classical in your inventory and pin images by digest so a forged signature alone cannot substitute content. ## Firmware and decade-long roots For keys that must outlast the hardware, consider the hash-based schemes: SLH-DSA (FIPS 205), or LMS/XMSS (SP 800-208), which national-security guidance requires for firmware signing. --- # JWTs & Auth: JWTs, Sessions & Webhooks (RS256 → HS256 or ML-DSA-65) > P2. Application Authentication. > > Web page: https://pq.info/systems/#jwt · Index of all pages: https://pq.info/llms.txt Priority P2 · Application Authentication. Sample: Same-Boundary JWT Verification (TypeScript / Node). An `ML-DSA-65` signature is 3,309 bytes raw (~4.4 KB Base64), which exceeds the 4 KB cookie limit on its own and crowds default 8 KB header buffers. For tokens issued and verified inside your own backend boundary, switch to 256-bit `HS256` HMAC. For tokens that others verify, plan for ML-DSA. Tokens are short-lived, so there is nothing stored to decrypt later. The risk is forgery, once a signing key can be recovered from the public key you publish. The answer depends on who verifies the token. For tokens your own services both issue and verify, move to symmetric signing now. For tokens that third parties verify, you need a public-key signature, which means waiting for ML-DSA support and making room for its size. The sample is the first case. ```ts const HMAC_SECRET = Buffer.from(process.env.JWT_HMAC_256_HEX!, 'hex'); // 32 bytes export function signSession(payload: object): string { return jwt.sign(payload, HMAC_SECRET, { algorithm: 'HS256', expiresIn: '15m' }); } export function verifySession(token: string) { // Pin algorithms: ['HS256'] to block alg:none and RSA key-confusion attacks return jwt.verify(token, HMAC_SECRET, { algorithms: ['HS256'] }); } ``` - `HMAC_SECRET` is 32 random bytes read from the environment as hex (`openssl rand -hex 32` makes one). There is no public half for anyone to attack. - `signSession` signs with `HS256` and a 15-minute expiry, which limits how long a stolen token is useful. - `verifySession` passes `algorithms: ['HS256']`, so the verifier decides the algorithm and the token's own header does not. - The same secret signs and verifies. That is why this only suits services inside one trust boundary, as the second note below explains. ## Internal HMAC properties Symmetric 256-bit HMAC exposes no public key in JWKS to invert, adds only a 32-byte tag to the token, verifies in about a microsecond, and is not affected by Shor's algorithm. ## Every verifier can also sign With HMAC, any service holding the secret can mint tokens. Use it only where issuer and verifier are the same service or the same trust boundary. If many services verify, have them call the issuer or use per-service secrets; do not spread one signing secret across the fleet. ## Tokens that others verify ML-DSA for JWTs is standardized in RFC 9964: `alg` values `ML-DSA-44`, `ML-DSA-65` and `ML-DSA-87`, with JWK key type `AKP`. Library support is uneven: panva `jose` has it from 6.1.0, while `jsonwebtoken`, `golang-jwt` and PyJWT do not list it. If you issue tokens to third parties, publish a second JWKS key with the new algorithm, let verifiers opt in, and keep the token out of cookies. ## Make room for larger tokens Raise proxy header buffers (`large_client_header_buffers 4 16k;` in NGINX), and add an algorithm or version field to webhook signature headers now so a second signature can be introduced without breaking receivers. ## External OIDC (Okta / Google / Entra) No major identity provider has announced post-quantum token signing. Exchange the external ID token immediately for an internal `HS256` session. A short token lifetime does not stop forgery if the provider's signing key itself is recovered, so ask each provider for its signing-key rotation schedule and its post-quantum plan. --- # X.509 PKI & mTLS: Internal mTLS and public certificates > P3. Certificates · Start Now, Long Lead Time. > > Web page: https://pq.info/systems/#pki · Index of all pages: https://pq.info/llms.txt Priority P3 · Certificates · Start Now, Long Lead Time. Sample: Internal ML-DSA-65 CA (OpenSSL 3.5+) and short-lived public certificates. Every certificate you hold today is an RSA or elliptic-curve signature. Internally, where you control both trust stores, you can issue `ML-DSA-65` certificates now on stacks that support them. For public sites no CA can issue a post-quantum certificate yet: keep ECDSA leaves with `X25519MLKEM768` key exchange, shorten lifetimes, and be ready to switch. Certificates are the long-lead item. The change depends on certificate authorities, browsers and libraries as well as on you. There is no recorded-traffic risk, which is why this ranks last, but the lead time is why you start now. The sample shows what you can do today: a post-quantum CA for internal services where you control both ends, and shorter-lived public certificates. **Internal ML-DSA CA** ```sh # Internal root CA with an ML-DSA-65 key (OpenSSL 3.5+) openssl req -x509 -new -newkey mldsa65 -keyout internal-ca.key -out internal-ca.crt \ -nodes -subj "/CN=Internal Post-Quantum mTLS CA" -days 365 # Confirm a peer authenticates with it openssl s_client -connect svc.internal:443 -CAfile internal-ca.crt -brief Command-line probes for live TLS and SSH endpoints, and repository audit prompts for coding agents. > > Web page: https://pq.info/audit/ · Index of all pages: https://pq.info/llms.txt ## Live endpoint probes Each probe shows the output that means pass and the output that means fail. ### 1. Probe Public HTTPS & Origin ALB ```sh openssl s_client -connect api.yourdomain.com:443 -tls1_3 \ -groups X25519MLKEM768:X25519 /dev/null \ | grep -E "Negotiated TLS1.3 group|Peer Temp Key" # Requires a local OpenSSL 3.5+ (check: openssl version) # Pass: Negotiated TLS1.3 group: X25519MLKEM768 # Fail: Peer Temp Key: X25519, 253 bits ``` ### 2. Probe Production SSH Bastions ```sh ssh -vvv -o BatchMode=yes -o ConnectTimeout=5 \ bastion.yourdomain.com 2>&1 | grep "kex: algorithm:" # Requires a local OpenSSH 9.9+ client (check: ssh -V). # 10.1+ also prints a warning when the session is not post-quantum. # Pass: kex: algorithm: mlkem768x25519-sha256 # Fail: kex: algorithm: curve25519-sha256 ``` ### 3. Probe Databases & Other STARTTLS Services ```sh openssl s_client -connect db.internal:5432 -starttls postgres \ -groups X25519MLKEM768:X25519 /dev/null \ | grep -E "Negotiated TLS1.3 group|Peer Temp Key" # Also: -starttls mysql · -starttls smtp · plain TLS for Redis (:6379 with TLS on) # Pass: Negotiated TLS1.3 group: X25519MLKEM768 ``` ### 4. Check What a Runtime Offers ```sh # Run inside the service's container, not on your laptop. node -p process.versions.openssl # needs 3.5+ python3 -c "import ssl; print(ssl.OPENSSL_VERSION)" # needs 3.5+ java -version # needs 27+ go version # needs 1.24+ openssl version # 3.5.6+ preferred ``` ### 5. List Certificate & SSH Host Key Algorithms ```sh # TLS certificate: public key and signature algorithm, and expiry openssl s_client -connect api.yourdomain.com:443 /dev/null \ | openssl x509 -noout -text \ | grep -E "Public Key Algorithm|Signature Algorithm|Not After" # SSH host keys a server presents ssh-keyscan bastion.yourdomain.com 2>/dev/null | ssh-keygen -lf - # Today both will show RSA, ECDSA or ED25519. Record them in the inventory. ``` ### 6. Audit AWS Listener Policies & API Calls ```sh # Every ALB/NLB listener and its TLS policy; look for names without "-PQ-" for lb in $(aws elbv2 describe-load-balancers \ --query 'LoadBalancers[].LoadBalancerArn' --output text); do aws elbv2 describe-listeners --load-balancer-arn "$lb" \ --query 'Listeners[].[ListenerArn,SslPolicy]' --output text done # CloudTrail records the key exchange of each API call your code makes: # tlsDetails.keyExchange = X25519MLKEM768 (pass) ``` Without a terminal, the SSL Check API runs the TLS test on any public hostname: https://pq.info/ssl-check.md ## Coding-agent prompts Each prompt is written to be run by a coding agent inside the repository named. ### 01 · Repository cryptographic inventory Locates every TLS config, SSH client, JWT verifier, and key-wrapping call across your application monorepo. Where to run it: in application repo. ```text Build a Cryptographic Bill of Materials (CBOM) for this repository to assess our Post-Quantum Cryptography readiness. Inspect actual source files, lockfiles, and Dockerfiles: 1. TLS & Runtimes: Check our Go version (go.mod), Rust TLS crates (Cargo.lock), and container base images (OpenSSL version). Flag any TLS config that hardcodes classical curves (`CurvePreferences`, `ecdhCurve`, `ssl_ecdh_curve`) and blocks `X25519MLKEM768`. 2. JWTs & Sessions: Find every JWT sign/verify call (`jsonwebtoken`, `jose`, `golang-jwt`, `PyJWT`) and custom signature check. Record the algorithm (`RS256`, `ES256`, `EdDSA`, `HS256`) and whether the issuer and verifier share the same trust boundary. 3. SSH Clients: Find programmatic SSH usage (`x/crypto/ssh`, `paramiko`, `ssh2`, `russh`) and check supported `KexAlgorithms`. 4. Key Wrapping & At-Rest: Find all KMS calls and envelope encryption; flag any static `RSA-OAEP` or `RSAES_PKCS1_V1_5` wrapping, and any data encrypted to a public key (PGP, age, SOPS, sealed-secrets, JWE `ECDH-ES`). 5. Everything else on RSA or elliptic curves: certificates and their issuers, SSH host/user keys, code-signing and updater keys, webhook signatures, and third-party services we depend on for any of these. Output a markdown table: [File:Line] | [Component] | [Current Primitive] | [Exposure: HNDL vs Live Forgery vs Safe] | [Exact Fix]. ``` ### 02 · Terraform, ingress, and SSH config audit Audits cloud load balancers, CDN origin hops, ingress controllers, and bastion configs for classical key-exchange gaps. Where to run it: in infrastructure / IaC repo. ```text Audit all Terraform (`.tf`), Helm charts, Kubernetes manifests, and server provisioning scripts in this repo for Post-Quantum Key Exchange: 1. Cloud Load Balancers: Find every `aws_lb_listener`, `aws_alb_listener`, or GCP/Azure SSL policy. Flag any listener not using a PQ TLS 1.3 policy (AWS recommends `ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09`; note that CLI, CloudFormation and CDK default to a classical policy). For API Gateway REST APIs expect `SecurityPolicy_TLS13_1_2_PQ_2025_09`. For Google Cloud SSL policies, flag any with post-quantum key exchange set to `DEFERRED`. 2. Ingress & CDN Origin: Inspect NGINX/Envoy/Istio configs and Cloudflare origin settings for missing `X25519MLKEM768` key exchange. 3. Databases & caches: Find PostgreSQL (`ssl_groups`, needs 18+), Redis (`tls-groups`, needs 8.12+), MySQL (`tls_kex`) and managed-database parameter groups; flag any left on classical defaults. 4. OpenSSH: Inspect all `sshd_config` templates and cloud-init scripts; ensure `KexAlgorithms` lists `mlkem768x25519-sha256,sntrup761x25519-sha512@openssh.com`. 5. Produce a P0-P3 patch plan with exact file diffs. ``` ### 03 · Internal JWTs and updater signatures Migrates internal tokens away from asymmetric public keys and designs composite `Ed25519 + ML-DSA-65` release verification. Where to run it: for auth & release pipelines. ```text Audit all token authentication and binary update verification flows in this codebase: 1. Same-Boundary JWTs: Find every JWT or signed cookie where our backend is both issuer and verifier. Draft a zero-downtime migration from `RS256`/`ES256`/`EdDSA` to 256-bit `HS256` HMAC with strict `algorithms: ['HS256']` verification. 2. Auto-Updaters: Inspect our desktop/CLI self-updater verification logic and design a dual-signature check requiring BOTH classical `Ed25519` and NIST FIPS 204 `ML-DSA-65` signatures to pass before executing an update. ``` ### 04 · Certificates, SSH keys, and signing keys Lists every RSA or elliptic-curve key that authenticates something, how long it lives, and how hard it is to replace. Where to run it: in infrastructure / IaC repo. ```text Inventory every long-lived asymmetric key and certificate this repository creates, references, or trusts. Read actual files; do not guess. 1. TLS certificates: Find every certificate resource (ACM, cert-manager `Certificate`, ACME clients, Vault PKI roles, hand-managed PEM files). Record issuer, key algorithm, lifetime, whether renewal is automated, and whether each renewal generates a new key. 2. Private CAs and mTLS: Find internal CA definitions and service-mesh identity settings. Record CA key algorithm, CA lifetime, leaf lifetime, and which TLS libraries terminate the connections (they must support ML-DSA in TLS 1.3 before a post-quantum CA can be used). 3. SSH: Find host key generation, `authorized_keys` management, SSH CA configuration, and deploy keys. Record key types (`ssh-rsa`, `ecdsa-*`, `ssh-ed25519`, `ssh-mldsa44-ed25519`), whether certificates are used, and their validity period. 4. Signing keys: Find code-signing, updater, container-image, package and webhook signing keys, and any public keys embedded in clients or firmware. Record where the public key is pinned and what it would take to rotate it. 5. Third parties: List every external service whose public key or certificate we trust (identity providers, payment webhooks, package registries). Output a markdown table: [File:Line] | [Key or certificate] | [Algorithm] | [Lifetime] | [Rotation: automated / manual / requires client release] | [Owner]. Sort by how long rotation would take, longest first. ``` ### 05 · Data encrypted to public keys Finds backups, secrets and fields encrypted to an RSA or elliptic-curve public key, which are exposed to record-now, decrypt-later like network traffic. Where to run it: in application and infrastructure repos. ```text Find every place this codebase encrypts data to an asymmetric public key, or stores data that was encrypted that way. 1. Secrets in Git: Find SOPS files (`.sops.yaml`, `sops:` metadata), Bitnami `SealedSecret` manifests, git-crypt, and age or PGP encrypted files. Record the recipient type (age X25519, PGP RSA/ECC, KMS) for each. 2. Backups and exports: Find backup jobs and data exports that use `gpg`, `age`, `openssl pkeyutl`, or library equivalents. Record the recipient key type and where the output is stored or sent. 3. Application code: Find `RSA-OAEP`, `RSAES_PKCS1_V1_5`, ECIES, HPKE, JWE (`RSA-OAEP*`, `ECDH-ES*`), and KMS calls using asymmetric key specs (`RSA_*`, `ECC_*`) for encryption or key wrapping. 4. For each finding, state whether copies exist outside our control (object storage with broad access, third parties, email, public repositories). Output a markdown table: [File:Line] | [What is encrypted] | [Recipient key type] | [Where copies live] | [Fix: symmetric KMS wrap / post-quantum recipient / rotate contents]. Then list the secrets inside any finding that should be rotated because the ciphertext has left our control. ``` --- # Compromise vectors: what breaks when a primitive fails > For each primitive family: what an attacker can do if it breaks, what stays unaffected, and which change mitigates it. > > Web page: https://pq.info/compromise/ · Index of all pages: https://pq.info/llms.txt ## 01 ECDH / DH Falls: Recorded sessions are decrypted offline Retroactive · Elliptic-Curve & Finite-Field Diffie-Hellman Breaks · X25519 · P-256 · DH An attacker with saved packet captures (`.pcap`) recovers the ephemeral private key from the recorded handshake, derives the session key, and decrypts the archived payload offline. ### Step 1: Traffic capture During a classical `X25519` TLS 1.3 or SSH handshake, ephemeral public keys `g^a` and `g^b` cross the wire in plaintext before encrypting the session with AES-256. ### Step 2: Key recovery The adversary computes the private scalar `a` from the archived plaintext `g^a`, reconstructs the shared secret `g^(ab)`, and derives the exact AES-256 session key offline. ### Step 3: Exposed data Decrypting old SSH and HTTPS sessions exposes every unrotated credential sent inside them: production DB passwords, `.env` files, API keys, and customer PII. #### Mitigation: hybrid key exchange TLS 1.3 derives the session key from both secrets: `HKDF(SharedSecret_MLKEM768 || SharedSecret_X25519)`. An attacker has to break both. If `X25519` falls, the `ML-KEM-768` secret still protects the recording; if a flaw is found in ML-KEM, `X25519` still does. #### Action Enable `X25519MLKEM768` on all ingress/origin TLS and `mlkem768x25519-sha256` on OpenSSH, then rotate any long-lived secrets that previously traversed classical channels. ## 02 Signatures Fall: Private signing keys are derived from public keys Real-Time Forgery · RSA, ECDSA & Ed25519 Signatures Break · RSA · ECDSA · Ed25519 A signature break does not decrypt recorded traffic that used post-quantum key exchange. It lets an attacker compute a private signing key from a published public key and forge signatures on live requests. Nothing needs to be recorded in advance, so the only defense is to have migrated before the break arrives. ### Vector A · No MITM Needed: JWT forgery from JWKS The attacker downloads your public key from `/.well-known/jwks.json`, computes the private key offline, and mints valid `RS256`/`ES256` admin session tokens directly against your API. ### Vector B · Supply Chain: Signed update forgery The attacker extracts the hardcoded `Ed25519` public key from your desktop/CLI binary, derives the private signing key, and signs a malicious update manifest served via DNS/CDN hijack. ### Vector C · Active Network MITM: Live TLS / SSH interception The attacker derives your TLS leaf certificate's private key from the public certificate, or a host key from `known_hosts`, and actively intercepts live connections to impersonate your server. #### Recorded PQ-TLS traffic stays encrypted Even if an attacker recovers your classical ECDSA certificate private key tomorrow, they still cannot decrypt yesterday's recorded `X25519MLKEM768` TLS session. The certificate key only signed the transcript; it never encrypted the traffic. #### Action Add dual `Ed25519 + ML-DSA-65` signatures to software updaters, switch internal JWTs from `RS256`/`ES256` to 256-bit `HS256` HMAC (no public key exists to invert), and inventory every certificate, SSH key and third-party signing key so each has a migration path. ## 03 Static RSA Falls: One static private key decrypts every wrapped key No Forward Secrecy · Static RSA Key Transport & Envelope Wrapping Breaks · RSA-OAEP · TLS 1.2 RSA Encrypting symmetric keys directly under a long-lived `RSA-2048` public key (legacy TLS 1.2 `TLS_RSA_*` cipher suites or client-side `RSA-OAEP` database field wrapping) collapses all historical sessions and stored ciphertexts the moment that single RSA public key is inverted. ### Failure 01: Legacy TLS 1.2 RSA Suites Each session encrypts its pre-master secret under the server's static RSA key. Recovering that key decrypts every recorded session. ### Failure 02: Client-Side RSA-OAEP Wrapping Database rows storing AES-256 Data Encryption Keys wrapped under a public RSA key can be decrypted offline from any leaked backup. ### Fix: Symmetric KMS & TLS 1.3 Disable all non-ECDHE TLS 1.2 suites, move to TLS 1.3 (hybrid groups do not exist in TLS 1.2), and wrap Data Encryption Keys using symmetric AES-256-GCM inside AWS/GCP KMS. ## 04 Public-Key Archives: Stored ciphertext is a recording that never expires Retroactive · Data Encrypted to RSA or Elliptic-Curve Public Keys · PGP · age · SOPS · JWE Backups, secrets files and exported data encrypted to a public key carry everything an attacker needs inside the file: the wrapped data key sits next to the ciphertext, protected only by RSA or an elliptic-curve exchange. Anyone holding a copy can wait. ### Step 1: The copy already exists Encrypted backups in object storage, SOPS and sealed-secrets files in Git, PGP-encrypted exports mailed to partners, and JWE tokens in logs are all routinely copied outside your control. ### Step 2: Recipient key recovery The file header names the recipient public key (`age1…`, a PGP key ID, an `RSA-OAEP` or `ECDH-ES` JWE header). Recovering that one private key unwraps the data key for every file ever encrypted to it. ### Step 3: Exposed data Unlike a TLS session, there is no handshake to upgrade later. Whatever was in the archive on the day it was copied is exposed: database dumps, credentials, customer records. #### Mitigation: symmetric wrapping or post-quantum recipients Wrap data keys with a symmetric KMS key (`AES-256-GCM`), which leaves no public key to attack. Where a public-key recipient is required, use a hybrid post-quantum one: age 1.3+ and SOPS 3.12+ support `age1pq1…` recipients, and GnuPG 2.5 can require post-quantum encryption. #### Action Inventory every use of PGP, age, SOPS, sealed-secrets and JWE. Re-encrypt what you still control, rotate the credentials inside archives you do not, and stop creating new archives under classical public keys. ## 05 Symmetric & Hash: 256-bit symmetric ciphers and hashes remain intact Unbroken · AES-256, ChaCha20, SHA-256 & HMAC · AES-256 · SHA-256 · HMAC Shor's algorithm breaks RSA and elliptic curves by exploiting the periodic algebraic structure of the underlying group. Symmetric ciphers (`AES-256-GCM`) and cryptographic hashes (`SHA-256`, `HMAC-SHA256`) have no such structure to exploit. ### Grover's Bound: 2^256 → 2^128 Serial Steps Unstructured quantum search achieves at most a quadratic speedup and requires `2^128` strictly sequential quantum evaluations, which is physically infeasible on any timescale. ### Hashes & HMAC: SHA-256 and HMAC Quantum collision search is bottlenecked by massive quantum memory (QRAM) and serial depth. NIST's transition guidance keeps SHA-2 and HMAC and plans no post-quantum replacement for them. ### Engineering Call: No storage re-encryption needed AES-256 databases, S3 buckets, and disk volumes do not need re-encryption, provided their keys were never wrapped or transported under RSA or elliptic curves. Focus migration work on asymmetric key exchange and signatures. --- # Deadlines: dates that are already set > Dates set by governments and large vendors, each with its source. > > Web page: https://pq.info/deadlines/ · Index of all pages: https://pq.info/llms.txt No one has published a date by which RSA or elliptic curves will fail. These are the dates by which governments and large vendors have committed to stop relying on them. Use the earliest one that applies to you or your customers as your own. ## The week of 30 November 2026 What was announced No technical details of the underlying discoveries have been published. These are the public statements, in order. ### 1 Dec 2026 The UK NCSC issued a [statement on recent post-quantum cryptography research](https://www.ncsc.gov.uk/news/ncsc-statement-on-recent-post-quantum-cryptography-research): its advice to organisations is unchanged, including the focus on 2031 for migrating high-priority systems. ### 2 Dec 2026 The U.S. Office of the National Cyber Director, NSA and CISA said recent discoveries "impact the security of some cryptography currently in use", that they "do not present an immediate and widespread threat to that cryptography", and that industry and government should "expeditiously upgrade our digital infrastructure". ### 2 Dec 2026 NSA published [Immediate Actions to Push Toward Post-Quantum](https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation/) for national security systems, in this order: inventory where cryptography is used; move TLS services to TLS 1.3 with post-quantum settings; stand up post-quantum certificate authorities and roots of trust; replace certificates and re-sign software and firmware; apply vendor updates that enable post-quantum algorithms; isolate and monitor what cannot be upgraded. ### 2 Dec 2026 Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle published a [joint statement](https://www.anthropic.com/news/joint-statement-post-quantum-cryptography) supporting the U.S. guidance to move to the NIST post-quantum standards and to accelerate the migration. ### 3 Dec 2026 Cloudflare moved its target for being [fully post-quantum from 2029 to 2027](https://blog.cloudflare.com/project-quantum-leap/), with the acceleration aimed at authentication: certificates, tokens and SSH. Source: [CISA joint statement](https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities) ## United States: federal agencies and contractors Executive Order 14412 and OMB M-26-15 Signed 22 June 2026. Binding on federal agencies; the contractor rule is how it reaches vendors. Implementation detail is in [OMB M-26-15](https://www.whitehouse.gov/wp-content/uploads/2026/06/M-26-15-Execution-of-the-Migration-to-Post-Quantum-Cryptography.pdf). National Security Systems follow NSA's separate schedule. ### 2026–2027 Strategy, planning and discovery. Agencies submit a migration plan and inventory their high-value assets and high-impact systems. ### 2 Jan 2030 Agencies must support TLS 1.3 or a successor. ### 31 Dec 2030 High-value assets and high-impact systems use post-quantum **key establishment**. Covered federal contractors comply with NIST's FIPS, including the post-quantum standards. ### 31 Dec 2031 High-value assets and high-impact systems use post-quantum **digital signatures**. ### 2035 Full migration across agency systems. Source: [Executive Order 14412](https://www.whitehouse.gov/presidential-actions/2026/06/securing-the-nation-against-advanced-cryptographic-attacks/) ## NIST: when RSA and elliptic curves leave the standards NIST IR 8547 (final, October 2026) Applies to RSA, ECDSA, EdDSA, and finite-field and elliptic-curve Diffie-Hellman at every key size; larger keys get no extension. NIST recommends `ML-KEM-768` as the default parameter set, and will accept hybrid key establishment and dual signatures in validated modules when at least one component is a NIST-approved scheme. ### After 2030 Quantum-vulnerable public-key algorithms are **deprecated**: still usable, with the data owner accepting the risk. Symmetric algorithms at the 112-bit level and SHA-1 are disallowed. ### After 2035 Quantum-vulnerable public-key algorithms are **disallowed** under NIST standards and guidelines. ### Unchanged Symmetric primitives with at least 128 bits of classical security remain approved. AES-128, AES-192 and AES-256 all stay; there is no AES-256 mandate. Source: [NIST IR 8547](https://csrc.nist.gov/pubs/ir/8547/final) ## United Kingdom NCSC migration timelines Guidance for all organisations, with the strongest expectation on critical national infrastructure. ### By 2028 Define migration goals, carry out a full discovery exercise, and build an initial plan. ### By 2031 Complete the early, highest-priority migrations and refine the plan into a full roadmap. ### By 2035 Complete migration of all systems, services and products. Source: [NCSC PQC migration timelines](https://www.ncsc.gov.uk/guidance/pqc-migration-timelines) ## European Union Coordinated Implementation Roadmap Addressed to member states, which set national roadmaps for their own sectors. ### 31 Dec 2026 Every member state has a national roadmap and has started planning and pilots for high- and medium-risk use cases. ### 31 Dec 2030 The transition for high-risk use cases is complete, and quantum-safe software and firmware upgrades are enabled by default. ### 31 Dec 2035 The transition for medium-risk use cases is complete, and for low-risk use cases as far as feasible. Source: [EU PQC roadmap](https://digital-strategy.ec.europa.eu/en/library/coordinated-implementation-roadmap-transition-post-quantum-cryptography) ## United States: national security systems NSA CNSA 2.0 (FAQ v2.2, October 2026) Stricter than the civilian standards: `ML-KEM-1024` and `ML-DSA-87` only, AES-256, SHA-384 or SHA-512, and LMS or XMSS allowed for firmware and software signing. If you sell into national security systems, these parameter sets apply to you, not the defaults elsewhere in this guide. NSA does not require hybrid schemes there and counts a hybrid as compliant only where it has published guidance for it. ### 1 Jan 2027 CNSA 2.0 algorithms are required in all new acquisitions for national security systems. ### 31 Dec 2030 Equipment and services that cannot support CNSA 2.0 are phased out, unless granted an exception. NSA expects encryption to be quantum-resistant by default from this date. ### 31 Dec 2031 CNSA 2.0 algorithms are mandated for use. Source: [NSA CNSA 2.0 FAQ v2.2](https://media.defense.gov/2022/Sep/07/2003071836/-1/-1/0/CSI_CNSA_2.0__FAQ_v2.2.PDF) ## Provider commitments Dates large vendors have set for themselves Useful as a benchmark for your own plan and for the dates to ask your vendors about. Each line is from the provider's own announcement. ### End of 2026 Cloudflare: internal certificate authority and other key components support post-quantum cryptography. ### Q1 2027 Cloudflare: ready to issue post-quantum Merkle Tree Certificates, at no cost. ### Q2 2027 Cloudflare: post-quantum JWTs, and post-quantum encrypted and authenticated TLS and SSH, on all internal and customer-facing interfaces. ### 2027 Let's Encrypt: [production issuance of Merkle Tree Certificates](https://letsencrypt.org/2026/06/03/pq-certs). Microsoft: Windows production code signing becomes post-quantum by default. ### Q3 2027 Chrome: launch of a [quantum-resistant root store](https://blog.google/security/cultivating-a-robust-and-efficient-quantum-safe-https/) that accepts Merkle Tree Certificates only. ### End of 2027 Cloudflare: all products and internal infrastructure fully post-quantum, and critical vendors required to use post-quantum cryptography. Source: [Cloudflare: fully post-quantum in 2027](https://blog.cloudflare.com/project-quantum-leap/) --- # SSL Check API > JSON API that reports whether a public hostname supports hybrid ML-KEM key exchange, with certificate and per-endpoint details. > > Web page: https://pq.info/ssl-check/ · Index of all pages: https://pq.info/llms.txt Checks a public hostname through the Qualys SSL Labs API and returns a normalized result. No key is needed. Cross-origin requests are not enabled; call it from a server or a command line. ```sh curl -s "https://pq.info/api/ssl-check?domain=example.com" ``` ## Request `GET https://pq.info/api/ssl-check?domain=` `domain` is a bare public hostname. A scheme or path is stripped. An invalid hostname returns HTTP 400. ## Response The `status` field says which of three shapes you have. **`scanning`**: a scan has started and is not finished. Wait about 6 seconds and send the same request again. A fresh scan can take a minute or more; give up after about five. ```json { "status": "scanning", "domain": "example.com" } ``` **`error`**: the hostname did not resolve, the scan failed, or the scan service is unavailable. `error` is a message for a person. ```json { "status": "error", "error": "Hostname could not be resolved: example.invalid" } ``` **`ready`**: the result. The values below are an example. ```json { "status": "ready", "domain": "example.com", "pq": true, "pqPartial": false, "pqGroups": ["X25519MLKEM768"], "grade": "A", "endpoints": [ { "ip": "203.0.113.10", "grade": "A", "pq": ["X25519MLKEM768"], "classical": ["x25519", "secp256r1"], "tls": ["TLS 1.2", "TLS 1.3"], "note": null } ], "cert": { "issuedBy": "Example CA", "subject": "example.com", "validFrom": "2026-11-01T00:00:00.000Z", "validTo": "2027-01-30T00:00:00.000Z", "daysLeft": 58, "altNames": 2, "keyAlg": "EC", "keySize": 256, "sigAlg": "SHA256withECDSA" } } ``` | Field | Meaning | |-------|---------| | `pq` | At least one endpoint supports a post-quantum (ML-KEM) key exchange group. | | `pqPartial` | Some tested endpoints support one and some do not. Treat as a failure to fix. | | `pqGroups` | The post-quantum groups seen across all endpoints. | | `grade` | The lowest-ranked SSL Labs grade among endpoints, or `null`. It measures general TLS configuration, not post-quantum readiness. | | `endpoints[]` | One entry per IP address: its groups (`pq`, `classical`), TLS versions, grade and any scanner note. | | `cert` | The leaf certificate. An RSA or EC key here is expected today and does not make key exchange unsafe; see https://pq.info/systems/pki.md. | ## Limits - Ready results are cached for 30 minutes. - Supported groups are what the server accepts, not what any one client negotiates. To see a negotiated group, run the probes in https://pq.info/audit.md. - Only public hostnames on port 443. For internal endpoints, SSH, or databases, use the probes. - Scans are run by SSL Labs and count against a shared budget. Check hostnames you have a reason to check, one at a time. --- # Post-quantum ready badges > Badge images and embed code for sites that have moved to post-quantum key exchange. > > Web page: https://pq.info/badges/ · Index of all pages: https://pq.info/llms.txt Badges for sites and projects that have moved to post-quantum key exchange. Displaying one is a claim the site makes about its own systems; pq.info does not test, verify or certify it. A reasonable bar: the public hostnames negotiate hybrid post-quantum key exchange and the checklist has been worked through. | Badge | Size | Light | Dark | |-------|------|-------|------| | Strip | 264×32 | https://pq.info/badges/pq-ready-strip.svg | https://pq.info/badges/pq-ready-strip-dark.svg | | Seal | 128×128 | https://pq.info/badges/pq-ready-seal.svg | https://pq.info/badges/pq-ready-seal-dark.svg | | Card | 276×80 | https://pq.info/badges/pq-ready-card.svg | https://pq.info/badges/pq-ready-card-dark.svg | ```html Post-quantum ready ``` ```markdown [![Post-quantum ready](https://pq.info/badges/pq-ready-strip.svg)](https://pq.info/) ``` --- # For agents > The skill archive, the Markdown and JSON editions of the guide, and how to use them. > > Web page: https://pq.info/agents/ · Index of all pages: https://pq.info/llms.txt Everything on pq.info is available without a browser. Content last reviewed 3 December 2026. ## Read the guide - https://pq.info/llms.txt: index of every page, with a one-line summary of each. - https://pq.info/llms-full.txt: the whole guide in one Markdown file. - Any page as Markdown: the address is the page's path with `.md` on the end (`/checklist/` is `/checklist.md`, the home page is `/index.md`). Each system has its own file, for example https://pq.info/systems/tls.md. - Content negotiation: request any page with `Accept: text/markdown` and you get its Markdown edition instead of HTML. - https://pq.info/.well-known/search?q=: search the guide with keywords or a question. It returns the most relevant sections as Markdown. - https://pq.info/data/checklist.json: the checklist as data, with stable item ids. The HTML pages carry the same text. The Systems page shows one system at a time, but every system is in the page source. The endpoints are described in https://pq.info/openapi.json and listed in https://pq.info/.well-known/api-catalog. ## Skills https://pq.info/downloads/pq-readiness-skills.zip holds three agent skills in the Agent Skills format (a folder with a `SKILL.md` and a `references/` folder): - `pq-inventory`: find every use of RSA and elliptic-curve cryptography in a repository and report it as a cryptographic bill of materials. - `pq-migrate`: plan and make the changes in priority order, using the checklist and the per-system configurations. - `pq-verify`: confirm what live endpoints negotiate and catch regressions. Unzip it into the skills directory your agent reads (for Claude Code, `.claude/skills/` in a project or `~/.claude/skills/`). The individual files are also served on their own, starting at https://pq.info/skills/README.md, and listed with their digests in https://pq.info/.well-known/agent-skills/index.json. ## Check a hostname https://pq.info/ssl-check.md documents a JSON API that reports whether a public hostname supports hybrid ML-KEM key exchange. ## Using this guide well - Version numbers and identifiers here were checked against each project's own documentation on the review date above. They move quickly; confirm a version against the vendor's release notes before you depend on it. - Dates in https://pq.info/deadlines.md are marked as read from the issuing body's own page or as reported in secondary coverage. - The guide recommends hybrid schemes with a classical fallback. Removing the fallback is a separate, deliberate step. - Corrections are welcome at https://github.com/obvious-labs/pq-info. - The content is licensed under CC BY 4.0: reuse it with credit to pq.info. The code is MIT. See https://github.com/obvious-labs/pq-info/blob/main/LICENSE-CONTENT.