Security advisory: prepare now for weakened public-key cryptography
Summary
We are treating the 2 December NSA advisory as a signal to move off today’s public-key cryptography now, and we ask you to do the same.
- What we know: US agencies say AI companies found weaknesses in some cryptography in use today. No one has published proof that RSA or elliptic-curve cryptography is broken.
- How we are planning: as if widely used 256-bit elliptic curves could fail at short notice, with RSA following later.
- Everyone: keep devices updated, expect forced sign-outs and password resets, and watch for scams that exploit the news.
- Engineering and IT: turn on post-quantum key exchange, take key-only admin access off the public internet, and be ready to rotate keys and certificates within hours.
- Digital assets: know which holdings have exposed public keys. Options and limits are set out below.
This is security information, not financial advice. We will update it as details are published.
What happened
On 2 December 2026 the US National Security Agency told operators of national security systems to speed up their move to post-quantum cryptography immediately.
- The reason given: AI companies privately disclosed discoveries that affect the security of some cryptographic systems in use today. See the NSA press release.
- The official risk assessment: a joint statement from the White House cyber office, the NSA and CISA says the advances are not an immediate and widespread threat. See the joint statement.
- Industry response: Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle jointly backed the guidance and urged faster migration (CNBC).
- Cloudflare’s CEO said his company was briefed on something serious that he cannot detail, and told people to assume RSA and elliptic-curve systems are affected. He later said the public is not facing an immediate disaster (Notebookcheck).
- What the advisory flags: DSA, EdDSA, elliptic curves other than P-384 and P-521, old Diffie-Hellman groups and pairing-based cryptography. It does not flag RSA, and it keeps RSA 3072 and P-384 as interim choices (NSA advisory, PDF).
- One expert reading: cryptographer Filippo Valsorda concludes that 256-bit elliptic curves are probably broken or much weaker than believed. That is his inference, and the NSA has not confirmed it (his analysis).
Still unknown: which algorithms are affected, how expensive the attack is, and when details will be published.
What this means
Our planning assumption is that a well-resourced attacker may already be able to break 256-bit elliptic-curve cryptography, and that the attack will get cheaper. We treat RSA as safe for less time than previously thought.
We chose this assumption because the cost of preparing is small and the cost of being late is large. It is a precaution, not a confirmed fact.
This affects nearly every organisation and person. These algorithms secure web connections, logins, software updates, VPNs, digital signatures and most blockchains. If the assumption proves right, it will be one of the largest changes in the history of modern cryptography.
There are two separate risks:
- Confidentiality: traffic recorded today can be decrypted later if its key exchange is broken. This risk already exists for anything sent without post-quantum protection.
- Forgery: an attacker who can derive a private key from a public key can impersonate a server, sign software, or log in as someone else. This risk starts when the attack becomes practical.
What is not affected: symmetric encryption such as AES, hash functions such as SHA-256, and the post-quantum algorithms ML-KEM and ML-DSA. Encrypted disks and password manager vaults remain protected.
The replacements already exist and are widely deployed. ML-KEM replaces key exchange and ML-DSA replaces signatures. It is worth learning the basics now, because most of the work ahead is switching them on.
Actions for everyone
Most of the protection will reach you as software updates and provider-side changes. Your part is to let them through quickly and not be tricked along the way.
- Install updates promptly. Operating systems, browsers, phones and messaging apps will ship the fixes. Turn on automatic updates.
- Expect forced sign-outs and password resets. Large providers may revoke sessions and ask you to sign in again. Do it promptly.
- Never reset from a link. Go to the site or app directly. Attackers will send convincing “urgent security reset” messages.
- Keep multi-factor authentication on for every account that offers it, and use a password manager.
- Be sceptical of anything urgent. Expect fake wallet migration tools, fake update prompts and fake messages from IT. Verify through a second channel.
- Use post-quantum messaging for sensitive conversations. Signal already protects its key exchange with post-quantum cryptography.
- Report anything unusual to your IT or security team, including unexpected login prompts or certificate warnings. Do not click through certificate warnings.
Actions for engineering and IT
Do these in order. The first two reduce the most risk and need no new products.
1. Reduce what is exposed
- Take SSH, admin panels and any service that authenticates with only a key or client certificate off the public internet.
- Put them behind a VPN or access proxy that also requires a second factor, and restrict source addresses.
- WireGuard uses Curve25519. Add a pre-shared key to every tunnel, which the WireGuard project recommends as the interim protection.
2. Turn on post-quantum key exchange
- TLS: require TLS 1.3 and enable the hybrid group
X25519MLKEM768on servers, load balancers, CDNs and outbound clients. Remove TLS 1.1 and older. - SSH: OpenSSH has used hybrid post-quantum key exchange by default since 9.0, and
mlkem768x25519-sha256since 10.0. Check that nobody has disabled it inKexAlgorithms(OpenSSH post-quantum page). - Log the negotiated key exchange and alert on connections that fall back to classical-only.
3. Replace SSH keys
- OpenSSH 10.6, released 6 October 2026, adds the hybrid post-quantum key type
ssh-mldsa44-ed25519. Generate keys withssh-keygen -t mldsa44-ed25519. - Where client and server both run 10.6 or later, replace host keys and user keys with this type, then remove ECDSA and Ed25519 entries from
authorized_keys. - Many stable distributions still ship older versions. There, use RSA 3072 or larger as the interim key type and rely on step 1.
- 10.6 also logs connections whose key exchange is not post-quantum safe (
WarnWeakCrypto, on by default).
4. Prepare certificates for fast rotation
- No public certificate authority issues post-quantum certificates yet. Let’s Encrypt targets a production service in 2027 (Help Net Security).
- Automate issuance and renewal now, so that replacing every certificate takes minutes.
- For ECDSA P-256 certificates, the advisory’s interim options are RSA 3072 or P-384. Plan the reissue and check the whole chain, including intermediates and pinned keys.
- Private certificate authorities can issue ML-DSA certificates today. Move internal roots first.
5. Tokens, sessions and signing keys
- Session cookies that are random identifiers or HMAC-signed are not directly affected.
- Tokens signed with ES256, EdDSA or RS256, such as many JWTs, are in scope. Shorten lifetimes and rehearse rotating the signing keys and revoking all sessions.
- Inventory code-signing, release-signing and CI deploy keys, and plan their replacement.
6. Rotate what may already be exposed
- Secrets that travelled over connections without post-quantum key exchange may be recoverable later. Rotate the long-lived, high-value ones first.
7. Audit the code
- Search every codebase for at-risk cryptography. Search patterns are at the end of this advisory.
Digital assets
No theft from a broken signature has been reported, and nothing public shows that the curves used by blockchains are broken. Under our planning assumption they are in scope, because Bitcoin, Ethereum, Solana and most other networks sign with 256-bit elliptic curves.
An attacker needs your public key to attack it. What matters is whether that key is already visible on the chain.
Bitcoin, Litecoin, Dogecoin and Bitcoin Cash
| Address type | Starts with (Bitcoin) | Public key visible |
|---|---|---|
| Native SegWit | bc1q | Only after you spend from it |
| Legacy and script | 1 or 3 | Only after you spend from it |
| Taproot | bc1p | Always, from the first deposit |
| Very old pay-to-public-key outputs | none | Always |
Holders who want the most conservative position available today can do the following:
- Create a new wallet from a new seed on a hardware device.
- Receive to a fresh native SegWit address. Do not use Taproot for this purpose.
- Do not export the wallet’s extended public key to online services. It reveals the keys behind every address.
- Never reuse an address. When you spend, move the whole balance and treat that address as finished.
The same logic applies to the hashed address types on Litecoin, Dogecoin and Bitcoin Cash.
Limits of this approach:
- Spending reveals the key while the transaction waits for confirmation.
- It protects ownership of your coins. It does not protect their market price if other holders’ coins are stolen.
- It buys time until the networks deploy post-quantum signatures. None of these four has done so.
Early Bitcoin coins with exposed keys
The earliest Bitcoin block rewards were paid directly to public keys, so those keys have been visible since 2009. If the attack is practical, these coins can be taken by whoever breaks the keys first.
- Scale: coins attributed to Bitcoin’s creator are usually estimated at around 1.1 million BTC, and all coins in this old format at roughly 1.7 million BTC. These are estimates.
- Pace: they sit in about 22,000 separate outputs, each with its own key. How fast they could be taken depends on the cost of breaking one key.
- Early warning: most of these coins have never moved. Unexplained movement would be a visible sign that a working attack exists.
- Market risk: the prospect of these coins being taken and sold is a risk to the Bitcoin price for every holder, including those whose own keys are safe. We do not forecast prices.
Possible mitigations are under discussion and none is agreed:
- Freezing by rule change: a draft proposal would make coins in exposed formats unspendable after a deadline. It needs broad agreement across the network, and many oppose freezing anyone’s coins.
- Coordinated recovery or burning: some suggest that trusted parties take the coins first and destroy or hold them. This means taking coins that belong to someone else, and its legal standing is untested.
Whether either happens is unknown.
Ethereum, Solana, XRP, Tron and similar networks
- These use long-lived accounts. An Ethereum-style key is visible after the first outgoing transaction, and a Solana address is the public key itself.
- There is no equivalent of a never-spent address for an account you actively use.
- The fix has to come from the network. The Ethereum Foundation has set a goal of end of 2027 (ETH Daily), and Solana developers target 31 March 2027 (Crypto Times).
Stablecoins, bridges and exchanges
- Stablecoins run on these same networks, and their issuers’ control keys use the same cryptography. They are not automatically a safer place.
- Issuers hold reserves off-chain and can freeze or reissue tokens, so the risk differs from native coins.
- Bridges, multi-signature wallets and rollups pool funds behind keys that are already public. Keep balances there small.
- Ask custodians and exchanges for their migration plan.
Converting to fiat
Some holders will consider reducing exposure by converting to bank-held currency. That is a financial decision with tax, timing and counterparty consequences, and we do not make a recommendation. Speak to a financial adviser.
Scams
Expect fake “quantum-safe migration” tools and tokens. Never enter a seed phrase into a website or tool you were sent.
Algorithms: at risk, interim, target
The “at risk” row is the NSA advisory’s own list of what to find and replace. The advisory does not state that these are broken.
| Status | Algorithms | Where you meet them |
|---|---|---|
| At risk: replace first | ECDSA and ECDH on P-256 (secp256r1, prime256v1), secp256k1, X25519 and Curve25519, Ed25519 and Ed448, DSA, Diffie-Hellman below 3072 bits, pairing curves such as BLS12-381 and BN254 | Most TLS key exchange and certificates, SSH keys, JWT ES256 and EdDSA, WireGuard, code signing, blockchains |
| Interim: acceptable for now | RSA 3072 or larger, ECDSA and ECDH on P-384, Diffie-Hellman 3072 bits or larger. RSA 2048 only where legacy systems require it | Certificates and roots until post-quantum issuance is available, SSH keys on older OpenSSH |
| Target | ML-KEM for key exchange, including the hybrids X25519MLKEM768 (TLS) and mlkem768x25519-sha256 (SSH). ML-DSA for signatures, including ssh-mldsa44-ed25519. SLH-DSA, and LMS or XMSS for firmware signing | TLS 1.3, OpenSSH 10 and later, private certificate authorities |
| Not affected | AES, ChaCha20-Poly1305, SHA-256, SHA-384, SHA-512, SHA-3, HMAC | Disk encryption, password vaults, data encryption after the key exchange |
A 256-bit curve used inside a hybrid with ML-KEM is acceptable. The connection stays safe as long as either half holds.
How to find at-risk cryptography
Run these searches from the root of each repository with ripgrep. They are a starting point, and every hit needs a person to judge it.
At-risk elliptic-curve and pairing algorithms:
rg -n -i "secp256k1|secp256r1|prime256v1|P-256|nistp256|x25519|curve25519|ed25519|ed448|eddsa|ecdsa|ecdh|schnorr|bls12|bn254|alt_bn128|pairing|kzg|groth16"
RSA, DSA and Diffie-Hellman, to check key sizes and groups:
rg -n -i "rsa|dsa\b|diffie|dhparam|modp|ffdhe|group ?(14|19|20|21|22|23|24)"
Post-quantum algorithms already in place:
rg -n -i "mlkem|ml-kem|kyber|mldsa|ml-dsa|dilithium|slh-dsa|sphincs|xmss|lms\b|sntrup|X25519MLKEM768"
TLS versions and key exchange settings:
rg -n -i "ssl_protocols|ssl_ecdh_curve|ssl_ciphers|MinVersion|CurvePreferences|kx_groups|TLSv1|tls1_[0-3]|ssl_policy|security_policy|minimum_protocol_version"
SSH settings and key types:
rg -n -i "KexAlgorithms|HostKeyAlgorithms|PubkeyAcceptedAlgorithms|ssh-rsa|ssh-ed25519|ecdsa-sha2"
Tokens, signing and tunnels:
rg -n -i "ES256|ES256K|ES384|EdDSA|RS256|PS256|jwks|cosign|gpg|minisign|age1|sops|wireguard|PresharedKey|ike|esp"
Certificate and key files:
rg --files -g "*.{pem,crt,cer,der,p12,pfx,jks,pub,key,jwk,jwks}"
To check a single item:
ssh-keygen -l -f <key file> # SSH key type and size
ssh -Q kex # key exchanges your SSH client supports
openssl x509 -in <cert> -noout -text # certificate key and signature algorithm
openssl s_client -connect <host>:443 -groups X25519MLKEM768 # needs OpenSSL 3.5 or later
What to expect next
The technical details will be published at some point, and the days after publication are the period of highest risk.
- Attacks will follow publication. Once the method is public, more attackers can use it. Systems that have not moved will be targeted first.
- Vendors will ship updates quickly. Organisations that can patch within hours will be in a much better position than those that need weeks.
- Providers will force resets. Expect session revocations, new certificates and requests to re-enrol keys.
- Guidance will change. The list of at-risk algorithms may grow or shrink once the facts are known.
We will revise this advisory when the NSA, the AI companies or independent cryptographers publish more. Questions go to [email protected].
Sources
- NSA press release, 2 December 2026
- NSA advisory PP-26-4956, Immediate Actions to Push Toward Post-Quantum (PDF)
- Joint statement from ONCD, NSA and CISA
- Filippo Valsorda, What to Make of the NSA Advisory
- OpenSSH 10.6 release notes
- OpenSSH post-quantum cryptography page
- Help Net Security on Let’s Encrypt’s post-quantum plan
- System Design Academy summary of the advisory