On this page
  1. What happened between November 30 and December 3
  2. What is confirmed, what was misreported, and what is inference
  3. Why key exchange comes first and login keys second
  4. What I found on my own machines
  5. The server cannot accept ML-DSA keys yet
  6. What I changed
  7. ssh offers keys in the order the agent loaded them
  8. Check the auth log before removing an old key
  9. Checklist, in priority order
  10. What I still have to do
  11. Sources

This week the NSA, NIST, and nine large tech companies told everyone to move to post-quantum cryptography faster. I had Claude Code check my own machines against that advice, which took about 15 minutes. Every SSH and TLS connection I tested was already using a post-quantum hybrid key exchange, and I had done nothing to make that happen. My login keys were the weak part. Nine of the ten SSH keys and .pem key files on my laptop were RSA-2048 keys from 2023, and one of them was the only key my home server trusted.

This post covers what was announced, which parts are confirmed and which are inference, what I checked and changed, and a checklist in priority order. It reflects what was public on December 5, 2026. NIST has said a revised timeline is coming, so parts of this will go out of date.

What happened between November 30 and December 3#

  • November 30. Anthropic published four math papers on lattice-based cryptography, produced with its unreleased models according to press coverage. The main result is a quantum algorithm against Module-LWE and Module-SIS, the problems that ML-KEM and ML-DSA rely on. Cloudflare's analysis says the research "is purely theoretical, and does not impact the security of deployed cryptosystems." The algorithm needs "at least billions of logical quantum bits," and its cost against ML-DSA is on the order of 2^x for x greater than a thousand, against a security target of 2^128.
  • December 1 and 2. The NSA issued a seven-page advisory, Immediate Actions to Push Toward Post-Quantum, written for National Security Systems and defense contractors. It lists six actions in order: inventory where cryptography is used, move TLS services to TLS 1.3, stand up post-quantum certificate authorities, replace certificates and code signing, update software and firmware, and isolate what cannot be upgraded. The inventory step says to check for algorithms outside the NSA's approved suites, "e.g., DSA, elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA, deprecated Diffie-Hellman groups, pairing-based cryptography." That list covers P-256, X25519, and Ed25519. On hybrids it says, "If needing a hybrid key exchange, configure according to IETF RFC 10024 specifications." It sets no deadline and describes no attack.
  • December 2. The White House cyber office, the NSA, and CISA put out a joint statement. It says US AI companies "have disclosed discoveries that impact the security of some cryptography currently in use," and that the current assessment is that these advances "do not present an immediate and widespread threat to that cryptography." It names no algorithm and no company.
  • December 2. Amazon, Anthropic, Apple, Cloudflare, Google, Meta, Microsoft, OpenAI, and Oracle published a two-sentence statement supporting the government guidance to move to the NIST post-quantum standards "and to accelerate the migration as soon as possible." Some press coverage listed eight companies. The copy on OpenAI's site lists nine.
  • December 3. NIST said it "has assessed the recent research results reported by Anthropic and remains confident in the security of our post-quantum cryptography standards." It also said it "will soon release a revised and more aggressive deprecation timeline." The current plan, NIST IR 8547, deprecates quantum-vulnerable public-key algorithms after 2030 and disallows them after 2035.
  • December 3. Cloudflare moved its target for being fully post-quantum from 2029 to 2027, and said 73% of human connections to its network already use post-quantum encryption. Let's Encrypt said it is aiming to make Merkle Tree Certificates generally available in early February 2027, without committing to a date, and recommended that ACME clients default to 384-bit ECDSA and 3072-bit RSA keys.

What is confirmed, what was misreported, and what is inference#

The confirmed part is the direction. The US government, NIST, and the largest vendors all say to migrate sooner than planned. NIST, Cloudflare, and Valsorda all say ML-KEM and ML-DSA are still sound. The NSA advisory accepts hybrid key exchange, which Valsorda describes as going "against all its previous recommendations."

The misreported part is the lattice research. Some headlines implied that an AI model had broken post-quantum cryptography. The papers describe a quantum algorithm that nobody can run, against parameters where it would still cost far more than the security target. Valsorda's reading is that the result "should give us confidence that the labs are looking at ML-DSA and ML-KEM, and this is the best they found."

The inference is that 256-bit elliptic curves have a new classical weakness. Valsorda's summary is that "256-bit elliptic curves (P-256 and Curve25519/X25519/Ed25519) are likely broken or significantly weaker than we thought." He gets there from the government's wording: the curves the advisory flags, and statements about a threat to cryptography that mention no progress in quantum hardware. He calls his own post "hastily drafted" and presents the conclusion as his interpretation. The advisory's appendix complicates that reading a little. It shows that the NSA's 2016 suite, CNSA 1.0, already limited elliptic curves to P-384, so the list of flagged curves restates an existing rule. The new parts are the urgency and the joint statement's line about discoveries that affect cryptography in use. Schneier writes that an unnamed source told him P-256 was "broken." He has no details, and he points out that cryptographers use that word for results as small as a theoretical speedup.

The NSA has not said that these curves are weak, and nobody has published an attack. I'm treating the claim as unconfirmed and planning so that I'm fine if it turns out to be true.

Why key exchange comes first and login keys second#

Key exchange protects the session key for a connection. Anyone who records the traffic today can keep it and decrypt it later, once they can break the key exchange. That is the "harvest now, decrypt later" risk, and it means a weak key exchange used this year exposes this year's traffic to a future attacker.

Signatures work differently. A login key or a certificate proves identity at the moment of the connection. An attacker who breaks the signature algorithm in 2030 can impersonate me in 2030, and cannot go back and log in to a session from 2026. So authentication keys need to move before the break, and key exchange should already have moved.

The hybrid key exchanges cover both readings of this week's news. X25519MLKEM768 in TLS and mlkem768x25519-sha256 in SSH combine X25519 with ML-KEM-768, and the session stays protected as long as either one holds. If X25519 does turn out to be weak, ML-KEM-768 still protects the session. These are the parameters that OpenSSH and the major browsers ship. The NSA's suite for national security systems requires the larger ML-KEM-1024 and ML-DSA-87.

For login keys, the reading does matter. If Ed25519 is weakened, a plain Ed25519 SSH key is a stopgap, and the target is OpenSSH's new ssh-mldsa44-ed25519 hybrid key type, or RSA-3072 or P-384 where that isn't available.

What I found on my own machines#

My setup is two MacBooks, a home server on AlmaLinux 9.9 that I reach over the LAN and through a Cloudflare Tunnel, and some EC2 instances behind an OpenVPN Access Server.

I checked SSH key exchange with:

ssh -v homeserver true 2>&1 | grep 'kex: algorithm'

A post-quantum session prints kex: algorithm: mlkem768x25519-sha256. For TLS I used:

openssl s_client -connect example.com:443 -groups X25519MLKEM768:X25519 </dev/null 2>&1 \
  | grep 'Negotiated TLS1.3 group'

That needs OpenSSL 3.5 or later on the client. I used Homebrew's OpenSSL 4.1.1.

Connection

Key exchange

Authentication

SSH to the home server

mlkem768x25519-sha256

Ed25519 host key, RSA-2048 user key

Public HTTPS through Cloudflare

X25519MLKEM768

ECDSA P-256 certificate, managed by Cloudflare

A self-hosted admin UI on the LAN (a Go app)

X25519MLKEM768

RSA certificate

Every connection had post-quantum key exchange, and none of it was my doing. OpenSSH added mlkem768x25519-sha256 in 9.9 (September 2024) and made it the client default in 10.0 (April 2025). macOS 27.3 ships OpenSSH 10.6p1. The server runs OpenSSH 9.9p1 and OpenSSL 3.5.9, and its system crypto policy was already DEFAULT:PQ, which is the opt-in policy that enables the hybrid on RHEL 9.7 and later. You can check yours with update-crypto-policies --show.

My login keys were in worse shape. This lists the type and size of every public key in ~/.ssh:

for f in ~/.ssh/*.pub; do ssh-keygen -lf "$f"; done

ssh-keygen -lf also reads the unencrypted .pem key files that EC2 hands out. Nine of my ten keys and .pem files were RSA-2048, all from 2023. The one key in the server's authorized_keys was an RSA-2048 key that both laptops shared. So the session was protected by a post-quantum hybrid, and the login was protected by a key below the 3072-bit RSA minimum that the NSA's 2016 suite already required.

The server cannot accept ML-DSA keys yet#

OpenSSH 10.6, released October 6, 2026, enables the ssh-mldsa44-ed25519 hybrid signature key type. The 10.6p2 release on November 5 also allows it as a CA signature algorithm. My laptop supports it. My server's sshd is 9.9 and does not.

Upgrading the distribution doesn't change that. AlmaLinux 10.3 came out on November 16, 2026 and still ships OpenSSH 9.9p1. Red Hat lists ML-DSA authentication for SSH as under active development, with no version or date. The only way to get it on an Enterprise Linux server today is to build upstream OpenSSH 10.6 and run it as a second sshd.

I decided against that. I would rather run the distribution's patched sshd than maintain my own build of the service that guards the machine. If more information comes out that changes the picture, I'll reconsider. The server gets an Ed25519 key now, and I generated the ML-DSA hybrid key so it is ready when the server can accept it.

What I changed#

I generated both keys with passphrases and stored the passphrases in the macOS Keychain:

ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519
ssh-keygen -t mldsa44-ed25519 -f ~/.ssh/id_mldsa44_ed25519
ssh-add --apple-use-keychain ~/.ssh/id_ed25519

The ML-DSA hybrid public key is about 1,850 characters on one line, against about 80 for Ed25519.

I backed up the server's authorized_keys and appended the Ed25519 public key, without removing the RSA key:

ssh homeserver 'cp ~/.ssh/authorized_keys ~/.ssh/authorized_keys.bak'
cat ~/.ssh/id_ed25519.pub | ssh homeserver 'cat >> ~/.ssh/authorized_keys'

Then I tested the new key on its own before touching my config:

ssh -v -o IdentitiesOnly=yes -i ~/.ssh/id_ed25519.pub homeserver true 2>&1 \
  | grep 'Server accepts key'

Passing the .pub file with IdentitiesOnly=yes makes ssh use only that key, through the agent. My first attempt at an isolated test used -o IdentityAgent=none -o BatchMode=yes and failed with "Permission denied." Batch mode cannot prompt for a passphrase, so a passphrase-protected key can never succeed that way. The failure told me nothing about the server.

Once the test passed, I pointed the server's entry in ~/.ssh/config at the new key. I left the RSA key and the sshd settings alone so the second laptop keeps working.

ssh offers keys in the order the agent loaded them#

My first config change looked like this:

Host homeserver
    IdentityFile ~/.ssh/id_ed25519
    IdentityFile ~/.ssh/id_rsa
    IdentitiesOnly yes

I expected ssh to try Ed25519 first and fall back to RSA. It logged in with RSA every time. In the ssh -v output both keys were marked "explicit agent," and ssh offered them in the order the agent had loaded them, which put RSA first. The order of the IdentityFile lines had no effect.

The fix was to list only the new key for that host. The broader lesson is to confirm which key the server accepted instead of trusting the config:

ssh -v homeserver true 2>&1 | grep 'Server accepts key'

Check the auth log before removing an old key#

Before removing a key from authorized_keys, find out who still uses it. This summarizes 90 days of key logins by user, source address, key type, and fingerprint:

sudo journalctl -u sshd --since "-90 days" | grep 'Accepted publickey' \
  | awk '{print $(NF-7), $(NF-5), $(NF-1), $NF}' | sort | uniq -c

My log showed the old RSA key in use from two places: the tunnel, which was one laptop, and a LAN address, which was the other. Logins through the tunnel show a source address of ::1, because the tunnel daemon runs on the server and connects to sshd locally. Removing the key that day would have locked the second laptop out.

Checklist, in priority order#

  1. Key exchange. Run the two checks above against every SSH host and HTTPS endpoint you operate. For SSH you need OpenSSH 9.9 or later on both ends. For TLS, Valsorda's October guide says to avoid OpenSSL before 3.5. If your server runs OpenSSH 10.6, its WarnWeakCrypto option is on by default and logs any client that connects without post-quantum key agreement.
  2. Login keys. Replace RSA-2048 keys. Use Ed25519 now, and ssh-mldsa44-ed25519 wherever both ends run OpenSSH 10.6 or later.
  3. Certificates. At your next renewal, request a P-384 or RSA-3072 key instead of P-256 or RSA-2048, as Let's Encrypt now recommends. Expect Merkle Tree Certificates in early 2027, and keep your ACME client updated so it can use them.
  4. VPNs. A VPN carries all of your traffic over one key exchange, so it is an obvious thing to record. Find out whether yours has a post-quantum key exchange and whether it is turned on.
  5. Cloud load balancers. Switch TLS listeners to a post-quantum policy. On AWS, list the options with aws elbv2 describe-ssl-policies --query "SslPolicies[?contains(Name,'PQ')].Name".
  6. Encrypted files and backups. An archive encrypted to a GPG RSA key has the same record-now, decrypt-later exposure as network traffic, and it sits on disk for years. age supports post-quantum recipients.
  7. Symmetric encryption and hashes. AES-256, ChaCha20, and SHA-2 need no change.

What I still have to do#

The second laptop gets its own Ed25519 and ML-DSA keys next. After that I'll remove the shared RSA key from the server and restrict sshd to post-quantum key exchange and Ed25519 keys. I have not checked the key exchange on the OpenVPN Access Server yet, and by my own checklist that should have come before the login keys. The ML-DSA key waits for Red Hat to ship an sshd that accepts it.

Sources#

Devon
Follow