TL;DR: On December 2 the NSA told National Security Systems to “immediately accelerate” the move to post-quantum cryptography, after “Frontier SI companies” disclosed discoveries that “impact the security of some cryptographic systems currently in use”. Filippo Valsorda’s reading of the advisory, which we adopt: 256-bit elliptic curves (P-256, X25519, Ed25519) are likely broken or much weaker than we thought, RSA and P-384 are a stopgap, and ML-KEM and ML-DSA are fine.1 Move TLS key exchange to X25519MLKEM768 now, move certificates off P-256, rotate Ed25519 SSH keys to
ssh-mldsa44-ed25519, and plan for ML-DSA. The nginx, Cloudflare and OpenSSH changes are below.
This is the fourth post in our series. In June, We Said Wait. The Wait Is Over. argued that the post-quantum migration had to start. In November, Post-quantum right answers, now with a deadline set the target state and a 2029 deadline. On December 1, Cryptography Breakthrough Rumors: What We Know covered Anthropic’s lattice papers and concluded that no action was needed.
The NSA advisory changes that conclusion. The lattice papers were one disclosure. The advisory points to another one, unnamed and probably classical, against the elliptic curves that secure most of today’s TLS.
What the NSA said
The NSA published three documents on December 1 and 2: a press release, a joint statement with the Office of the National Cyber Director (ONCD) and CISA, and a cybersecurity advisory with the technical guidance.234 None of them names an algorithm as broken. The message sits in what they list, and what they leave out.
The trigger is an AI disclosure, not a quantum computer. The press release says “Frontier SI companies have engaged with the U.S. government to responsibly disclose recent discoveries that impact the security of some cryptographic systems currently in use.” Filippo reads this as a classical attack: no quantum algorithm would be a “significant threat” without a matching jump in quantum hardware, and the documents mention none.
The inventory list names the targets. The advisory tells owners to record “algorithms not approved in CNSA 2.0 or CNSA 1.0 (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 excludes P-256 by name and calls out EdDSA, whose only NIST-specified form is Ed25519. Pairing-based cryptography mostly runs over curves with a group order near 256 bits. All three point at 256-bit elliptic curves. RSA is not on the list.
The NSA now accepts a hybrid with X25519. “If needing a hybrid key exchange, configure according to IETF RFC 10024 specifications.” RFC 10024 defines X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024.5 The NSA used to oppose hybrids; it now accepts the one that already ships in every major browser.
RSA and P-384 are the stopgap for certificates. “Verify the use of RSA 3K or P-384 as the base size for roots when updating infrastructure,” with a footnote that “2K may be required for legacy support in certain instances.” PKIs can’t move to ML-DSA in weeks, so the NSA names what to use in the meantime.
The threat is real but expensive. The joint statement says “recent SI advances do not present an immediate and widespread threat to that cryptography.” Filippo’s reading: the attack may be immediate but not widespread, because it still costs more than most attackers can spend. Attacks get cheaper over time.
What this means for you
Filippo sums it up in three lines:
- 256-bit elliptic curves (P-256 and Curve25519/X25519/Ed25519) are likely broken or significantly weaker than we thought.
- RSA and P-384 may be fine as an interim solution, but only as a stopgap.
- ML-KEM and ML-DSA are doing fine, and we need to move to them much faster than planned.
Key exchange is the urgent part. Harvest-now-decrypt-later now applies to a classical attack, not a future quantum computer. Every TLS session negotiated with plain X25519 or P-256 is a recording an attacker may decrypt soon, not in 2030. A hybrid holds as long as either half holds, so X25519MLKEM768 stays safe even if X25519 falls.
Authentication moved from later to now. A broken P-256 means forged signatures in real time: an attacker who can recover a P-256 certificate key can impersonate the server. Authentication is only as strong as the weakest trust anchor a client accepts, so this is a PKI project, not a config change.
This also updates our earlier advice. The December 1 update to Post-quantum right answers recommended ML-KEM-1024 where supported. That still holds for systems you control on both ends. For public TLS, X25519MLKEM768 is the answer today: it is the hybrid browsers support, and the NSA has now accepted it.
What to change now
Filippo’s short list: get TLS to X25519MLKEM768, get private PKI to ML-DSA (or RSA 3072/P-384 if you can’t), get ready to rotate WebPKI certificates and update your TLS and ACME stack, and update OpenSSH to 10.6 and rotate to ssh-mldsa44-ed25519 keys.1
For TLS, that becomes four changes:
| # | Change | From | To |
|---|---|---|---|
| 1 | Key exchange | X25519, P-256 | X25519MLKEM768 (SecP384r1MLKEM1024 where both ends support it) |
| 2 | Key exchange fallback for non-PQ clients | X25519, P-256 | P-384 |
| 3 | Certificate key | ECDSA P-256 | ECDSA P-384 or RSA 3072 now, ML-DSA when your CA issues it |
| 4 | TLS library | OpenSSL 3.0-3.4 | OpenSSL 3.5 or later |
nginx
nginx gets post-quantum key exchange from OpenSSL. You need nginx built against OpenSSL 3.5 or later, which enables X25519MLKEM768 by default.6 Check the build first:
nginx -V 2>&1 | grep -o 'built with OpenSSL [0-9.]*'
The default already prefers the hybrid, but it still accepts plain X25519 and P-256 from clients that don’t support ML-KEM. Many configs copied from older generators also pin ssl_ecdh_curve X25519:prime256v1:secp384r1, which turns the hybrid off entirely: an explicit list replaces the OpenSSL default. To drop 256-bit curves, set the groups explicitly:
server {
listen 443 ssl;
server_name example.com;
# Two certificates. OpenSSL picks one per client; no P-256 key anywhere.
ssl_certificate /etc/nginx/tls/example.com-p384/fullchain.pem;
ssl_certificate_key /etc/nginx/tls/example.com-p384/privkey.pem;
ssl_certificate /etc/nginx/tls/example.com-rsa3072/fullchain.pem;
ssl_certificate_key /etc/nginx/tls/example.com-rsa3072/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
# Group tuples (OpenSSL 3.5+), separated by "/":
# 1st tuple: post-quantum hybrids (RFC 10024)
# 2nd tuple: P-384 for clients without ML-KEM
# Plain X25519 and P-256 are not offered.
ssl_ecdh_curve SecP384r1MLKEM1024:X25519MLKEM768/secp384r1;
# TLS 1.2: ECDHE only, so a client without P-384 can't fall back
# to RSA key transport.
ssl_ciphers ECDHE+AESGCM:ECDHE+CHACHA20;
ssl_prefer_server_ciphers on;
}
How OpenSSL 3.5 reads that ssl_ecdh_curve line: the server walks the tuples in order. If the client supports any group in the first tuple, the server picks a hybrid, and sends a HelloRetryRequest if the client guessed a different key share. Only clients with no hybrid support reach secp384r1.7 Chrome, Firefox and Safari send X25519MLKEM768 today, so they never take the fallback.
Get the P-384 and RSA 3072 certificates from your ACME client. With certbot:
certbot certonly --cert-name example.com-p384 \
--key-type ecdsa --elliptic-curve secp384r1 -d example.com
certbot certonly --cert-name example.com-rsa3072 \
--key-type rsa --rsa-key-size 3072 -d example.com
Before you cut off plain X25519 and P-256, measure who would lose access. Log the negotiated group with $ssl_curve for a few days, then make the change. nginx logs groups it does not know by name in hexadecimal; 0x11ec is X25519MLKEM768.
log_format tls '$remote_addr "$http_user_agent" $ssl_protocol $ssl_curve';
access_log /var/log/nginx/tls.log tls;
Then test both directions from a client with OpenSSL 3.5 or later. The hybrid must succeed and 256-bit-only clients must fail:
# Expect "Negotiated TLS1.3 group: X25519MLKEM768"
openssl s_client -connect example.com:443 -groups X25519MLKEM768 -brief </dev/null
# Expect a handshake failure: only 256-bit curves offered
openssl s_client -connect example.com:443 -groups X25519:P-256 -brief </dev/null
# Expect success on secp384r1: the legacy fallback
openssl s_client -connect example.com:443 -groups P-384 -brief </dev/null
For internal services where you control the clients, go further: issue ML-DSA certificates from your private CA (OpenSSL 3.5 supports ML-DSA-44, -65 and -87) and make the clients reject anything else. A client that still accepts a classical certificate gives an attacker the downgrade path.
Cloudflare
Behind Cloudflare there are two TLS connections, and each needs different work.
Visitor to Cloudflare edge: key exchange is done, certificates are not. Cloudflare supports X25519MLKEM768 on every TLS 1.3 connection, and browsers that support it already use it.8 We found no setting in Cloudflare’s documentation to stop the edge from accepting plain X25519 or P-256 from older clients, so that part is Cloudflare’s to change. The certificate is yours to change:
- Check which key your edge serves. Cloudflare’s Universal SSL serves an ECDSA certificate on all plans and adds RSA on paid plans; the ECDSA certificate we observed on Cloudflare’s own blog was P-256.9
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null \ | openssl x509 -noout -text | grep -E 'Public-Key|NIST CURVE' - On Business and Enterprise plans, upload a custom certificate with a P-384 or RSA 3072 key, issued by the CA of your choice. Cloudflare accepts ECDSA keys of 225 bits and up, so P-384 qualifies.
- Post-quantum signatures from the edge to visitors are still under development at Cloudflare. Track their status and plan to rotate when they ship.
Cloudflare to your origin: key exchange is automatic, but not enforced. Automatic key exchange is on by default for every zone. Cloudflare scans your origins about every 24 hours and prefers X25519MLKEM768 when the origin supports it. It needs the Full or Full (strict) SSL mode and TLS 1.3 on the origin, and it doesn’t apply to Cloudflare Tunnel, which runs its own post-quantum connection from cloudflared.10
- Upgrade the origin to OpenSSL 3.5 or later (the nginx config above works as is) and confirm it negotiates the hybrid:
openssl s_client -connect origin.example.com:443 -groups X25519MLKEM768 -brief </dev/null - In the dashboard, go to SSL/TLS > Overview > Origin connection & post-quantum encryption, and under Compliance requirements select Post-quantum hybrid (API value
["pqh"]). Cloudflare then advertises only X25519MLKEM768 to your origins. Any origin, or any host your Workersfetch()under that zone, that lacks ML-KEM support fails with a525error, so do step 1 first. - Move the origin certificate off P-256. Cloudflare accepts ML-DSA on this connection: present an ML-DSA client certificate with Authenticated Origin Pulls, and trust an ML-DSA CA for your origin certificate with a Custom Origin Trust Store.11 Note that a Custom Origin Trust Store replaces the public CAs for the zone. If you can’t move to ML-DSA yet, use a P-384 or RSA 3072 origin certificate.
- On the origin, accept only Cloudflare’s ML-DSA client certificate. As Cloudflare’s own guide warns, if the verifying side still accepts a classical certificate, an attacker who breaks that key can still impersonate the peer.
Rotate your Ed25519 SSH keys
ssh-ed25519 has been the default SSH key type for years, so most user keys, host keys and SSH CAs run on a curve the advisory leaves out. Filippo’s advice: update OpenSSH to 10.6 and rotate to ssh-mldsa44-ed25519 keys.1 OpenSSH 10.6 (October 6, 2026) enabled this hybrid signature scheme, which pairs ML-DSA-44 with Ed25519. OpenSSH 10.6p2 (November 5, 2026) also allows it as a CA signature algorithm.12
SSH has two separate problems:
| # | Part | Exposure | Status |
|---|---|---|---|
| 1 | Key exchange | Harvest-now-decrypt-later: recorded sessions decrypted later | mlkem768x25519-sha256 is the default since OpenSSH 10.0.13 Check old servers and appliances. |
| 2 | User keys, host keys, CA keys | Live impersonation: a forged signature logs in as a user or as a server | Still Ed25519 or ECDSA P-256 almost everywhere. This is the rotation. |
Upgrade and check both ends
The hybrid key type works only when both client and server run OpenSSH 10.6 or later. Use 10.6p2 if you run an SSH CA. Keys generated by the experimental @openssh.com version in 10.4 and 10.5 don’t work with 10.6, so regenerate them.
ssh -V # OpenSSH_10.6 or later
ssh -Q key | grep mldsa # expect ssh-mldsa44-ed25519 and its -cert type
Measure before you cut
From 10.6, sshd logs every client that negotiates a key exchange that isn’t post-quantum (the WarnWeakCrypto option, on by default). sshd already logs the key type of every accepted public key. Together these two log lines are your inventory: who still connects without a post-quantum key exchange, and who still logs in with ED25519 or ECDSA keys.
journalctl -u ssh -u sshd --since "7 days ago" | grep -E 'Accepted publickey' \
| grep -oE 'ssh2: [A-Z0-9-]+' | sort | uniq -c
Rotate user keys
ssh-keygen -t mldsa44-ed25519 -C "$USER@$(hostname -s) $(date +%F)"
ssh-copy-id -i ~/.ssh/id_mldsa44_ed25519.pub user@server
ssh -v user@server true 2>&1 | grep -E 'kex: algorithm|Server host key|Authenticated'
ssh picks up ~/.ssh/id_mldsa44_ed25519 without extra config. The rotation is finished only when the old ssh-ed25519 and ecdsa-sha2-nistp256 lines are gone from every authorized_keys file. A key that is still accepted can still be forged.
Rotate host keys
Add the new host key next to the old one, so clients can learn it before you remove anything:
sudo ssh-keygen -t mldsa44-ed25519 -N '' -f /etc/ssh/ssh_host_mldsa44_ed25519_key
OpenSSH clients pick up the new key on their next login through UpdateHostKeys. It is on by default, as long as the user hasn’t overridden UserKnownHostsFile and the host isn’t authenticated by a certificate. Fleets that use an SSH CA should sign the new host key with an ML-DSA CA and publish it as a @cert-authority line in known_hosts:
ssh-keygen -t mldsa44-ed25519 -f ssh_ca_mldsa
ssh-keygen -s ssh_ca_mldsa -h -I server.example.com -n server.example.com \
/etc/ssh/ssh_host_mldsa44_ed25519_key.pub
Clients rank ssh-mldsa44-ed25519 last in the default host key order, so tell them to prefer it in ~/.ssh/config or /etc/ssh/ssh_config:
Host *
HostKeyAlgorithms ^ssh-mldsa44-ed25519-cert,ssh-mldsa44-ed25519
Lock the server down
When the logs show no remaining Ed25519 or ECDSA logins, remove the old algorithms from sshd_config.14 RSA stays as the stopgap the NSA allows, for clients that can’t run 10.6 yet. ssh-keygen already creates 3072-bit RSA keys by default.
# Key exchange: post-quantum hybrids only
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512
# Host keys: ML-DSA hybrid, RSA 3072 as the stopgap. Remove the Ed25519 and ECDSA HostKey lines.
HostKey /etc/ssh/ssh_host_mldsa44_ed25519_key
HostKey /etc/ssh/ssh_host_rsa_key
# User keys and certificates
PubkeyAcceptedAlgorithms ssh-mldsa44-ed25519,ssh-mldsa44-ed25519-cert,rsa-sha2-512,rsa-sha2-256,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com
CASignatureAlgorithms ssh-mldsa44-ed25519,rsa-sha2-512,rsa-sha2-256
Test with sshd -t, then keep a second session open while you reload sshd. An ssh-ed25519 key should now be rejected:
ssh -o IdentitiesOnly=yes -i ~/.ssh/id_ed25519 user@server true # expect: Permission denied (publickey)
Two gaps remain. OpenSSH has no post-quantum hardware key type yet: the FIDO types are ed25519-sk and ecdsa-sk only, so keep them only where a hardware-backed key matters more than the curve, and track the next releases. Network gear, appliances and managed services that can’t run OpenSSH 10.6 need RSA 3072 keys and a written replacement date.
What we are doing
We are applying the same plan wherever we own the decision, following Filippo’s list:
- Drop 256-bit elliptic-curve key exchange now, by moving to ML-KEM hybrids.
- Prepare to require ML-DSA, or RSA 3072/P-384, for authentication. This is the hard part: authentication is only secure once no vulnerable trust anchor remains.
- Put the full move to ML-KEM and ML-DSA ahead of every other cryptography project.
- Plan contingencies in case the attacks on elliptic curves, RSA, or both improve in the coming weeks.
Start with an inventory of where you use 256-bit curves: TLS key exchange, certificates, SSH keys, code signing, VPNs and JWT signing keys. The advisory’s own list is a good checklist. If you need help with the inventory or the rollout, contact your Profero account team.
Sources
| # | Source | Link |
|---|---|---|
| 1 | Filippo Valsorda, What to Make of the NSA Advisory, Cryptography Dispatches #138, December 2, 2026 | words.filippo.io |
| 2 | NSA, press release: NSA Advises Immediate Transition to Post-Quantum Cryptography, December 2, 2026 | nsa.gov |
| 3 | ONCD, NSA and CISA, Joint Statement on Recent Advances in Cryptographic and Cybersecurity Capabilities, December 2, 2026 | cisa.gov |
| 4 | NSA, Cybersecurity Advisory on immediate actions toward PQC (PDF), December 1, 2026 | media.defense.gov |
| 5 | IETF, RFC 10024: Post-Quantum Traditional (PQ/T) Hybrid Key Agreement Mechanisms for TLS 1.3, August 2026 | rfc-editor.org |
| 6 | NGINX, Post-Quantum Cryptography (PQC) support in NGINX | blog.nginx.org |
| 7 | OpenSSL 3.5, SSL_CTX_set1_groups_list: group tuples and server selection | docs.openssl.org |
| 8 | Cloudflare, Post-quantum cryptography | developers.cloudflare.com |
| 9 | Cloudflare, Universal SSL | developers.cloudflare.com |
| 10 | Cloudflare, Automatic key exchange to origins | developers.cloudflare.com |
| 11 | Cloudflare, Post-quantum cryptography to your origin | developers.cloudflare.com |
| 12 | OpenSSH, release notes for 10.6 and 10.6p2 | openssh.org |
| 13 | OpenSSH, Post-Quantum Cryptography | openssh.org |
| 14 | OpenBSD manual pages, sshd_config(5) and ssh_config(5) | man.openbsd.org |



