AI Models Found Weak Spots in Internet Crypto. Here's What to Rotate First When Nobody Says What Broke
Two labs set a deadline and kept the details. You can still sort your keys by lifetime and act this week.
Security advice usually arrives in a fixed order. Someone finds a flaw, publishes a paper, the paper names the broken algorithm, and everyone patches that one thing.
This week the order flipped. The deadline came first, and the paper may never come.
On December 5, Anthropic and OpenAI posted the same statement. While testing unreleased models, researchers at each lab "separately found weaknesses in some of the cryptography that protects the internet." Both labs reported the findings to the US government. Both are bringing forward the move of their own systems "from several years out to the first half of 2027." And both say they "are not publishing our methods or exact discovery timelines."
So you know that something in deployed cryptography is weaker than everyone assumed. You know the two labs closest to the findings are moving fast. You do not know which algorithm.
That sounds like a reason to wait. It is actually a reason to change how you decide. When nobody tells you what broke, sort your keys by how long they live and how hard they are to replace. That ordering holds up no matter which algorithm turns out to be the weak one, and it gives you four buckets to work through, starting with the keys you cannot replace.
What actually happened this week
Three public signals landed within a few days of each other, and none of them comes with a full explanation.
The first is the government side. On December 2 the NSA advised owners of national security systems to "immediately accelerate the transition to post-quantum cryptography," citing "recent discoveries that impact the security of some cryptographic systems currently in use," disclosed by frontier AI companies (NSA). Post-quantum cryptography means newer algorithms built on different math, designed to survive future quantum computers. The labs' statement says their findings "do not affect NIST's post-quantum standards," so the new algorithms are the escape route, not the problem.
The second is a quiet default change. A commit to OpenSSH, the software behind almost every ssh command you have ever typed, switched the key type that ssh-keygen creates by default from Ed25519 to ECDSA on the P-384 curve (commit 5b63da2). Ed25519 runs on a 256-bit curve and has been the recommended SSH key for years. P-384 is a larger, 384-bit curve. The commit message gives no reason, and it sits in the development tree, not a release yet.
The third comes from browsers. On December 3, Google's Chrome team said that as of March 15, 2027, Chrome "intends to stop trusting Certification Authority (CA) keys using ECDSA P-256" (Google). That is roughly 100 days away. Seth Larson's widely shared guide calls the move "probably the strongest evidence that there exists an expensive break of 256-bit elliptic curves" (sethmlarson.dev).
Notice the word "probably." Larson is reading between the lines, carefully, and says so. The int08h blog's timeline of the week puts it more bluntly: no public paper spells out what is happening to P-256 or to elliptic curves in general (int08h).
A quick decoder for the names above. Elliptic curves are the math behind most modern public keys, and the number is the key size in bits. Ed25519 and Curve25519 are built on the same curve, which sits in the 256-bit class, P-256 is a different 256-bit curve, and P-384 is a 384-bit one. ECDSA is the signature method used with the P curves. A CA (certificate authority) is the organization whose key vouches for a website's certificate.
That is the situation. Strong hints point at 256-bit elliptic curves. No official source says which algorithm broke.
Why "which algorithm?" is the wrong first question
Most teams freeze here. They want to know the exact broken algorithm before touching anything, because rotating keys costs time and breaks things.
But think about what you would actually do with the answer. You would still have to find every key, figure out which ones are hard to change, and schedule the painful ones first. That work is the same whichever algorithm is guilty. Only the last step, picking a replacement, depends on the details.
So do the expensive, algorithm-independent work now. Rank everything by two questions.
How long does this key stay in use? A key that signs things for ten years gives an attacker ten years to work on it. A session key that lives for a few minutes gives almost nothing.
How hard is it to replace? Some keys you can rotate with one command. Others are burned into hardware that ships to customers and never comes back.
The NSA's own advisory lands on the same ranking. It singles out "firmware signatures and hardware roots of trust" because their algorithms "may be difficult to update throughout a device's operational lifetime," and tells organizations to put quantum-resistant firmware signatures first (NSA). A hardware root of trust is the key a chip checks before it runs anything else. If it is weak, nothing above it can be trusted.
The four buckets, from most urgent to least
Here is the ordering that falls out of those two questions. Put every key you can find into one of these.
1. Keys you cannot replace. Firmware signing keys whose public half is baked into devices, hardware security keys, and anything on embedded gear you have already shipped. If the curve under these turns out to be weak, the fix may be a hardware recall. You cannot rotate these quickly, which is exactly why they go first: the decision about what to ship next has to be made now.
2. Long-lived signing keys. Your SSH user keys, deploy keys in CI, Git commit-signing keys, package-signing keys, and internal certificate authorities. These live for years and prove identity. A forged signature here lets someone push code as you or impersonate a server. They are painful but possible to rotate, so start this month.
3. Recorded traffic. The NSA warns that "adversaries are already collecting encrypted information to decrypt once the capabilities become available." This is the harvest-now, decrypt-later problem. The protection is in key exchange (how two machines agree on a secret), and current software already offers hybrid post-quantum key exchange; OpenSSH 10.0, for example, made the hybrid mlkem768x25519-sha256 method its default (OpenSSH release notes). Your job is mostly to keep software current and confirm those options are on, not to hand-rotate anything.
4. Short-lived session crypto. TLS sessions, short-lived tokens and anything that rotates by itself. These ride along with vendor updates. Leave them for last.
Here is the uncomfortable bit. Most teams spend their energy on bucket 4 because it shows up in dashboards, and almost nobody has a list of bucket 1.
Put this into practice on Monday
You can finish the first pass in an afternoon. The goal is a list, not a migration.
Find the SSH keys loaded in your agent. Larson's one-liner lists P-256, Ed25519 and Curve25519 keys your SSH agent holds:
ssh-add -L | grep -E '^[^ ]*(nistp256|25519)' | grep -vE '^[^ ]*ml-?dsa'
Expect a line starting with ssh-ed25519 if you followed any SSH advice from the last decade. That is the point.
Find the keys on disk, which the agent check misses. This prints the fingerprint, size and type of each .pub file directly in your SSH folder (it does not search subfolders or keys stored elsewhere):
for f in ~/.ssh/*.pub; do ssh-keygen -lf "$f"; done
Each line ends with the type in parentheses, such as (ED25519) or (ECDSA), and starts with the bit size. Anything showing 256 goes on the list.
Check your PGP keys too. Larson gives a matching filter:
gpg -k --keyid-format long | grep -E '^(pub|sub|sec|ssb)[#>]? +[^/ ]*(25519|256)' | grep -viE 'ky[0-9]|dil[0-9]|ml-?kem|ml-?dsa'
Make a stopgap SSH key if you decide to rotate now. P-384 matches OpenSSH's new default:
ssh-keygen -t ecdsa -b 384 -C "you@laptop-2026-12"
GitHub documents id_ecdsa.pub as a supported key file (GitHub Docs), though that page does not list curve sizes, so test the new key before you retire the old one. Add the new public key to every service, test it, then remove the old key from those services and from your agent. Larson's fallback, if your tools reject P-384, is RSA-4096.
List the keys that do not live on your laptop. This is where the real exposure hides. Write down every deploy key in your repositories' settings, every signing key in CI secrets, every certificate authority you run, and every product that verifies firmware. For each one, note three things: the algorithm, how long it has been in use, and who can rotate it.
Keep a short decision log. One line per decision: what you rotated, to what, and which source you relied on. "Rotated laptop SSH key to P-384, based on OpenSSH default change and NSA advisory." When the real details come out, you will know which choices to revisit.
What this approach will not do
Be clear about the limits before you sell this to your team.
P-384 is a guess, not a cure. It is a bigger curve, and the public hints point at 256-bit curves specifically. Nobody has said P-384 is safe for the long run, and it is still classical cryptography. The durable fix is post-quantum signatures, and for SSH those are not ready everywhere. Larson notes that GitHub does not support ML-DSA SSH keys yet, because the SSH standard for them is still a draft.
Hardware keys may ignore you. If you use a security key with a -sk key type, OpenSSH ignores the -b size option for some of those types. Larson also found that Bitwarden stores only Ed25519 and RSA SSH keys. Check your key store before you rotate, or you will lock yourself out of your own tooling.
Bucket 1 has no quick answer. Ranking firmware first does not fix firmware. If your devices check signatures with a key burned into the chip, the inventory tells you what you have to replace, not how. That is a product decision, and it may cost money.
You might be rotating for nothing. The hints could be wrong. Rotation still buys you something real: it tests whether you can rotate at all. Most teams discover they cannot, and that is worth learning before an emergency.
The question to leave your team with
This week showed a new pattern. Labs whose models can find weaknesses in decades-old math report them privately to the government, set a date, and keep the method private. That will probably happen again, because the models are only getting better at this.
You will not always get the paper. You can always know which of your keys lives longest and which ones you cannot replace. Teams with that list will spend a day moving the right keys. Teams without it will spend that day finding out what they have.
So, which key in your stack would hurt most to replace, and does anyone on your team know where it is?
Sources: Anthropic joint statement, OpenAI joint statement, NSA advisory, December 2, 2026, openssh-portable commit 5b63da2, Seth Larson's key guide, Google Chrome security post, int08h timeline, GitHub Docs on SSH keys, OpenSSH release notes. All read December 5, 2026.