↑

Retire Your 1024-Bit RSA Keys: A 15-Minute Audit

An old brass key beside a laptop showing terminal code, dramatic lighting

On November 6, Google DeepMind announced that AI agents, working under human supervision, had found two ways to lower the cost of attacking 1024-bit RSA. The headlines wrote themselves: one improvement "1,600 times better," another "30 times cheaper." The reality, stated plainly by the researchers themselves, is narrower — and still worth acting on.

Here is what actually happened, what it means, and how to check your own keys in about 15 minutes.

What DeepMind really showed

Two working papers, co-written by DeepMind researchers with cryptographers Nadia Heninger (UC San Diego and Inria) and Emmanuel Thomé (Inria), building on a September 2026 academic study. The measured result: two cooperating AI agents reproduced a known 1024-bit signature-forgery computation in 391 CPU core-years instead of the original study's 1,380 — about 3.5 times less computing work, finished in 3.2 days on up to 300,000 cores, after roughly 20 short messages from a human researcher. The authors attribute the saving to better code and execution, not a new algorithm.

The bigger numbers are theoretical. The 1,600-times figure is an estimate from the improved algorithm's mathematics for one signature-forgery scenario; it was not run at full cryptographic size. The 30-times batch-factoring figure is likewise an estimate for each additional key after a shared precomputation; the method has not been implemented. No live key was broken. No key was factored. The papers say so themselves, and add the sentence that matters most: nothing here threatens deployed systems using 2048-bit and larger RSA.

So was it really like the headlines said? Half. The measured 3.5-times saving is real work, and it shows AI agents can now reproduce serious cryptanalysis quickly. The 1,600-times figure is sound arithmetic on an unbuilt machine. Both are real research; they are not the same kind of claim. And 1024-bit RSA was already retired — NIST stopped accepting it for new signatures in 2013. DeepMind's work does not create the deadline. It shortens the excuse for missing it.

Old 1024-bit keys still sit in SSH host keys, certificates, firmware signing setups, and PGP keyrings. Here is how to find yours.

Step 1: Check your SSH keys

On any machine where you keep SSH keys, run:

ssh-keygen -l -f ~/.ssh/id_rsa

The first number in the output is the key size in bits. If it says 1024, that key should be retired. Repeat for every key file in ~/.ssh. Also check the keys authorized on servers you manage — an old 1024-bit key in authorized_keys is an old key no matter where it was made.

Step 2: Check your servers' host keys

From your own machine, ask each server what it presents:

ssh-keyscan -t rsa your-server.example.com

Then check the size of what comes back, or log in and inspect /etc/ssh/ssh_host_rsa_key.pub the same way with ssh-keygen -l. Old servers, especially ones set up years ago and never re-keyed, are the most common place 1024-bit host keys survive.

Step 3: Check your certificates

For any certificate file, run:

openssl x509 -text -noout -in your-certificate.crt

Look for "Public-Key" in the output. Anything showing 1024 bit needs reissuing. Check load balancers, internal services, and old appliances too — the certificate you forgot is the one that stays weak.

Step 4: Replace, don't patch

Generate a modern key. Ed25519 is the current default recommendation for SSH:

ssh-keygen -t ed25519 -C "your-email@example.com"

For certificates, generate at least 2048-bit RSA — or move to ECDSA if your stack supports it — and reissue through your certificate provider. Then remove the old key everywhere it was trusted: authorized_keys files, deployment keys, known_hosts entries. A retired key that is still trusted is not retired.

What not to panic about

Your 2048-bit and larger keys are not affected by these results. Your encrypted connections, your password manager, and your modern messaging apps do not suddenly stand exposed. The attack demonstrated here needed billions of signing queries made in advance, direct access to a signing device, and hundreds of thousands of cores for days. That is a nation-state budget aimed at one obsolete key size — not a casual threat.

But "not urgent" and "not worth doing" are different things. The audit above takes 15 minutes, the fix takes an afternoon, and the direction of travel is one-way: attacks on 1024-bit RSA are getting cheaper, measured and theoretical alike. Retire the old keys this quarter, while it is still housekeeping instead of an incident.

One last check while you are in housekeeping mode: confirm what your connection and servers expose to the internet. An IP address checker shows the public address the world sees, which is the starting point for verifying that the server you just re-keyed is the server you think it is. Small checks, done together, are how security stays boring — and boring is the goal.

Share: X Facebook WhatsApp LinkedIn

Awais Arshad

FastToolKit publishes practical guides about free online tools and technology.