Dev.to Security 🔐 Cybersecurity 👁 0 📖 8 min read

The NSA says move to post-quantum encryption now. I tested 54 services developers build on: 43 already have, GitHub and npm have not

This week the NSA said the move to post-quantum encryption has to speed up. The US agencies’ joint statement says AI companies found things “that impact the security of some cryptography currently in use”, and in the sam

This week the NSA said the move to post-quantum encryption has to speed up. The US agencies’ joint statement says AI companies found things “that impact the security of some cryptography currently in use”, and in the same paragraph that there is no “immediate and widespread threat”. Then eight of the biggest tech companies said the same thing. Cloudflare’s CEO wrote that they were briefed on something, that it is a big deal, and that he cannot share the details yet.

I build a security scanner, and I could not answer the first thing anyone would ask me: is the stuff I ship on already protected or not? Nobody is going to tell me what was found. But whether a server has switched is something you can just ask the server. So I asked 54 of them.

43 have switched. 11 have not, and they are not the ones I would have guessed: GitHub, the npm registry, the Docker registry, the Stripe API. Not one of the 54 has a post-quantum certificate.

43 of 54 picked the post-quantum key exchange. App hosting: 14 of 15. APIs a backend calls: 25 of 30. Where code and packages come from: 4 of 9. Post-quantum certificates: 0 of 54. One machine, two runs, 3 December 2026.

What I asked each server

When a TLS connection starts, the client sends a list of key exchanges it can do and the server picks one. I put the new one, X25519MLKEM768, at the top of my list, with the two classical ones everybody uses below it. Then I wrote down what each server picked.

The long name is two things glued together. X25519 is the elliptic-curve exchange we all use today. ML-KEM is the one NIST standardised in August 2024 to survive a quantum computer. Both run, and an attacker has to break both.

I ran the list twice and got the same answers. For the 11 that said no I did not want to trust one tool, so I tried again with Node, and then once more offering the new exchange and nothing else. None of them completed that handshake.

The 11 that said no

Hosting is basically done. Vercel, Netlify, Cloudflare Pages, Lovable, Bolt, Replit, Render, Railway, Heroku and the rest picked the new exchange. Fly.io was the only one that did not, on two different apps.

Most of the APIs have it too: OpenAI, Anthropic, Gemini, Supabase, Clerk, Resend. Stripe is half and half. The hosted checkout page has switched and api.stripe.com has not. SendGrid and Microsoft’s sign-in host have not either.

Then the part I did not expect. The places my code and my dependencies come from are the furthest behind: github.com, the GitHub API, GitHub’s container registry, the npm registry, the Docker Hub registry. The npm registry would not go above TLS 1.2 with me, and TLS 1.2 cannot carry the new exchange at all.

Service What it picked Host I tested
App hosting
Vercel Post-quantum *.vercel.app
Netlify Post-quantum *.netlify.app
Cloudflare Pages Post-quantum pages.dev
Lovable Post-quantum *.lovable.app
Bolt Post-quantum *.bolt.host
Replit Post-quantum *.replit.app
v0 Post-quantum v0.app
Base44 Post-quantum app.base44.com
Render Post-quantum *.onrender.com
Railway Post-quantum *.up.railway.app
Fly.io Classical (X25519) *.fly.dev
Heroku Post-quantum *.herokuapp.com
GitHub Pages Post-quantum *.github.io
Firebase Hosting Post-quantum *.web.app
Azure Static Web Apps Post-quantum *.azurestaticapps.net
APIs
OpenAI Post-quantum api.openai.com
Anthropic Post-quantum api.anthropic.com
Google Gemini Post-quantum generativelanguage.googleapis.com
Mistral Post-quantum api.mistral.ai
OpenRouter Post-quantum openrouter.ai
Hugging Face Post-quantum huggingface.co
Stripe Classical (X25519) api.stripe.com
Stripe Post-quantum checkout.stripe.com
Paddle Post-quantum api.paddle.com
Lemon Squeezy Post-quantum api.lemonsqueezy.com
Clerk Post-quantum api.clerk.com
Auth0 Post-quantum auth0.com
Google Post-quantum accounts.google.com
Microsoft Classical (P-256) login.microsoftonline.com
Supabase Post-quantum api.supabase.com
Firestore Post-quantum firestore.googleapis.com
Amazon S3 Post-quantum s3.amazonaws.com
Neon Post-quantum console.neon.tech
Upstash Post-quantum api.upstash.com
Convex Post-quantum convex.dev
Resend Post-quantum api.resend.com
SendGrid Classical (X25519) api.sendgrid.com
Twilio Post-quantum api.twilio.com
Sentry Post-quantum sentry.io
PostHog Post-quantum us.i.posthog.com
Cloudflare Post-quantum api.cloudflare.com
Vercel Post-quantum api.vercel.com
Netlify Classical (P-256, TLS 1.2) api.netlify.com
Render Post-quantum api.render.com
Fly.io Classical (X25519) api.fly.io
Code and packages
GitHub Classical (X25519) github.com
GitHub Classical (X25519) api.github.com
GitHub Post-quantum raw.githubusercontent.com
GitHub Classical (X25519) ghcr.io
npm Classical (X25519, TLS 1.2) registry.npmjs.org
npm Post-quantum www.npmjs.com
PyPI Post-quantum pypi.org
Docker Hub Classical (X25519) registry-1.docker.io
Docker Hub Post-quantum hub.docker.com

Is that bad?

Not today. Nobody has published an attack on X25519, and I am not reporting a vulnerability in GitHub or anyone else on that list.

The worry is somebody recording traffic now and keeping it until they can open it. People call it harvest now, decrypt later. Whether it matters depends on how long the thing you sent stays worth reading. A session cookie that dies tonight, no. An API key that never gets rotated and goes out with every request, yes.

What I cannot tell you is how far away “until they can open it” is. That is exactly the part nobody is saying this week.

Nobody has a post-quantum certificate

All 54 servers proved who they are with an RSA or ECDSA signature. I counted it because I was curious, and zero is fine for now. A certificate is checked at the moment you connect. You cannot record a handshake today and forge it in ten years, so there is nothing to collect. Cloudflare’s own docs say post-quantum authentication for visitors is still being built.

Then I tested myself

vetkit.dev picked the new exchange. No credit to me. It sits behind Cloudflare, which says 73% of human connections to its network already use it.

The app and the API surprised me. They go straight to my own server with no CDN in front, and they passed as well. I had not touched anything. The web server is Caddy, Caddy is written in Go, and Go turned the new exchange on by default in 1.24. I got it for free with an update.

My laptop did worse. I started a local server that accepts only the new exchange and pointed everything I had at it, with no settings changed:

Client TLS library inside it Connected
Node.js 24.14.1 OpenSSL 3.5.5 Yes
Node.js 22.22.2 OpenSSL 3.5.5 Yes
Node.js 22.11.0 OpenSSL 3.0.15 No
Node.js 20.20.2 OpenSSL 3.0.19 No
Python 3.9.6 (macOS system) LibreSSL 2.8.3 No
curl 8.7.1 (macOS system) LibreSSL 3.3.6 No

The curl and the Python that come with macOS could not connect. Neither could an older Node 22. A newer Node 22 could, and the only difference that matters is that it ships OpenSSL 3.5, which offers the new exchange by default.

This is the one piece that is mine to fix. When my server calls Stripe or a model provider, my runtime writes that list of key exchanges. If the runtime is old, the new one is not on the list, and it does not matter what the other side supports.

It takes both sides, though. A current Node calling api.stripe.com still gets the classical exchange today. It will get the new one, without a deploy, the day Stripe turns it on.

Ask your own server

One command. It needs OpenSSL 3.5 or newer, and the openssl that comes with macOS is not that.

openssl s_client -connect example.com:443 -servername example.com -groups X25519MLKEM768:X25519 </dev/null 2>/dev/null | grep -E "Negotiated TLS1.3 group|Peer Temp Key"

You get one of these two lines back:

Negotiated TLS1.3 group: X25519MLKEM768    <- post-quantum key exchange
Peer Temp Key: X25519, 253 bits            <- classical key exchange

If you are behind a CDN, run it against your origin too. That is a second connection, and Cloudflare’s docs say it is only post-quantum if your origin supports it.

For the calls your server makes, look at the OpenSSL inside your runtime. On Node:

node -p process.versions.openssl

3.5 or newer is what you want to see.

What I would do about it

Less than the headlines suggest.

  • Nothing about the browser side. The hosts already did it.
  • Get every runtime onto OpenSSL 3.5 or newer, or Go 1.24 or newer. Start with whatever calls payment and AI APIs.
  • Write down what gets encrypted with RSA or elliptic curves and kept for years: backups, signing keys. Just a list. The UK’s NCSC gives organisations until 2028 to finish that list and until 2035 to finish migrating. I am not going to swap algorithms by hand before my libraries do.
  • Not let this jump the queue. When we scanned 1,252 public repos, about 1 in 9 had a server-side key sitting in the open. Nobody needs a quantum computer for that, or for an MD5 password hash, or for a certificate check somebody switched off.

vetkit, the scanner I work on, has 145 checks for that last kind of thing, and a free check for a live site that needs no account. Neither tests post-quantum key exchange yet. The command above does.

What I do not know

This is one machine on one day. Big networks answer from many places and change settings without telling anyone, so you may get a different answer than I did.

For shared app domains like *.vercel.app I used a name with no app behind it, because the platform answers the handshake before it looks for the app. A custom domain can be set up differently.

I had no live address for a Supabase project, AWS Amplify, Azure App Service or DigitalOcean App Platform, so they are missing.

And I do not know what the agencies were told. The Record says it is not even clear the warning is about the lattice research Anthropic published on 30 November. Cloudflare read that research and calls it purely theoretical.

Short answers

Is encryption broken?

No. The agencies say there is no immediate and widespread threat. They want a migration that was already planned to go faster.

Do I have to change my code?

Almost never. Your host, your CDN and the TLS library in your runtime do this. Keep them current.

What is X25519MLKEM768?

The key exchange for TLS 1.3 that pairs X25519 with ML-KEM-768, which NIST published as FIPS 203. On the web today, this is what post-quantum means in practice.

Which services had not switched on 3 December 2026?

*.fly.dev, api.stripe.com, login.microsoftonline.com, api.sendgrid.com, api.netlify.com, api.fly.io, github.com, api.github.com, ghcr.io, registry.npmjs.org, registry-1.docker.io.

If you run the command on something that is not in my list, I would like to know what it says.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.