Matthew Gamble's Blog
← Back to reflections
Beware the Ides of March

ai

Beware the Ides of March

M
Matthew Gamble
11 min read
"On Monday morning half my feeds were convinced RSA-2048 had finally fallen."

On Monday morning half my feeds were convinced RSA-2048 had finally fallen. By Wednesday the NSA was telling everyone to move to post-quantum cryptography immediately, and by Saturday I had written two new utilities, which is apparently how I process anxiety now. The real news turned out to be stranger than the rumour. On November 30, Anthropic published four papers on lattice cryptography, and the headline result came from an internal Claude research model that found a theoretical quantum attack on the math underneath ML-KEM and ML-DSA. Those are the two algorithms NIST picked to replace the RSA and elliptic curve cryptography we rely on today. Nobody broke the ship this week. Somebody found a theoretical leak in the lifeboat while the ship was still floating, and that turns out to be enough to make a lot of very serious people move very quickly.

Two weeks ago I argued that you can't firewall a model, and the core of that post was time. AI shrinks the gap between a weakness existing and somebody acting on it, and ARTEX needed about five minutes to turn an exposed web server into a finding. I was thinking about penetration testing when I wrote that. I wasn't thinking about number theory, which is a much less comfortable place to watch the same compression happen. If a model can find a shortcut in structured lattices that a generation of cryptographers missed, what does it find next year, and who finds it first?

For those not familiar, the Cryptography Incident Review Group is a panel of 21 cryptographers who reviewed Anthropic's drafts before they went public, and they described the attack as "galactic" in scale. The speedup only shows up as the ring degree of the lattice grows. ML-KEM and ML-DSA keep the ring degree fixed at 256 and get their strength from increasing the rank instead, which puts them well outside the zone where the new algorithm helps. CIRG's own math says that even an absurd 2^1000 quantum operations would fall short of breaking the smallest standardized parameter sets, and the attack still needs a large quantum computer that nobody has built. Anthropic says it still considers both algorithms among the strongest public-key options available, while admitting its long-term confidence in structured lattices took a hit. Nothing you encrypted this morning is suddenly readable. So why is every security agency and CDN on earth acting like the building is on fire?

Start with the NSA press release from December 2, which advises owners of National Security Systems to prioritize CNSA 2.0, inventory every cryptographic dependency they have, and pay special attention to firmware signatures and hardware roots of trust that can't easily be updated once a device ships. The release credits "Frontier SI" companies with reporting discoveries that affect some cryptography in use. I've been doing this long enough to remember when the scariest acronym in an NSA release belonged to a foreign intelligence service, so seeing "SI" sitting there in an official U.S. government document was a bit of a moment. Cloudflare responded by pulling its fully post-quantum target forward from 2029 to 2027 and noted that the joint statement from the NSA, CISA and the Office of the National Cyber Director judges these advances not to be an immediate, widespread threat. Nobody is claiming the sky fell. The agencies have simply looked at how fast the math is moving and decided that waiting for proof is a bad strategy when proof would arrive too late to matter.

Harvest now, panic later

The fear today has a name, and it's "store now, decrypt later." An adversary who records your encrypted traffic in 2026 doesn't need to read it in 2026. They can park it on a disk and wait for a quantum computer, or an AI-discovered shortcut, or both, and then read it at their leisure. For anything with a long shelf life (health records, legal files, source code, the merger you haven't announced yet) that's a present-day problem regardless of when the hardware shows up.

The good news is that the fix for that specific problem already exists and is widely deployed. Hybrid key exchange, most commonly X25519MLKEM768, wraps a classical key agreement and ML-KEM together so an attacker has to break both. Cloudflare says roughly 73% of human traffic hitting its network is already post-quantum encrypted, and it has been the default on visitor connections since 2022. What we don't have yet are post-quantum certificates. Cloudflare expects to start issuing free Merkle Tree Certificates early in 2027, and Chrome has said it plans to support them, but for now every handshake on the internet is still authenticated with classical signatures. That turns out to be an acceptable gap for the moment. Authentication only has to hold up for the few milliseconds the handshake takes, and somebody breaking a certificate signature in 2035 can't travel back and impersonate your server in 2026. Confidentiality has to hold up for as long as the data matters, and that's exactly the part hybrid key exchange protects.

The catch is knowing whether your endpoints actually negotiate it. HAProxy runs a handy site called Got PQC? that checks whether a domain's TLS endpoint negotiates post-quantum key exchange, and it's a great quick test for a public website. My week doesn't involve many public websites. It involves SBCs listening on 5061, mail relays doing STARTTLS, LDAPS, and a long tail of internal apps that no external scanner will ever see. So I wrote check-pqc, a single Go binary you can drop on a jump box and point at anything that speaks TLS. It handles direct TLS on any port, SIP over TLS without sending a SIP message, and STARTTLS upgrades for SMTP, IMAP and POP3. If a server picks a classical group on the first handshake, it opens a second connection offering only the hybrid groups, which tells you whether the server supports post-quantum key exchange but just doesn't prefer it (a surprisingly common configuration). Exit codes map to the verdict and there's a --json flag, so you can wire it into a cron job or a pipeline and stop checking things by hand. It completes the handshake, sends no application data and never authenticates, so you can run it against production without a change ticket. One limitation worth knowing up front is that it shows the certificate's signature details without judging them, and that brings us to March.

The Ides of March

Google has announced that starting March 15, 2027, Chrome will stop trusting certificate chains that include a CA key using ECDSA P-256. This one doesn't care how modern your key exchange is. If any CA certificate in your chain carries a P-256 key, visitors get a full-page interstitial, and in my experience the number of customers who click through a full-page browser warning rounds to zero. Google's guidance is to check your chain, get a replacement from a CA that doesn't use a P-256 key before the deadline, move your own server keys off P-256 while you're at it, and turn on hybrid key agreement. Julius Caesar got a warning about March 15 as well, and he went to the Senate anyway.

March feels comfortably far away. From today it's exactly 100 days, and a big chunk of those days are covered by holiday change freezes, vacation calendars and year-end budget fights. Reissuing a certificate is easy. Finding every place the old chain got pinned, bundled into an appliance or baked into a load balancer config that nobody has touched since 2023 is the part that eats your February. To make the finding part easier, I've put chain256.mgamble.ca live. Enter any public website hostname and it gives you a verdict along with the specific certificate that triggered it, formatted so you can copy the evidence straight into a ticket for whoever owns the site. You don't need an account, an API key, a download or a browser extension. I'd much rather you spend ten minutes there this week than spend March 15 explaining to your VP why the checkout page is throwing security warnings.

SSH and PGP are the other half of this, and I'm happy to report I don't have to write a third utility. Seth Larson has a clear guide on finding and upgrading 256-bit curve keys that walks through spotting P-256 and Ed25519 keys in your SSH agent and GPG keyring. His advice is to use the hybrid mldsa44-ed25519 key type where your services support it, with ECDSA P-384 as a fallback and RSA-4096 as a stopgap. Support is still thin (GitHub doesn't accept the post-quantum key type yet, and Bitwarden only stores Ed25519 and RSA SSH keys), so check every place your key needs to live before you generate a new one. He also suggests doing this over the next three months rather than this afternoon, which is good advice for a reason that showed up on Hacker News this week.

But wait -- there's more.

A user posted a write-up titled What broke when I enabled PQC for Git and SSH, and it reads like a preview of every helpdesk ticket we're about to generate. The author tried to require hybrid key exchange for Git over HTTPS between a Mac on macOS 27.2.1 and an Ubuntu server. Apple's bundled Git 2.54.0 links against LibreSSL 3.3.6, which has no idea what X25519MLKEM768 is, so the fix was replacing it with a conda-forge build of Git that uses OpenSSL 3.6.5. Ubuntu 26.10's OpenSSH 10.5p1 only supported an earlier experimental form of the hybrid signature algorithm, which meant compiling OpenSSH 10.6p2 on both machines. A background sync service kept launching Apple's Git anyway because it had its own PATH. My favourite failure was the last one. Apple's built-in SSH client couldn't parse the new algorithm name in the shared config file, so it refused to connect to every host, including ones that had nothing to do with the upgrade.

To be fair to Cupertino, Ubuntu's current release was behind as well, and Apple's habit of shipping old, well-tested versions of open-source tools has historically been a feature. Enterprises like predictable fleets, and a ten-year-old OpenSSL release that never surprises anyone has real value when you manage tens of thousands of laptops. That bargain made sense when cryptography moved on a decade-long cycle. It makes a lot less sense when a research model can move the ground under a NIST standard over a weekend and the browser vendors respond with a hard 100-day deadline. In today's ecosystem, stable but old has turned into a liability, because crypto agility depends on the libraries underneath you being able to speak the new algorithms when you need them. Every Mac in your environment ships with a Git and an SSH client that can't take part in this migration, and you won't find out until something that worked yesterday stops working.

So what can we do about this?

Start with the NSA's least glamorous advice, which is also its best: find out what you have. Run check-pqc against your internal TLS endpoints, including the SIP and mail ones nobody remembers, and get hybrid key exchange turned on wherever it's missing. Run your public hostnames through check256 and open tickets on anything that chains to a P-256 CA key while there's still time to get replacements through change management. Upgrade SSH keys deliberately, and keep any new algorithm names in a dedicated config block for the hosts that need them so one unparseable line can't take down every connection on the machine. Test one Mac before you touch a hundred. Whatever you do, don't assume the tools your operating system shipped with are ready, because the evidence this week says they aren't.

The bottom line is that the math didn't break this week, but the timeline did. Frontier AI has turned cryptanalysis into something that moves at the speed of compute, and the people who maintain our standards are reacting accordingly. The organizations that use the next 100 days to inventory, test and fix will barely notice March 15. Everyone else gets to find out what Caesar learned on the Senate floor, with a browser interstitial standing in for Brutus.

Comments (0)

Sign in to join the discussion

Loading comments...