Is your CI post-quantum? We measured 20 registries and APIs

By the CapyShield team · · 4 min read

In short

On 4 December 2026, 13 of the 20 package registries, code hosts and AI APIs we measured already negotiated the post-quantum hybrid key exchange X25519MLKEM768. GitHub's main hosts and Docker Hub still chose classical X25519, and npm's and Yarn's registries answered with TLS 1.2 from our network. Half of the picture is your own tooling: macOS's built-in curl doesn't offer post-quantum key exchange even to a server that supports it, while curl and Python built on OpenSSL 3.5 or later do.

A CI job talks to a handful of servers on every run: a package registry, a code host, a container registry, and more and more often an AI API. Each of those connections is encrypted with TLS, and each key exchange is either classical or post-quantum. The difference matters for harvest now, decrypt later: traffic recorded today can be decrypted once a large enough quantum computer exists, unless its key exchange was post-quantum.

So we measured it. This post covers which of the services CI depends on already negotiate post-quantum key exchange, which don't, and why the answer for your pipeline also depends on the tools you run.

New to the topic? What is post-quantum cryptography? A plain-English guide covers the background without the jargon.

How did we measure it?

With capyshield pq, the post-quantum readiness check in the open-source CapyShield CLI. For each host it performs one TLS handshake, offering the hybrid group X25519MLKEM768 first, then records the TLS version, the key-exchange group the server chose and the type of its certificate key. It sends no application data and closes the connection.

terminal
capyshield pq registry.npmjs.org pypi.org crates.io github.com api.openai.com …

We ran it on 4 December 2026 (05:29 UTC) from one network. Servers behind CDNs can answer differently by region or edge, so treat this as a snapshot, and run the command yourself to see what your network gets.

Which registries and APIs are post-quantum today?

13 of the 20 hosts negotiated X25519MLKEM768, the hybrid of classical X25519 and ML-KEM-768 (NIST FIPS 203):

Host Used by Key exchange
pypi.org, files.pythonhosted.org pip, uv, Poetry X25519MLKEM768
crates.io, index.crates.io, static.crates.io cargo X25519MLKEM768
proxy.golang.org go X25519MLKEM768
rubygems.org gem, Bundler X25519MLKEM768
repo.maven.apache.org Maven, Gradle X25519MLKEM768
objects.githubusercontent.com release and raw downloads X25519MLKEM768
api.anthropic.com, api.openai.com AI coding agents and SDKs X25519MLKEM768
www.cloudflare.com, example.com reference hosts X25519MLKEM768

Most of these sit behind CDNs that enabled hybrid key exchange by default, which is why support arrived without each project doing anything.

Which ones are still classical?

Host TLS Key exchange CapyShield category
github.com, api.github.com, codeload.github.com 1.3 x25519 server
ghcr.io 1.3 x25519 server
registry-1.docker.io 1.3 x25519 server
registry.npmjs.org, registry.yarnpkg.com 1.2 (no TLS 1.3) legacy
  • GitHub and Docker Hub speak TLS 1.3 but chose classical X25519 even though we offered the hybrid group. Git clones, API calls and container pulls from CI are classical today. Nothing on your side changes that.
  • npm and Yarn answered with TLS 1.2 from our network. We checked it independently with openssl s_client -tls1_3, which the same network completes with GitHub, PyPI and Cloudflare. With TLS 1.2 there is no post-quantum key exchange at all, so npm ci traffic is classical, whatever your tools offer.

Does your own tooling offer post-quantum key exchange?

The server can only choose a group the client offered. We ran the same request to pypi.org, which supports the hybrid group, through different clients with capyshield pq -- <command>:

Client TLS library Result
Python 3.15 urllib OpenSSL 4.1 X25519MLKEM768 (pq)
curl 8.23 (Homebrew) OpenSSL 4.1 X25519MLKEM768 (pq)
curl 8.7.1 (built into macOS) SecureTransport x25519 (client)

Same server, same network, different answer. The client category means the server is ready and the upgrade is yours: OpenSSL 3.5 and later offer X25519MLKEM768 by default, so tools built on a current OpenSSL get it for free. A pinned old base image or a system TLS stack without ML-KEM keeps every connection classical.

Are certificates post-quantum yet?

No. All 20 hosts presented classical certificates: ECDSA P-256 or RSA (2048 and 4096 bits). Public certificate authorities don't issue post-quantum (ML-DSA) certificates yet. That is less urgent than it sounds: forging a certificate needs a quantum computer during the connection, while recorded traffic can be attacked years later. Key exchange is the part that protects data recorded today, and it is the part that is moving.

How do you check your own CI?

Wrap the step you care about. Nothing is decrypted: CapyShield reads the cleartext parts of the TLS handshake, then re-checks each host with its own handshake to tell a client problem from a server one.

terminal
capyshield pq -- npm ci                       # table of every TLS host the step used
capyshield pq --fail-on client,legacy -- npm ci   # exit 5 when something you can fix is classical
capyshield pq --cbom cbom.json -- npm ci          # CycloneDX 1.6 CBOM for auditors

Fail on client and legacy rather than on everything: those you can fix (upgrade the TLS library, ask an internal service to enable TLS 1.3). server means a third party hasn't switched yet; failing builds on it only adds noise. On CapyShield Cloud's Team plan, --sync keeps each project's latest result in the dashboard, so you can see the trend across repositories.

What should you do with the results?

  • client: update the TLS library your tools use (OpenSSL 3.5+, or a newer base image). This is the most common quick win.
  • legacy: ask the operator to enable TLS 1.3. For public registries, that's their call; for your own services, it's yours.
  • server: nothing to change on your side. Re-run later; CDN-backed services tend to switch in one go.
  • Everyone: keep the CBOM with your release evidence. Auditors asking how you track cryptography will want exactly this list of hosts, protocols and algorithms.

Frequently asked questions

How do I check if my CI uses post-quantum TLS?
Wrap the step with the open-source CapyShield CLI: capyshield pq -- npm ci. It reads the TLS handshake of every connection the command makes, without decrypting anything, and reports per host whether the key exchange was post-quantum, and if not, whether your tool or the server is behind.
Which package registries support post-quantum key exchange?
In our measurement on 4 December 2026, PyPI, files.pythonhosted.org, crates.io, the Go module proxy, RubyGems and Maven Central negotiated X25519MLKEM768. npm's and Yarn's registries answered with TLS 1.2 from our network, and Docker Hub's registry chose classical X25519.
Why does my connection use classical TLS when the server supports post-quantum?
The client decides what it offers. If your TLS library doesn't offer a post-quantum group, the server can't choose one. OpenSSL 3.5 and later offer X25519MLKEM768 by default; macOS's built-in curl, which uses SecureTransport, does not.
Are TLS certificates post-quantum yet?
No. Every host we measured used a classical RSA or ECDSA certificate, because public certificate authorities don't issue post-quantum (ML-DSA) certificates yet. Post-quantum key exchange already protects recorded traffic; post-quantum authentication is still ahead.

Sources