The First Phase of Post-Quantum Readiness: Inventory

The first of the six actions in this week's NSA advisory is the least glamorous: find out what cryptography you're using. Everything else depends on it. You can't turn on post-quantum key exchange, replace a certificate authority or retire an elliptic curve until you know where those things live.

Written by
Robert Haynes
Updated on
The First Phase of Post-Quantum Readiness: Inventory
Reading progress
0%

Summarize with AI

ChatGPTPerplexityGeminiGrokClaude

Table of Contents

Code prompt library
40+ AI Prompts for Secure Vibe Coding
Find out More

A companion to If you can keep your (cryptographic) head when all about you are losing theirs.

For most organizations, TLS is where this week's headlines land hardest, and it's also where a lot of the fixes are configuration changes rather than code changes. This piece is for AppSec leaders who own the risk but not necessarily the configuration. The aim is to give you the right questions to ask the network, platform and SRE teams who run the firewalls, load balancers and proxies.

Why you need an inventory of the cipher suites you actually use

This week's guidance is unusually specific. The NSA's inventory checklist flags every elliptic curve except P-384 and P-521, along with EdDSA. Chrome will stop trusting P-256 certificate authority keys on 15 March 2027. And browsers have already switched on the hybrid X25519MLKEM768 key exchange by default. Each of those is a question about your configuration, and you can't answer any of them without an inventory.

There are two traps in building one. First, "configured" isn't the same as "in use". The client offers a list of algorithms and the server picks from it, so the same endpoint can negotiate X25519MLKEM768 with a current browser and plain P-256 with an old Java client. What's actually negotiated comes from connection logs, which most proxies and load balancers can already produce.

Second, a list of cipher suites doesn't tell you as much as it used to. In TLS 1.2, a name like ECDHE-RSA-AES128-GCM-SHA256 spelled out the key exchange, the signature, the bulk cipher and the hash. TLS 1.3 separated key exchange and authentication from the cipher suite, so TLS_AES_128_GCM_SHA256 names only the bulk cipher and the hash. The key exchange group and the signature algorithm are negotiated separately.

In TLS 1.2 the cipher suite name spells out key exchange, identity, bulk encryption and hash. In TLS 1.3 it names only bulk encryption and hash, while the key exchange group and signature algorithm are negotiated separately.

An inventory of TLS 1.3 cipher suites therefore misses the two things this week's news is about. For each endpoint, record the TLS version, the cipher suite, the key exchange group, and the key types and signature algorithms in the certificate chain up to the root. That's enough to answer the questions leadership will ask: are we exposed, where, and how quickly can we change it?

The three jobs inside every TLS connection

Every TLS connection does three jobs, and this week's news affects them very differently. Key exchange is the urgent one, identity is the one with a hard deadline, and bulk encryption is fine.

Three cards. Key exchange: act first, because recorded traffic depends on it. Identity: hard deadline, because Chrome distrusts P-256 CA keys on 15 March 2027. Bulk encryption: leave it alone.

Key exchange: agree a secret

At the start of every connection, the client and server agree a fresh session key, usually with X25519 or P-256. Because that key is discarded afterwards (forward secrecy), stealing a server's private key later doesn't unlock old traffic. Breaking the key exchange maths does, which is why "harvest now, decrypt later" is a key exchange problem.

This week touched key exchange twice. X25519 and P-256 are both 256-bit curves, which Filippo Valsorda infers from the NSA's checklist may be weaker than we thought. And Anthropic's lattice papers describe a quantum attack on the problem behind ML-KEM, though at real-world key sizes the attack is "galactic". The hybrid X25519MLKEM768 group covers both stories. It combines X25519 with ML-KEM-768, and the key agreement stays secure unless both schemes are broken. On modern TLS stacks it's usually a configuration change, which makes it the best return on effort in this piece.

One finding deserves its own flag. TLS 1.2 suites that use RSA key exchange instead of ECDHE or DHE (AES128-GCM-SHA256, for example) use the certificate's RSA key to carry the session key, so there's no forward secrecy at all. Move any you find to the top of the list.

Identity: prove who's who

Certificates and handshake signatures prove the server is genuine, usually with RSA or ECDSA P-256. Forging them lets an attacker impersonate your server, but only in real time, with a working break and a position on the network path. Nobody can forge a signature into traffic recorded last year.

The urgency here comes from a date rather than the maths. Chrome stops trusting P-256 CA keys on 15 March 2027, and publicly trusted post-quantum certificates aren't available yet (Let's Encrypt is aiming for ML-DSA certificates around February 2027). Know which chains you depend on, talk to your CA well before March, and automate renewal so that swapping a certificate isn't a fire drill.

Bulk encryption: encrypt the data

The session key encrypts everything else, usually with AES-GCM or ChaCha20-Poly1305, and nothing in this week's news touches it. The best known quantum attack only halves the effective key length, which AES-256 shrugs off. CNSA 2.0 already requires AES-256, so prefer it for data that has to stay secret for years. If you were looking for something to cross off the list, this is it.

Four places TLS is configured

TLS settings live in four kinds of component, and one request can pass through all of them. Each hop is its own TLS connection, and the weakest participant in each sets the ceiling. A post-quantum-ready load balancer does nothing for a client that can't offer hybrid key exchange.

A request path from client to firewall or WAF, to proxy, to application, with each TLS connection drawn separately. The client offers the algorithms, the firewall caps what it inspects, the proxy picks from the offer, and the application can override defaults.

Clients

Clients decide what's on offer. Current versions of Chrome, Edge, Firefox and Safari all offer X25519MLKEM768 by default. Your own clients (mobile apps, SDKs, CLIs, partner integrations and service-to-service calls) only do if their runtime does: OpenSSL 3.5 or later, Node.js 22.20 or 24.5 and later, Go 1.24 or later, or Java 27.

Firewalls and WAFs

A firewall or WAF that inspects TLS is an endpoint on both sides, so whatever it can't negotiate, nothing behind it gets. Fortinet's documentation, for example, notes that earlier FortiGate releases downgraded hybrid handshakes in proxy mode and left sites unreachable, and that current releases support them.

Devices that don't inspect traffic can still get in the way. Adding ML-KEM typically splits the TLS ClientHello across two packets, which some routers, load balancers and other middleboxes don't handle well. If a device breaks on hybrid handshakes, fix the device rather than switching off the protection.

Proxies and load balancers

For inbound traffic, this is usually where TLS terminates. Two details catch people out. NGINX only gets hybrid key exchange by default when it's built against OpenSSL 3.5 or later, and a pinned group list overrides that default. Pinned lists are common in hardening guides written before ML-KEM existed. In the cloud, AWS's post-quantum policies for Application and Network Load Balancers are opt-in, so existing listeners keep their old policy until someone changes it.

This is also where the "in use" inventory comes from, since NGINX can log the negotiated group for each connection and cloud load balancers keep connection logs. Treat scan results with care, though. A scanner can only offer the groups its own TLS library supports, so one built on an older library will report servers as classical-only even when they support hybrid key exchange.

Applications

Applications terminate TLS themselves, act as TLS clients when they call other services, and inherit crypto libraries from their dependencies and container base images. The library version decides what's possible, and the code decides what's used.

Code that sets its own TLS options quietly opts out of new defaults. In Go, setting the curve preferences explicitly disables the hybrid default. In Java, a custom list of named groups replaces it. None of this shows up in a network scan. (The same 256-bit curves also sign JWTs, code and SSH logins. That's beyond TLS, and the main piece's roadmap covers it.)

Questions to take to each team

Component Questions to ask its owner
Clients Which of our clients can offer hybrid key exchange today? Which runtime and library versions are they on?
Firewalls and WAFs Where do we inspect TLS? Does the firmware support hybrid key exchange on both sides? Has anyone tested a hybrid handshake through it?
Proxies and load balancers Which TLS library is each one built with? Is hybrid enabled, or has someone pinned a classical-only list? Are we logging the negotiated group? Which certificate chains do they present?
Applications Which services terminate TLS directly? Which crypto libraries and versions are in our dependency trees and base images? Where does code set its own TLS options?

Start at the first hop

If you can only fix one place this quarter, fix the component that receives traffic from the client, because the connection into it is the easiest one to record. Harvest now, decrypt later needs a copy of the traffic. On the public internet, ISPs, public Wi-Fi operators, transit providers and intelligence agencies are all in a position to take one. Inside your network, an attacker has to be in already, and then they have cheaper options than breaking cryptography.

Two zones. On the left, networks you don't control, where anyone on the path can record connection 1 from the client. On the right, your network, with the edge (CDN, WAF or load balancer) marked "Start here", followed by the proxy and the application.

That component is whatever terminates the client's TLS: usually a CDN, cloud WAF or load balancer, sometimes NGINX on a public IP address, and occasionally the application itself. Its configuration chooses the key exchange, presents the certificate chain and sets the floor (TLS 1.3, no static RSA), so one change there protects every client able to use it.

There are two caveats. If a CDN or cloud WAF is your edge, its connection back to your origin often crosses the public internet too, so treat it as a second first hop. Cloudflare, for example, prefers post-quantum key agreement with origins that support it, so your origin's settings matter as much as the provider's. And for data your services send to third-party APIs and SaaS, the first hop is your own outbound client or egress proxy.

In practice, the sequence looks like this:

  1. List every internet-facing TLS endpoint. Certificate Transparency logs record the publicly trusted certificates issued for your domains, which is a quick way to find the forgotten ones.
  2. Record the four inventory fields for each one: TLS version, cipher suite, key exchange group and certificate chain.
  3. Turn on hybrid key exchange wherever it's a configuration change, after testing whatever sits in the path.
  4. Flag any chain with a P-256 CA key, and talk to your CA well before March.
  5. Repeat for origin connections, then outbound traffic, then the internal network.

From the edge to the code

None of this calls for panic. Hybrid key exchange at the edge deals with the risk that matters most for recorded traffic, Chrome's date gives certificates a clear deadline, and bulk encryption can be left alone.

The harder part is everything a network scan can't see: the crypto libraries in your dependency tree, the TLS library version baked into a base image, and the TLS settings pinned in a service's code. An inventory that covers both the network and the code is what a cryptography bill of materials (CBOM) records, and CycloneDX has supported the format since version 1.6.

For the bigger picture, including what happened this week and a roadmap through 2031, read our main explainer.

Further reading

Share This Resource

Related Posts

No items found.

Get a demo of Endor Labs today.