NSA Post-Quantum Advisory: Fix SSH and TLS Now
The NSA's 2 December advisory tells US national security system owners to move to post-quantum cryptography now and lists every elliptic curve except P-384 and P-521 for review, but it names no broken algorithm. Hybrid key exchange, X25519MLKEM768 in TLS and mlkem768x25519-sha256 in SSH, stays secure even if the curve fails. On 3 December, 35 of 60 Indian bank, government and payment sites offered it to Chrome.

One line in the NSA post-quantum advisory of 2 December says more than the rest. It asks operators to find every place they use "elliptic curves other than P-384 or P-521", EdDSA and pairing-based cryptography. RSA is not on the list. Cryptography engineer Filippo Valsorda called it "the most telling bit" and read it as a sign that the 256-bit curves are "likely broken or significantly weaker than we thought".
Those curves are X25519, P-256 and Ed25519. If you opened a banking site, pushed code with git or used a WireGuard VPN today, you almost certainly relied on one of them. Yet the NSA post-quantum advisory itself names no broken algorithm. Its public line, in a joint statement with the Office of the National Cyber Director (ONCD) and CISA, is that the new discoveries "do not present an immediate and widespread threat".
This article separates what the NSA said from how experts read it. Then it shows what to check this week in TLS, SSH and WireGuard, with a fresh scan of 60 Indian bank, government and payment sites and of the SSH servers developers push code to.
What does the NSA post-quantum advisory say?
It tells owners, operators and vendors of US national security systems to "immediately accelerate" their move to post-quantum cryptography, because AI companies disclosed discoveries that "impact the security of some cryptographic systems currently in use".
The NSA post-quantum guidance came as three documents on 2 December. They are written for US national security systems, not for Indian companies, but the software they cover, from web servers to VPNs, is the same software Indian companies run.
A press release. The NSA's announcement says "Frontier SI companies" disclosed the findings to the US government. It warns that "Adversaries are already collecting encrypted information to decrypt once the capabilities become available." It asks for an inventory, quantum-resistant firmware signatures and new purchasing rules.
A technical advisory. "Immediate Actions to Push Toward Post-Quantum" lists what to look for: DSA, EdDSA, "deprecated Diffie-Hellman groups", pairing-based cryptography and "elliptic curves other than P-384 or P-521 for ECDH or ECDSA". It allows hybrid key exchange set up "according to IETF RFC 10024". For the roots of certificate chains it asks for "RSA 3K or P-384", with a footnote allowing 2K "for legacy support".
A joint statement. In the statement from ONCD, the NSA and CISA, "SI" stands for "Super Intelligence". The agencies say their assessment, made "in consultation with these technology companies", is that the advances "do not present an immediate and widespread threat to that cryptography".
The statement also points to Executive Order 14412, signed on 22 June 2026. That order already sets dates for US federal systems: post-quantum key exchange by 31 December 2030 and post-quantum signatures by 31 December 2031 for high-value and high-impact systems. It also asks for a rule that covered federal contractors meet NIST's standards, post-quantum ones included, by 31 December 2030. Indian IT companies with US government work should note that date.
The press release drew more than 1,800 points on Hacker News within a day, and Valsorda's explainer more than 680. Britain's National Cyber Security Centre answered on the same day without changing its plan. Its chief executive, Richard Horne, pointed organisations to the NCSC's timelines, with the highest-priority work done "by 1st January 2031", and asked most users for "a measured approach".
What did the AI companies discover?
Nobody has said in public: the NSA names no company, paper or algorithm, and the eight companies that backed the guidance on 2 December did not describe any attack.
Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle published a two-sentence joint statement. They "strongly support" the US guidance and say they are helping organisations move to NIST's post-quantum standards. Anthropic also posted it on X at 03:18 UTC on 3 December, 8:48 AM in India. It names no algorithm and no finding.
The only public candidate is Anthropic's 30 November lattice paper, which TrickyWorld covered in its report on the ML-KEM attack. It describes a quantum algorithm against the maths behind ML-KEM and ML-DSA, the new post-quantum standards. Cloudflare called that research "purely theoretical", and Valsorda called it "completely theoretical".
Valsorda's own reading of the NSA post-quantum advisory, in "What to Make of the NSA Advisory", runs like this:
The news came from AI companies, not from a quantum lab, so he thinks the attack is classical: it would run on ordinary computers.
The inventory list leaves out RSA. It catches P-256 by exclusion and Ed25519 through "EdDSA", and X25519 shares its underlying curve, Curve25519, with Ed25519.
Pairing-based cryptography mostly runs on curves of about 256 bits too.
The NSA now accepts the X25519MLKEM768 hybrid, which goes against its earlier advice, because it is the most widely available fix.
ML-KEM and ML-DSA, he writes, "are doing fine" and are what everyone should move to, much sooner than planned.
Ryan Hurst, a long-time public key infrastructure engineer, read the same list "with less confidence" on his Unmitigated Risk blog. The NSA's older rules already demanded P-384 and RSA keys of at least 3,072 bits, as its 2022 TLS profile, RFC 9151, shows. So the list could look the same with or without a new attack. "From what the agencies have said publicly, we can't tell what prompted the warning," he wrote.
Both agree on what to do next. That is the useful part: every step below makes sense under either reading.
Which algorithms are affected?
No algorithm is officially broken, but the NSA post-quantum advisory flags every elliptic curve except P-384 and P-521, plus EdDSA, DSA, old Diffie-Hellman groups and pairing-based cryptography, while leaving RSA and the post-quantum algorithms alone.
This is where you meet each one, and what to do about it now:
Algorithm | Where you meet it | In the advisory | What to do now |
|---|---|---|---|
X25519 | Key exchange in TLS, SSH and WireGuard | An elliptic curve other than P-384 or P-521 | Use it only inside a hybrid such as X25519MLKEM768 |
P-256 | Most website certificates, TLS key exchange, ES256 tokens | An elliptic curve other than P-384 or P-521 | Keep for now, plan RSA 3072, P-384 or ML-DSA |
Ed25519 | SSH keys, git commit signing | Listed as EdDSA | Plan ssh-mldsa44-ed25519 keys |
RSA-2048 | Most Indian bank certificates | Allowed for legacy support | Keep, but use 3072 or more for new long-lived keys |
RSA 3072+, P-384, P-521 | Some certificate authorities | The stopgap | Use for new keys until ML-DSA works everywhere |
ML-KEM, ML-DSA | Hybrids in browsers and OpenSSH | What it means by post-quantum | Move to them first |
AES-256, ChaCha20 | Encrypting the data itself | Not in question | Nothing urgent; India's roadmap prefers AES-256 to AES-128 |
Two points keep this in proportion. First, these curves do two different jobs. In key exchange they keep a session secret, so traffic recorded today could be decrypted later. In signatures they prove who you are talking to, and a forger would need to break a key before it is replaced. That makes key exchange the first thing to fix.
Second, a hybrid changes how much a broken curve matters. RFC 10024, which defines X25519MLKEM768 and two other TLS hybrids, describes a hybrid as giving "security as long as at least one of the component algorithms remains secure". A weaker X25519 doesn't hurt a connection that also runs ML-KEM-768.
Is HTTPS still safe?
Yes for today, by the NSA's own assessment, and a connection that uses the X25519MLKEM768 hybrid stays private even if X25519 falls, because ML-KEM-768 still protects the session key.
Browsers already do their part. Chrome from version 131, Firefox from 132 on desktop and Safari from 26 offer X25519MLKEM768 by default, according to Cloudflare's support list, and Cloudflare said on 1 December that 73% of the human traffic it carries is post-quantum encrypted. The gap is on the server side. If a site doesn't support the hybrid, the browser falls back to plain X25519 or P-256, and that session is the kind someone could record now and decrypt later.
On 3 December, between 05:14 and 05:19 UTC, TrickyWorld checked the same 89 sites as on 1 December with the open-source pqlevel tool. Of the 63 Indian bank, government and payment sites, 60 answered:
35 of 60 Indian sites give Chrome the X25519MLKEM768 hybrid: 14 of 24 banks, 11 of 21 government and regulator sites, and 10 of 15 UPI and payment sites.
18 run TLS 1.3 but offer only classical groups. Chrome gets X25519 from 16 of them, including SBI's online banking, Punjab National Bank, Bank of Baroda, UIDAI, EPFO, CERT-In and SEBI, and P-256 from Central Bank of India and UCO Bank.
7 still run TLS 1.2, which can't carry these hybrids at all: ICICI Bank's infinity.icicibank.com, the income tax e-filing portal, GST, Passport Seva, BHIM UPI, BillDesk and CCAvenue.
Nothing changed in the two days since the first scan. No Indian site on the list switched on the hybrid after the NSA post-quantum advisory.
Certificates are the harder part. On the same day, 47 of the 60 Indian sites used an RSA-2048 key in their certificate and 13 used P-256. None used RSA 3072 or P-384, the sizes the advisory asks for. That is normal on the web: 14 of the 26 global sites in the scan, Google among them, use P-256 too.
A site can't fix its certificate alone yet. In February, Google said that Chrome has no immediate plan to accept post-quantum X.509 certificates. It is building on Merkle Tree Certificates instead, with a quantum-resistant root store planned for the third quarter of 2027. Let's Encrypt targets 2027 for issuing them in production. Until then, keep your TLS software and renewal process ready to rotate certificates quickly.
How do you check a website's TLS?
Check which key exchange your site gives a browser: OpenSSL 3.5's s_client prints the negotiated group, and the free pqlevel tool shows what Chrome, Firefox and Go would each get.
With OpenSSL 3.5 or newer on your machine, this prints one line. The comments show the two answers you can get:
openssl s_client -connect www.example.com:443 -groups X25519MLKEM768:X25519 \
</dev/null 2>/dev/null | grep -E "Negotiated TLS1.3 group|Peer Temp Key"
# post-quantum: Negotiated TLS1.3 group: X25519MLKEM768
# classical: Peer Temp Key: X25519, 253 bitspqlevel needs only Python 3.10 or newer, so it also works where the system OpenSSL is older:
git clone https://github.com/vishal1610kamal/trickyworld_mlkem_level_check
cd trickyworld_mlkem_level_check
python3 -m pqlevel clients www.example.com # what each browser would get
python3 -m pqlevel certs www.example.com # the keys in its certificate chainTo turn the hybrid on, run your web server on OpenSSL 3.5 or newer. Its default group list starts with X25519MLKEM768, so no setting is needed. Remove any old line that pins classical curves, or put the hybrid first. On nginx that line looks like this:
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ecdh_curve X25519MLKEM768:X25519:secp256r1:secp384r1;If a CDN or load balancer handles TLS for you, the setting lives there. Cloudflare turns it on by default, and AWS Application Load Balancers offer post-quantum security policies that you pick per listener.
How do you check and fix SSH?
Run ssh -V on every machine you connect from: OpenSSH 10.0 and later use the mlkem768x25519-sha256 hybrid by default, while 8.9 and older pick classical X25519 first.
The machine you connect from matters because in SSH the client decides. RFC 4253 says the method used is the first one on the client's list that the server also offers. So a post-quantum server still gets a classical session from an old laptop. This is what common systems ship, according to Ubuntu's and Debian's package archives:
Ubuntu 22.04 LTS has OpenSSH 8.9. Its one post-quantum method, sntrup761x25519, comes after the classical curves, so it is never picked when a server offers X25519.
Ubuntu 24.04 LTS (9.6) and Debian 12 (9.2) put sntrup761x25519 first, but they have no ML-KEM.
Debian 13 (10.0), Ubuntu 26.04 LTS (10.2) and Ubuntu 26.10 (10.5) put ML-KEM first.
Post-quantum SSH keys need OpenSSH 10.6, released on 6 October 2026. Debian's testing branch has it, and Ubuntu has it only in its 27.04 development release.
TrickyWorld read the algorithm lists of 15 code-hosting SSH endpoints on 3 December, which servers send before anyone logs in. 14 answered, and they show why the version on your laptop matters:
Server | Post-quantum methods offered | OpenSSH 9.0 to 9.8 gets | OpenSSH 10 gets |
|---|---|---|---|
GitHub | ML-KEM and sntrup761 hybrids | sntrup761 hybrid | ML-KEM hybrid |
GitLab | ML-KEM hybrid only | X25519, classical | ML-KEM hybrid |
Bitbucket | ML-KEM hybrid only | X25519, classical | ML-KEM hybrid |
Azure DevOps | None | Finite-field Diffie-Hellman | Finite-field Diffie-Hellman |
AWS CodeCommit, Mumbai | None | Finite-field Diffie-Hellman | Finite-field Diffie-Hellman |
Codeberg, SourceHut, Arch Linux AUR | ML-KEM and sntrup761 hybrids | sntrup761 hybrid | ML-KEM hybrid |
Gitea, Launchpad | ML-KEM hybrid only | X25519, classical | ML-KEM hybrid |
So a developer on Ubuntu 24.04 who pushes to GitLab or Bitbucket gets a classical X25519 session, even though both servers support ML-KEM. TrickyWorld confirmed it with a real OpenSSH client set to the 9.0 to 9.8 default order: it chose curve25519-sha256 with both. Azure DevOps and AWS CodeCommit offer no post-quantum method at all, only finite-field Diffie-Hellman with RSA host keys. Only the AUR, which runs OpenSSH 10.6, offers a post-quantum host key.
Check your own machines and servers with these commands. The last two come from pqlevel:
ssh -V # your client's version
ssh -v [email protected] exit 2>&1 | grep "kex: algorithm" # the method a connection used
sudo sshd -T | grep -E "^kexalgorithms" # what your server offers
python3 -m pqlevel ssh your-server.example.in # a server, from outside, before login
python3 -m pqlevel local # your keys, settings and WireGuard filesThen fix what you find, in this order:
Update both ends to OpenSSH 10 where your system has it. From 10.1, ssh warns about every connection that doesn't use post-quantum key exchange, as OpenSSH's post-quantum page explains.
Look for copied hardening lines. The KexAlgorithms line in Mozilla's widely shared OpenSSH guideline lists only classical methods, so it switches post-quantum key exchange off even on OpenSSH 10. Remove the line, or put mlkem768x25519-sha256 first.
Plan new keys without rushing them. On OpenSSH 10.6,
ssh-keygen -t mldsa44-ed25519makes a hybrid key, and a forger would have to break both ML-DSA-44 and Ed25519. The server must run 10.6 too. OpenSSH tries~/.ssh/id_mldsa44_ed25519last and lists that host key type last, so name the new key first with an IdentityFile line.Keep the old key until the new one works, then remove it from authorized_keys.
If you build OpenSSH yourself, use OpenSSH 10.6p2. It also fixes the password bypass on musl-based Linux systems without PAM that TrickyWorld covered in its report on the Alpine sshd flaw.
A note on timing: OpenSSH did not publish new guidance on 2 December. Its post-quantum page reached the Hacker News front page that day, but the Internet Archive's copies show it unchanged since late September. It still says post-quantum signatures will come "in the future", although 10.6 already has them.
What about WireGuard and VPNs?
WireGuard's handshake runs on Curve25519, so its creator Jason Donenfeld suggests turning on its optional 256-bit preshared key now, which mixes a symmetric secret into every handshake.
In a message to the WireGuard mailing list on 2 December, Donenfeld wrote that with a key shared over a secure offline channel, the protocol's security "comes down to breaking that 256-bit ChaCha20 key". That, he added, "isn't going to happen". WireGuard's own manual describes the preshared key as being there "for post-quantum resistance".
(umask 077; wg genpsk > peer1.psk) # a new key for each peer, readable only by you
# add to that peer's [Peer] section, on BOTH ends:
# PresharedKey = (the contents of peer1.psk)
sudo wg show all preshared-keys | awk -F'\t' '$3 == "(none)" {print $1, $2}' # peers without oneThe last command lists the interface and public key of each peer that has no preshared key, and prints no keys. Share each preshared key over a different channel from the VPN itself, such as in person or through a password manager, and use a different one for every peer.
If you can't share keys offline, Donenfeld points to another route. You run a post-quantum key exchange inside the tunnel and feed the result into the preshared key slot, which he says some VPN providers already do. He is also working on a WireGuard v2, and admits that "ECC was really in an ergonomic sweet spot".
Other VPNs depend on how they exchange keys. IPsec gateways on strongSwan 6.0 or later can add ML-KEM-768 after X25519 through RFC 9370, with a proposal such as x25519-ke1_mlkem768; both ends need it. OpenVPN sets its own group list only if you add a tls-groups line. Otherwise it uses OpenSSL's defaults, and since OpenSSL 3.5 those offer X25519MLKEM768 first.
What should Indian teams do this week?
Turn on hybrid key exchange wherever it is a setting, update SSH at both ends, add WireGuard preshared keys, and list where 256-bit curves sign things that must stay trusted for years.
TLS. Move public sites to TLS 1.3 with X25519MLKEM768, through OpenSSL 3.5 or newer or your CDN's or load balancer's post-quantum setting. Seven Indian sites in the scan need TLS 1.3 first.
SSH. Update the servers and the laptops that connect to them, and look for KexAlgorithms lines that leave out the hybrids. If your code lives on Azure DevOps or CodeCommit, ask the provider about its plans, because nothing on your side can change it.
VPN. Add a preshared key to every WireGuard peer, and check that IPsec and OpenVPN gateways run versions that support ML-KEM.
Inventory. List where P-256 and Ed25519 sign things that last: code and firmware signing, internal certificate authorities, SSH certificate authorities, and ES256 or EdDSA tokens. CERT-In's bill of materials guidelines (version 2.0, 9 July 2025) already describe a cryptographic bill of materials for exactly this.
New keys. For new long-lived keys, use ML-DSA where your software supports it, or RSA 3072 or P-384 as the stopgap the advisory names.
Public certificates. Don't rush to swap them. RSA-2048 is still allowed for legacy support, and browsers can't use post-quantum certificates yet. Make sure you can replace them fast instead.
India's own plan points the same way. The Department of Science and Technology's May 2026 roadmap puts banking, finance and other critical sectors on a faster track: foundations by 2027, high-priority systems moved by 2028 and full post-quantum adoption by 2029. Its second milestone calls for "no new classical-only deployments". The roadmap is a task force's recommendation, and it asks regulators such as RBI and SEBI to write rules for their sectors.
As of 3 December, CERT-In had not published an advisory on the NSA post-quantum warning. Its latest advisory, dated 20 November, covers attacks on business payment workflows.
To run the checks above, use pqlevel, the open-source tool TrickyWorld first released for its 1 December article. Version 1.1 adds the ssh, certs and local commands. It needs Python 3.10 or newer and nothing else, and its 102 tests pass on Python 3.10 to 3.13. The local command only reads files and never prints a private key or a preshared key.
What should you watch next?
Watch for any public account of what the AI companies found, new NSA guidance, OpenSSH and WireGuard releases, Chrome's post-quantum certificate plans for 2027, and sector rules from CERT-In, RBI and SEBI.
For background, TrickyWorld has covered the RSA-2048 rumour that came before the lattice paper and how to add quantum-safe encryption to a Laravel app.

The NSA post-quantum advisory doesn't prove that X25519 or P-256 is broken, and nobody outside the agencies and the AI companies knows what was found. But the fixes cost little and help under either reading: hybrid key exchange for TLS and SSH, preshared keys for WireGuard, and a list of the signatures you will have to replace.
Frequently asked questions
Did the NSA say elliptic curve cryptography is broken?
No. The NSA names no broken algorithm, and its joint statement with ONCD and CISA says the disclosed advances do not present an immediate and widespread threat. The idea that 256-bit curves such as X25519, P-256 and Ed25519 are weaker comes from cryptography engineer Filippo Valsorda's reading of the advisory's inventory list.
Is RSA-2048 still safe after the NSA advisory?
The advisory does not call out RSA. It asks for RSA 3072 or P-384 for the roots of certificate chains and says 2048-bit keys may be needed for legacy support. Keep RSA-2048 certificates for now, and use RSA 3072, P-384 or ML-DSA for new long-lived keys.
What is X25519MLKEM768?
It is a hybrid key exchange for TLS 1.3, defined in RFC 10024, that combines the X25519 elliptic curve with the post-quantum ML-KEM-768. The connection stays private as long as either part holds. Chrome 131, Firefox 132 on desktop and Safari 26 and later offer it by default.
How do I check if my SSH connection is post-quantum?
Run ssh -v to the server and look for the line that starts with kex: algorithm. mlkem768x25519-sha256 or sntrup761x25519-sha512 means a post-quantum hybrid. OpenSSH 10.1 and later also print a warning when a connection does not use one.
Do Indian banks support post-quantum encryption?
Many do for key exchange. In a TrickyWorld scan on 3 December 2026, 14 of 24 Indian bank websites gave Chrome the X25519MLKEM768 hybrid and 10 did not. None of the 60 Indian sites checked used a post-quantum certificate, which browsers do not accept yet.
