Skip to content

Post-Quantum Cryptography: What It Is and What to Do Now

Post-quantum cryptography explained for CTOs: what NIST's ML-KEM and ML-DSA replace, why the NSA says move now, and what to check first in a cloud stack.

Published
Topics
SecurityKubernetesCloud
Dark blue cover with the Log'in Line logo and the title Post-Quantum Cryptography: What It Is and What to Do Now

On December 2, the NSA told national security system owners to "immediately accelerate" their move to post-quantum cryptography. The same day, Amazon, Anthropic, Apple, Cloudflare, Google, Meta, Microsoft, OpenAI and Oracle signed one short statement backing that guidance. If you run a SaaS product on AWS or GCP, you probably read the headline between two standups and wondered whether this is a "drop everything" moment or a "next quarter" one.

It's a "start now, finish over years" moment. Post-quantum cryptography (PQC) is the set of new public-key algorithms, standardized by NIST in 2024, that replace RSA and elliptic curves because a large enough quantum computer could break those. For a cloud-native team, the first steps are an inventory of where your stack encrypts and signs, then hybrid key exchange on TLS 1.3 and SSH, which recent versions of Kubernetes, OpenSSH and OpenSSL already turn on by default. Certificates and code signing come later. Data that must stay secret for years is what's urgent.

TL;DR

  • No quantum computer can break RSA today, but the estimated hardware needed has dropped by three orders of magnitude since 2019.
  • The live threat is "harvest now, decrypt later": traffic recorded today, read once the hardware exists.
  • Kubernetes 1.33+, OpenSSH 10 and OpenSSL 3.5 already negotiate hybrid post-quantum key exchange.
  • Step one is an inventory, not a rewrite.

What happened on December 2

The industry statement is two sentences long: the signers support the U.S. government's push to adopt NIST's post-quantum standards and to "accelerate the migration as soon as possible." It follows a joint statement from ONCD, NSA and CISA saying that AI companies have disclosed discoveries that "impact the security of some cryptography currently in use," while adding that they "do not present an immediate and widespread threat." The NSA's own release lists the first actions: inventory cryptographic dependencies, require the new algorithms in procurement, and build for crypto agility.

The tell for me was Cloudflare the next morning. A company that has worked on this since 2016 pulled its "fully post-quantum" target from 2029 to 2027. People don't move a deadline forward two years for fun.

Post-quantum cryptography in plain English

Almost every secure connection you make uses public-key cryptography to agree on a secret and to prove who's on the other end. RSA bets that factoring a huge number back into its two primes takes forever. Elliptic curves bet on a similar puzzle in a smaller package. A classical computer would need billions of years. A big enough quantum computer running Shor's algorithm could do it in hours or days, as NIST explains.

Think of it like a time capsule with a combination lock. It doesn't matter that nobody can open it today if someone carries it home and waits for the right tool. That's "harvest now, decrypt later," and it's why encryption had to move first.

NIST's answer, after an open competition that started in 2016:

StandardFormer nameJobReplaces
ML-KEM (FIPS 203)CRYSTALS-KyberKey exchangeECDH and RSA key transport
ML-DSA (FIPS 204)CRYSTALS-DilithiumSignaturesECDSA and RSA in certificates
SLH-DSA (FIPS 205)SPHINCS+Backup signaturesA hash-based fallback

What's deployed today is mostly "hybrid": a classical algorithm and a post-quantum one run together, and an attacker has to break both. Belt and suspenders, but for your TLS handshake.

Why the timeline keeps shrinking

In 2019, Gidney and Ekerå estimated that factoring RSA-2048 needed about 20 million noisy qubits. In 2025, Gidney brought that under a million. In March 2026, researchers at Oratomic argued that Shor's algorithm could run with as few as 10,000 reconfigurable atomic qubits, and that breaking a P-256 key could take a few days on 26,000. Nobody has built that machine. But the hill got a lot smaller.

Google now targets 2029 for its own migration and puts authentication first. The other accelerant is AI: on November 30, Anthropic published theoretical work on the lattice problems behind ML-KEM and ML-DSA. Cloudflare's read is that the attack is slower than the best known classical ones, and no agency has changed its guidance. ML-KEM is not broken. What it does show is that research is speeding up, so being able to swap algorithms quickly matters.

Where quantum risk lives in a cloud stack

Some good news first. Since Kubernetes 1.33, built with Go 1.24, the API server negotiates hybrid X25519MLKEM768 by default. OpenSSH 10.0 made mlkem768x25519-sha256 its default key exchange in April 2025, and OpenSSL 3.5 offers X25519MLKEM768 out of the box. If you keep up with upgrades, you've been doing PQC without a single meeting about it.

Always Has Been meme: “Wait, my cluster already does post-quantum?” “Since Kubernetes 1.33, yes”

The rest of the stack, piece by piece:

ComponentRiskTypical state today
Ingress controller and load balancersHarvest now, decrypt laterDepends on the TLS library version in the controller or managed LB
Kubernetes API, kubectlHarvest now, decrypt laterHybrid by default when both sides run 1.33+
SSH (bastions, CI, Git)Key exchange and access keysHybrid exchange on OpenSSH 10+, keys still Ed25519 or RSA
Certificates, service-mesh mTLSImpersonationStill classical almost everywhere
Container image and release signingForged "official" codeStill classical
Long-lived API keys and secretsPersistent accessThe real priority
Databases and backups at restLowAES-256 holds up against quantum attacks

The classic gotcha: a 1.33 kubectl talking to a 1.32 cluster. The client only speaks the standardized ML-KEM, the server only the older draft. Nothing errors out. The connection quietly falls back to classical key exchange. Same story with an old ingress image in front of a new cluster: your chain is only as post-quantum as its oldest link, which is one more reason to stay ahead of Kubernetes end-of-life dates.

As for data, the exposure is whatever has to stay confidential for years: health records, contracts, HR files, secrets moving between services. Your public product catalog can relax.

A realistic migration plan

1. Inventory. Both the NSA and NIST put this first. Find where algorithms, certificates and keys actually live. At one client we found a long-lived service account key sitting in a Git repo and in the Terraform state. That kind of key is exactly what a quantum attacker would go after first, and the fix (rotate it, move CI to OIDC federation) has nothing quantum about it.

A quick check takes two commands:

# TLS: does the endpoint negotiate hybrid key exchange? (OpenSSL 3.5+ client)
openssl s_client -connect api.example.com:443 -groups X25519MLKEM768 </dev/null 2>/dev/null | grep -i "group"
# expected: Negotiated TLS1.3 group: X25519MLKEM768

# SSH: which key exchange is in use?
ssh -v bastion.example.com exit 2>&1 | grep "kex: algorithm"
# expected: kex: algorithm: mlkem768x25519-sha256

2. Hybrid TLS 1.3 wherever it's free. Bumping ingress, service mesh and bastion images to current versions handles most of the harvest-now risk. That's your quick win.

3. Crypto agility. The goal is to change algorithms without touching application code: certificates issued and rotated automatically (cert-manager, ACME), secrets in a secret manager instead of hardcoded, infrastructure as code you can replay. A team that rotates certificates every 90 days without thinking about it will handle this far better than one with a five-year cert nobody remembers creating.

4. Prioritize by secret lifetime. Long-lived keys and sensitive data first, the rest on the normal upgrade cycle. And as Cloudflare points out, adding post-quantum support isn't enough: at some point the old algorithms have to be switched off, or an attacker just forces a downgrade.

On effort: for a startup on managed Kubernetes, the early steps mostly come down to staying current and cleaning up secrets. Certificates and signatures are the long tail, and they depend on your vendors too. NIST notes that past cryptographic transitions took 10 to 20 years, so starting early is the cheap option.

How we handle it at Log'in Line

On the clusters we run through managed Kubernetes, routine upgrades already cover a good part of this. For the rest, we can inventory your infrastructure with you, measure what already negotiates hybrid, and hand you a prioritized plan, like the forgotten key above. If you want to know where you stand, the easiest way is a free 30-minute assessment.

Post-quantum cryptography FAQ

Is AES-256 quantum-safe?

Yes. Symmetric encryption is far less affected than RSA or elliptic curves. Key exchange and signatures are what need replacing.

Will post-quantum cryptography slow down my APIs?

Hybrid key exchange has little overhead: Cloudflare has enabled it by default since 2022, and 73% of human traffic to its network is already post-quantum encrypted. ML-DSA signatures are bigger, which is one reason certificates come last.

Is there a deadline?

For U.S. national security systems, the NSA's CNSA 2.0 suite sets the requirements. For everyone else, the practical deadline usually arrives through enterprise customers' security questionnaires, well before any regulation.

Is post-quantum cryptography the same as quantum cryptography?

No. Post-quantum cryptography is math that runs on the servers you already have. Quantum cryptography relies on quantum physics and dedicated hardware. For a cloud stack, PQC is the one that matters.

About the author

Anthony Marchand

CEO @ Log'in Line

Tech entrepreneur for 10 years & cards lover

Get a full team for the price of a part-time freelancer.

Contact us
infra@loginline.com
No commitmentOn-call included