Skip to content

Anthropic's Lattice Papers: What to Actually Configure in TLS and PKI

5 min read

On 30 November Anthropic published papers, with a Lean formalisation, describing a new quantum algorithm against module lattices, the mathematics underneath ML-KEM and ML-DSA. The reviewers agree it is far from practical. Their advice is still worth acting on, and most of it comes down to a few lines of configuration.

We cover what the result is and why it is not an attack in Has AI broken RSA?, and the wider argument in Q-Day Without a Quantum Computer. This post is only about what to change.

What the Reviewers Said

The Cryptography Incident Review Group (CIRG) assessed the work before publication. Its conclusion: at real parameter sizes the algorithm needs more computation than the best attacks already known, and those are far out of reach. The result matters because it lowers long-term confidence in structured lattices, not because anything is broken.

CIRG and a Cloud Security Alliance research note published on 2 December make four recommendations:

  1. Continue the transition. Delay leaves you on RSA and elliptic curves, which already have a known quantum attack.
  2. Use hybrids that combine schemes with different mathematical foundations.
  3. Choose the highest security level each application can support. In practice: ML-KEM-768 or ML-KEM-1024 rather than ML-KEM-512, and ML-DSA-65 or ML-DSA-87 rather than ML-DSA-44.
  4. Build crypto-agility, so a scheme can be replaced quickly if it has to be.

Key Exchange in TLS

RFC 10024, published in August, standardises three hybrid groups for TLS 1.3:

Group Codepoint ML-KEM level Notes
X25519MLKEM768 0x11EC ML-KEM-768 The only one IANA marks as recommended. What browsers offer.
SecP256r1MLKEM768 0x11EB ML-KEM-768 For deployments that need both halves to be FIPS-approved.
SecP384r1MLKEM1024 0x11ED ML-KEM-1024 For high-security deployments that want a larger margin.

Keep X25519MLKEM768 on, and first, on anything browser-facing. It is the group clients actually send, and our December adoption report found it in every PQC handshake we recorded. Nothing in the November results is a reason to remove it.

Add SecP384r1MLKEM1024 where you control both ends. Service-to-service traffic, partner APIs, VPN gateways and internal PKI clients are where you can move to ML-KEM-1024 now. The cost is size: an ML-KEM-1024 public key and ciphertext are 1,568 bytes each, against 1,184 and 1,088 bytes for ML-KEM-768. That is a few hundred extra bytes in each direction per handshake, which most internal networks will not notice.

Keep a classical fallback for clients that offer nothing else, and check that the server accepts the group a client has already sent a key share for rather than asking it to retry with another. A retry costs an extra round trip.

For nginx built against OpenSSL 3.5 or later, which supports all three hybrids, that looks like:

ssl_protocols  TLSv1.3 TLSv1.2;
ssl_ecdh_curve X25519MLKEM768:SecP384r1MLKEM1024:X25519:secp256r1;

On the client side of internal connections, offer SecP384r1MLKEM1024 first. Test each endpoint with openssl s_client -groups SecP384r1MLKEM1024 from an OpenSSL 3.5 build and check which group was negotiated. Newer OpenSSL versions also add hybrids built on ML-KEM-512. Leave them off.

Signatures and Certificates

Signatures face a different risk from key exchange. A recorded session can be decrypted years later, but a signature only has to resist forgery for as long as someone relies on it. That makes long-lived signatures the priority: CA roots, firmware and code signing.

  • Private PKI and code signing: where your tooling supports it, choose ML-DSA-65 as the minimum and ML-DSA-87 where size allows. An ML-DSA-65 public key is 1,952 bytes and a signature 3,309 bytes; ML-DSA-87 is 2,592 and 4,627. Do not start new work on ML-DSA-44.
  • Long-lived roots and firmware: the CSA suggests SLH-DSA for low-volume, long-lived signatures, because it rests only on hash functions. Its signatures are large and slow to produce, so keep it away from high-volume signing.
  • Hybrid signatures (a classical and a post-quantum signature together) follow CIRG’s advice where your PKI supports them, and give you a fallback while ML-DSA tooling matures.
  • Public web certificates depend on your CA and the browsers. The useful work now is making certificate issuance fully automated, so that changing algorithm is a configuration change when the option arrives.
  • FN-DSA (Falcon) is also a structured-lattice scheme. The CSA advises treating it with the same caution as ML-KEM and ML-DSA rather than as settled.

What Not to Do

Do not rip out ML-KEM. Going back to classical-only key exchange swaps a theoretical, impractical attack for a known one. Every recorded session would be exposed to harvest now, decrypt later again.

Do not go non-hybrid. Pure ML-KEM puts all of your confidentiality on lattices. With a hybrid, a classical break of the lattice half alone does not expose your traffic. The exception is US national security systems, where the draft CNSA 2.0 TLS profile calls for ML-KEM-1024 on its own. That is a compliance requirement for that market, not general advice.

Do not overstate what the hybrid buys you. X25519MLKEM768 protects against a classical break of either half. It does not protect against a large quantum computer that could attack the lattice, because Shor’s algorithm would break X25519 too. The CSA’s answer for data that must stay secret for decades is to watch for HQC, a code-based KEM, as a second post-quantum family to combine with ML-KEM.

Do not hard-code the choice. If changing a TLS group or signature algorithm needs a code release, that is the thing to fix first. The CSA puts it plainly: application code should never name an algorithm directly.

Do not break clients chasing ML-KEM-1024. Moving the public web to SecP384r1MLKEM1024 only, before clients support it, would push most visitors onto classical sessions. Raise the level where you control both ends.

A Short Checklist

  1. Confirm X25519MLKEM768 is negotiated on every public endpoint, not just the homepage.
  2. Enable SecP384r1MLKEM1024 on internal and partner connections where both sides run a library that supports it.
  3. Set ML-DSA-65 or ML-DSA-87 as the default in any post-quantum PKI or signing work you start.
  4. Make sure algorithms live in configuration, then run a swap drill to prove it.

The free PQC Domain Checker shows which group your public endpoints negotiate today. If you want help with the parts it cannot see, such as internal traffic and PKI, a PQC readiness assessment is the place to start.

Sources

Share:
The gold chandelier of a quantum computer

Become quantum resilient. Today.

Don't miss out on securing your future.

Start your journey for increased protection and peace of mind before the rush begins. Protect your assets with Post-Quantum Cryptography, starting today.