Post-quantum on our coding agents' server

On Thursday, December 3, Matthew Prince, Cloudflare's CEO, posted this:

Matthew Prince: do not ignore this, do not underestimate it, it is urgent to move encrypted systems to post-quantum standards, quoting the joint statement from Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, Oracle and SpaceX

The NSA had just published an advisory asking to move to post-quantum "immediately", and Octave Klaba turned it into a guide on OVHcloud's blog. So we looked at where we stood, on orca-host, the server our coding agents run on, and then at our clients'.

Checking a connection

The pressing risk is "harvest now, decrypt later", traffic recorded today that can be decrypted the day a quantum computer exists. To guard against it, you need a hybrid key exchange (X25519 and ML-KEM-768), offered by both the client and the server.

The simplest way to check is openssl s_client, with OpenSSL 3.5 or later (a debian:13-slim container will do), and ssh -v for SSH:

bash
$ openssl s_client -connect api.anthropic.com:443 </dev/null 2>/dev/null | grep -E 'group|Temp Key'
Negotiated TLS1.3 group: X25519MLKEM768

$ openssl s_client -connect github.com:443 </dev/null 2>/dev/null | grep -E 'group|Temp Key'
Peer Temp Key: X25519, 253 bits

$ ssh -v git@github.com 2>&1 | grep 'kex: algorithm'
debug1: kex: algorithm: mlkem768x25519-sha256

Anthropic's API answers with the hybrid group, github.com stays on X25519 over HTTPS, but GitHub's SSH is hybrid.

On our server

Claude Code, gh and our sites were already hybrid. The rest of the image, though, still ran on Debian 12, whose OpenSSL 3.0 doesn't know ML-KEM, so curl, Python, Ruby and Node went out classical. We moved the image to Debian 13 in PR #110:

Debian 12Debian 13
node, curl, Python, RubyOpenSSL 3.0: X25519OpenSSL 3.5: X25519MLKEM768
git over HTTPSGnuTLS: classicalGnuTLS: classical

For git, Debian 13 changes nothing over HTTPS, since github.com only accepts X25519 there. So we're moving git to SSH, where GitHub negotiates the hybrid exchange, with a config that only allows that (PR #111). It's merged but not enabled yet, we still have to create the server's key.

ssh-config
Host github.com
    KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512

For the tailnet, Tailscale 1.106.3 added ML-KEM to the tunnel on December 2, as long as both devices are up to date. The server's image is, the laptop and the phone are next.

At our clients'

We ran the same check at our clients' and updated their stacks. At one of them, the front end was already hybrid thanks to its CDN, but the API called OpenAI and Anthropic from a Debian 12 image, so classically. OpenAI's and Anthropic's servers could do hybrid, it was the image that didn't offer it.

What stays classical

GitHub's API, Slack, Qonto and OVH's API are still on X25519, and that's not up to us. Matteo Collina, from the Node.js technical steering committee, came to the same conclusion on his own machine:

Matteo Collina: I tried to fully migrate my dev workflow to post-quantum crypto, encryption is mostly there, but GitHub and GnuPG still leave my SSH auth and signing identity in the classical era