Post-Quantum for Sysadmins: What the Encryption Warning Means for Your Servers
Introduction
On 3 December 2026, the BBC published Tech companies issue urgent call for advanced security over AI threat. Eight major technology companies — OpenAI, Anthropic, Microsoft, Google, Cloudflare, Amazon, Oracle and Apple — said organizations should strengthen encryption “as soon as possible”. The trigger was an NSA warning that undisclosed discoveries by leading AI firms could threaten the systems protecting sensitive data. The NSA also said there was no “immediate and widespread threat”, and Anthropic said its model had found potential flaws in sophisticated encryption but that they were not a practical threat to current systems. The NSA has been advising organizations to move to post-quantum cryptography for years.
So what does this actually mean if you run a few servers, a homelab, or a small IT estate? It does not mean AES is broken, and it does not mean you need to replace your TLS certificates tomorrow. It does mean the post-quantum migration that has been sitting on the roadmap since NIST published ML-KEM, ML-DSA and SLH-DSA in 2024 has moved from “interesting future project” to “put it in the plan with dates”. There is no new algorithm to deploy because of this story. The standards were finalized in 2024; what changed is the urgency.
The good news is that the first and most valuable step, hybrid post-quantum key exchange, is already available in current OpenSSH, OpenSSL and Go. For a lot of servers it is a version upgrade and a one-line config change.
The short version
- Your traffic is protected by two different kinds of public-key crypto: key exchange (how two parties agree on a session key) and signatures (how they prove who they are). Quantum computers break both, but in different ways and on different schedules.
- Key exchange is the urgent one, because of “harvest now, decrypt later”. Hybrid ML-KEM key exchange is ready today.
- Signatures (TLS certificates, SSH host keys, code signing) are the long tail. The standards exist, but the certificate ecosystem is not ready for a big-bang switch.
- Symmetric crypto is fine. AES-256 and ChaCha20 are not practically broken by quantum computers. SHA-2 is fine; stop using SHA-1.
- The deadlines are not “next week”: NIST says quantum-vulnerable public-key crypto should be deprecated after 2030 and disallowed after 2035. The NCSC says discover and plan by 2028, migrate the highest-priority systems by 2031, and finish by 2035. The news is a reason to start now, not to panic now.
| Where you run it | What to do first | How to check |
|---|---|---|
| OpenSSH server/client | Upgrade to 10.0+ (10.6+ preferred) | ssh -Q kex | grep mlkem |
| nginx / Apache | OpenSSL 3.5+, then enable X25519MLKEM768 | openssl s_client ... |
| Caddy / Traefik / Go services | Use a build with Go 1.24+ | caddy version |
| WireGuard | Add a PresharedKey as an interim measure | wg show |
| OpenVPN | 2.7.x with OpenSSL 3.5+, --tls-groups | openvpn --version |
| IPsec | strongSwan 6.x or vendor ML-KEM support | vendor docs |
| Certificates / code signing | Plan and test, don’t rush | CA/vendor roadmap |
ssh -Q kex checks the local OpenSSH build; use sudo sshd -T to see what the server actually offers.
What actually breaks
Quantum computers running Shor’s algorithm can solve the math behind RSA, Diffie-Hellman, ECDH, ECDSA and EdDSA. That covers most of the public-key crypto on your servers: TLS key exchange, TLS certificates, SSH key exchange and host keys, VPN handshakes, code-signing keys, and a lot of appliance firmware. The replacements are ML-KEM for key exchange, and ML-DSA or SLH-DSA for signatures; the standards are done, the deployment is not.
Grover’s algorithm weakens symmetric ciphers, but only by square-rooting the effort. AES-256 still has 128 bits of quantum security, which is plenty. AES-128 drops to 64 bits, so use AES-256 for anything long-lived. SHA-256 and SHA-384 are fine; SHA-1 should already be gone.
Two migrations, not one
Key exchange is the “harvest now, decrypt later” problem. An attacker can record encrypted traffic today and decrypt it when they have a quantum computer. If the data still matters in 5 to 15 years, such as backups, credentials, personal data, source code, or legal and medical records, the clock starts when the traffic is captured, not when the quantum computer arrives. That is the argument for acting well before 2035.
Signatures are different. A future quantum computer cannot undo a signature you already verified, but it can forge new signatures from that point on. That migration is harder because certificates, CAs, browsers, HSMs, smart cards, firmware and code-signing pipelines all have to agree. NIST’s ML-DSA and SLH-DSA standards are ready, but the ecosystem is still catching up. Do not let that stop you from fixing key exchange now.
The AI angle
The BBC story is about AI accelerating the discovery of weaknesses, not about a new mathematical break of TLS or SSH. Anthropic said its model had found potential flaws in sophisticated encryption, but that they were not a practical threat to current systems. The useful lesson is that implementation bugs and protocol flaws can surface faster than your patch cycle. That is an argument for crypto-agility and automated patching, not for turning off encryption or buying a “quantum-proof” box.
Before you change anything: a 30-minute inventory
Run these on the host itself. For containers, run them inside the container; the host’s OpenSSL version is irrelevant if the container ships its own.
ssh -V
openssl version -a
nginx -V 2>&1 | grep -o 'OpenSSL [0-9.]*'
apache2 -v # or httpd -v on RHEL/Fedora
caddy version
openvpn --version | head -n 2
java -version 2>&1 | head -n 1
node -p 'process.versions.openssl'
python3 -c 'import ssl; print(ssl.OPENSSL_VERSION)'
Find every listener, including the ones you forgot:
sudo ss -tlnp
Then test what the outside world sees:
openssl s_client -connect example.com:443 -servername example.com \
</dev/null 2>/dev/null | grep -E 'Protocol|Cipher|Negotiated TLS1.3 group'
On OpenSSL 3.5 and newer, the client offers the hybrid group by default, so that last line tells you what actually won. If the line is missing, either the server did not pick a hybrid group, the server is still on TLS 1.2, or your local OpenSSL is older than 3.5.
Make a list with four columns: service, software version, who terminates TLS, and how long the data must stay secret. That last column is your priority order. A public web server with six-month sessions is less urgent than a backup target holding ten years of credentials.
SSH: usually a version upgrade and one line
OpenSSH has been ahead of most of the industry here. Version 9.9 added the mlkem768x25519-sha256 hybrid key exchange. Version 10.0, released in April 2025, made the client prefer it by default, disabled finite-field Diffie-Hellman in sshd by default, and removed DSA. Version 10.1 added a client warning when a connection negotiates a non-post-quantum key exchange. Version 10.6, released in October 2026, added the server-side WarnWeakCrypto option, enabled by default, which logs clients that use non-post-quantum key agreement. It also enabled hybrid post-quantum signatures using ssh-mldsa44-ed25519. At the time of writing, 10.6p2 is the current release.
Check what you have
ssh -V
ssh -Q kex | grep -E 'mlkem|sntrup'
sudo sshd -T | grep -E 'kexalgorithms|warnweakcrypto'
If ssh -V shows 10.0 or newer, your client already prefers post-quantum key exchange by default. If it shows 9.9, the method exists but is not preferred by default. If it shows something older, upgrade. While you are at it, remove any remaining DSA keys: OpenSSH 10.0 dropped DSA support entirely.
Upgrade
Use your distribution’s packages rather than compiling unless you have a good reason. If your distribution is too old, check backports or wait for the next release; a hand-built OpenSSH is one you have to patch yourself.
# Debian / Ubuntu
sudo apt update
sudo apt install --only-upgrade openssh-server openssh-client
# Fedora / RHEL
sudo dnf upgrade openssh-server openssh-clients
# Arch
sudo pacman -Syu openssh
# Alpine
sudo apk upgrade openssh
Then restart the daemon and reconnect:
sudo systemctl restart ssh # Debian / Ubuntu
sudo systemctl restart sshd # RHEL / Fedora
Keep an existing SSH session open while you test. If you lock yourself out, you still have a way back in.
Make it explicit on 9.9 and later
On OpenSSH 9.9, the method exists but is not preferred. You need it on both ends, and the client’s list order is what decides: the first algorithm on the client’s list that the server also supports wins. The ^ prefix moves it to the head of the default list; + only appends it, so an appended method may never be chosen even when both ends support it.
# /etc/ssh/sshd_config.d/10-pqc.conf
KexAlgorithms ^mlkem768x25519-sha256
On 10.0 and newer the client already prefers it and sshd offers it by default, so the line is harmless but redundant. The client side is the one that has to prefer it, so add the same line to ~/.ssh/config for 9.9 clients:
Host *
KexAlgorithms ^mlkem768x25519-sha256
Do not replace the whole list with post-quantum-only algorithms unless you have tested every client and have console access.
One sshd gotcha: for most keywords, sshd uses the first value it finds. If your main sshd_config already sets KexAlgorithms, edit that line or make sure the drop-in is included before it, then confirm with sudo sshd -T | grep kexalgorithms.
Verify
ssh -vv user@server 2>&1 | grep 'kex: algorithm'
You want to see:
debug1: kex: algorithm: mlkem768x25519-sha256
On 10.6 and newer, sshd will also log a warning when a client uses a non-post-quantum key agreement. That is useful for finding old clients. Do not start refusing them yet; find them first.
Host keys are a separate problem
Key exchange protects the session data. The host key signature is what proves you are connecting to the right server. Ed25519 host keys are still the right default for compatibility. OpenSSH 10.4 added an experimental composite mldsa44-ed25519 key type, and 10.6 enabled the ssh-mldsa44-ed25519 signature algorithm.
You can add a post-quantum host key alongside the existing one:
sudo ssh-keygen -t mldsa44-ed25519 -N '' -f /etc/ssh/ssh_host_mldsa44_ed25519_key
Then add HostKey /etc/ssh/ssh_host_mldsa44_ed25519_key to your sshd config and test with a 10.6 or newer client; 10.4 clients need the algorithm enabled explicitly. Keep the Ed25519 key: older clients will fall back to it, and you do not want to break automation. For most people this is a lab test, not a production change yet.
While you are in there, inventory your authorized_keys (public keys) and SSH certificates, and remove stale entries. Post-quantum key exchange protects the connection, not the credentials: if a private key is shared across a thousand servers, a stronger key exchange will not save you. Use short-lived certificates or an SSH CA where you can.
HTTPS: enable the hybrid group
The standardized hybrid groups are a TLS 1.3 feature; TLS 1.2 keeps ECDHE. That is fine: keep TLS 1.2 for old clients, enable TLS 1.3, and let modern clients negotiate the hybrid group.
OpenSSL 3.5, released in April 2025, added ML-KEM and put X25519MLKEM768 at the front of its default TLS group list. Its client sends two key shares by default: the hybrid one and a classical X25519 fallback. If your web server links OpenSSL 3.5 or newer, it may already be doing hybrid key exchange with no configuration at all. Check before you change anything.
openssl version
nginx -V 2>&1 | grep -o 'OpenSSL [0-9.]*'
ldd "$(command -v nginx)" | grep -i ssl
nginx
# keep your existing ssl_protocols line; make sure TLSv1.3 is enabled
ssl_conf_command Groups X25519MLKEM768:X25519:secp256r1;
ssl_conf_command needs nginx 1.19.4 or newer, and the hybrid group needs OpenSSL 3.5 or newer. Do not add a second ssl_protocols directive in a separate file at the same level; nginx will reject the duplicate. Test and reload:
sudo nginx -t && sudo systemctl reload nginx
Apache
# inside the VirtualHost, or globally
SSLOpenSSLConfCmd Groups X25519MLKEM768:X25519:secp256r1
sudo apachectl configtest && sudo systemctl reload apache2
Caddy and Traefik
Caddy 2.10 and later, built with Go 1.24 or newer, negotiate X25519MLKEM768 by default. There is nothing to configure. Recent Traefik releases are also built with Go 1.24 or newer; check traefik version. If you build your own Go service, Go 1.24 enables it by default and GODEBUG=tlsmlkem=0 turns it off.
Load balancers, CDNs and reverse proxies
If TLS terminates at HAProxy, Envoy, a cloud load balancer or a CDN, the host’s OpenSSL version is irrelevant. Check the actual terminator. Cloudflare already supports the hybrid group; check the release notes for your load balancer or CDN. For HAProxy built with OpenSSL 3.5 or newer, check ssl-default-bind-curves; if it is unset, the OpenSSL defaults apply.
Verify
openssl s_client -connect example.com:443 -servername example.com \
-groups X25519MLKEM768 </dev/null 2>/dev/null \
| grep 'Negotiated TLS1.3 group'
You want to see:
Negotiated TLS1.3 group: X25519MLKEM768
Test without -groups as well, to see what a default client gets. Test from outside your network, and use the actual hostname clients use, because SNI and the certificate matter.
If it does not work, work backwards: client OpenSSL older than 3.5, server not speaking TLS 1.3, server OpenSSL older than 3.5, or TLS terminated somewhere else. A reverse proxy can be post-quantum on the front and classical on the back. That still protects the client-to-proxy hop, but not the proxy-to-backend hop, so treat each hop separately.
Certificates
Your RSA or ECDSA certificate is fine. ML-DSA certificates are not yet something you can request from every public CA and expect every browser to accept. The certificate signature is the “signature” migration and it will take years. Do not let that stop you from turning on post-quantum key exchange now.
If you run an internal CA, start testing ML-DSA certificates and dual-signing in the lab, and ask your public CA for a roadmap.
The rest of the stack
VPNs
WireGuard has no ML-KEM in the mainline protocol yet. The practical interim step is a 32-byte PresharedKey on both peers. WireGuard mixes it into the handshake, so an attacker who breaks Curve25519 still cannot derive the session keys without the PSK. The protocol documentation itself mentions post-quantum resistance as a use for the pre-shared key. It is not a substitute for a real post-quantum key exchange, but it is a cheap improvement. Rosenpass is an experimental add-on if you want to go further.
OpenVPN 2.7.x has --tls-groups. If both ends are built with OpenSSL 3.5 or newer, set:
tls-groups X25519MLKEM768:X25519:secp256r1
Older peers fall back to classical groups. Check openvpn --version for the OpenSSL version. The data channel keys are derived from the TLS control channel, so this matters.
IPsec is further along than many people expect. strongSwan 6.0 and later support ML-KEM in IKEv2 through RFC 9370 multiple key exchanges, configured with ke1_ style options. Version 6.0.2 and later can use OpenSSL 3.5 or newer. Appliance vendors vary; check the firmware release notes for your firewall or router. For most people this is a 2027 to 2030 project, not a today project.
Tailscale uses WireGuard for its data plane, and Headscale is the open-source control server for Tailscale-style networks; neither changes the WireGuard handshake itself. Check Tailscale’s release notes for post-quantum support. If you need post-quantum protection for a specific service now, put a post-quantum TLS tunnel in front of it.
Mail, databases and app runtimes
Mail: Postfix, Dovecot and Exim use OpenSSL or GnuTLS. Upgrade to a build with OpenSSL 3.5 or newer, or GnuTLS 3.8.8 or newer where its experimental X25519MLKEM768 support is available, and check whether the daemon exposes a curve or group list; if it does, add X25519MLKEM768. Most mail clients do not support post-quantum key exchange yet, so the connection will fall back to classical. That is expected. The bigger mail problem is S/MIME and PGP signatures, which are long-lived and need their own plan.
Databases: PostgreSQL, MySQL, MariaDB, Redis and MongoDB all speak TLS through OpenSSL or a vendor library. The same rule applies: upgrade the library, check the group setting, and rebuild containers. Do not forget replication and backup connections.
Java: JDK 24 and later include ML-KEM and ML-DSA (JEP 496 and JEP 497), and JDK 25 is the current LTS. If you run Tomcat, Jetty or another JVM service, upgrade the JDK and check the TLS group configuration. Older JDKs stay classical.
Node.js: Recent releases bundle newer OpenSSL. Check with node -p 'process.versions.openssl' and rebuild container images rather than patching inside a running container.
Containers and Kubernetes: The host’s libssl is not the container’s. Rebuild base images, check ingress-nginx, Envoy and Traefik versions, and remember that a service mesh may terminate TLS on a sidecar with its own library.
The long tail
Appliances are where the 2035 deadline will slip. NAS boxes, routers, cameras, printers, IPMI and BMC controllers, and UPS management cards often run old OpenSSL and may never get a post-quantum update. Put them on an isolated VLAN, do not expose them to the internet, and replace the ones that matter.
Code and firmware signing uses RSA, ECDSA or Ed25519 today. If you sign packages or firmware, plan a dual-signing period with ML-DSA or LMS/XMSS and publish the new public keys. If you consume vendor firmware, ask for the roadmap.
Backups are usually fine if they use AES-256, but check how the data encryption keys are wrapped. If a long-lived RSA key protects the backup key, that is the weak link.
Remote access over TLS, such as RDP, VNC or IPMI, inherits the same TLS library rules. Patch it and do not expose it directly.
A practical migration plan
| When | What to do |
|---|---|
| Now (Q4 2026) | Inventory; patch OpenSSH, OpenSSL and web servers; enable hybrid key exchange; verify; document |
| 2027-2028 | Upgrade OS and TLS stacks; retire TLS 1.0/1.1, SHA-1 and DSA; add crypto-agility; classify data lifetime; inventory vendors |
| 2028-2031 | The NCSC’s priority migration: critical assets, internet-facing services, VPN/IPsec, code signing, long-lived data |
| 2031-2035 | Remaining systems, post-quantum certificates and signatures, embedded and legacy |
| After 2035 | Exceptions only, with documented risk acceptance |
Make it easy to change your mind later:
- Do not hardcode algorithms in application code. Use the library defaults or a configuration value.
- Keep a minimum-version policy in configuration management, and rebuild images regularly.
- Monitor what actually negotiates: the
Negotiated TLS1.3 groupline in tests and logs, SSH KEX inssh -vv, andsshdwarnings. - Keep a break-glass path. If you change SSH or TLS, keep an existing session open and have console access.
What not to do
- Do not disable TLS 1.2 or SSH’s classical algorithms overnight. You will break old clients and possibly lock yourself out. Add post-quantum, test, then remove legacy only when you know nothing needs it.
- Do not replace AES-256 or your certificates because of a headline.
- Do not buy a “quantum-proof” appliance without asking which FIPS standards it implements, which parameter sets it uses, and how it gets updates.
- Do not assume “we use HTTPS” means you are done. The terminator might be a CDN, a load balancer, or a sidecar with an old library.
- Do not wait for post-quantum certificates. Key exchange and signatures are separate migrations; do the easy one now.
- Do not ignore the AI angle. If finding implementation flaws gets faster, patch cadence matters more, not less.
Conclusion
The BBC story is a warning shot, not a break. The useful response for anyone running servers is unglamorous: know what crypto you are actually using, upgrade the stack, turn on hybrid post-quantum key exchange, and make algorithms replaceable. Start with SSH and HTTPS this week; they are usually a version upgrade and a one-line config change. Then put VPNs, mail, code signing, certificates and appliances on the 2028/2031/2035 timeline.
The quantum computer is not here yet. The migration clock is already running.