Seth Larson published a short, practical guide on 2026-12-04 for finding long-lived 256-bit elliptic curve keys on your machine. His trigger is a Google announcement: root and intermediate CA certificates using ECDSA P-256 will not be accepted after March 17, 2027.

Larson calls that "probably the strongest evidence that there exists an expensive break of 256-bit elliptic curves." That is his inference, not a confirmed break. His reasoning is that roughly 100 days is a very short window for something that affects all CAs and about 25% of web traffic, and nobody does that for no reason. He also says this is not a "drop everything" situation, but that "the next three months" is a prudent timeline.

I would treat it the same way. The cost of checking is two commands. The cost of being wrong about a long-lived key is much higher.

Two commands that find the keys

The SSH check lists keys loaded in your agent that use P-256 or a 25519 curve, and filters out ML-DSA hybrids:

ssh-add -L | grep -E '^[^ ]*(nistp256|25519)' | grep -vE '^[^ ]*ml-?dsa'

The PGP check does the same for your GnuPG keyring, excluding post-quantum Kyber, Dilithium, ML-KEM and ML-DSA entries:

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'

On Larson's machine the SSH check returned one ssh-ed25519 key. The GPG check returned nothing, because his PGP key is RSA-4096, which he says is not a concern today.

Note that ssh-add -L only covers what is in your agent. Keys sitting in ~/.ssh that are not loaded, or on a hardware token you have not plugged in, will not show up. Check those separately.

You cannot go post-quantum yet

The obvious replacement is a hybrid ML-DSA key, and Larson could not generate one:

  • ssh -Q key | grep -i mldsa returned empty on his system.
  • Ubuntu 26.04.1 ships OpenSSH 10.2p1. Support for mldsa44-ed25519 arrives in OpenSSH 10.6p2. (I covered a separate bug in that release in the OpenSSH 10.6p2 musl post.)
  • GitHub does not support ML-DSA for SSH yet, and SSH ML-DSA is still an IETF draft.

If GitHub does support it by the time you read this, his advice is ssh-keygen -t mldsa44-ed25519 .... Otherwise, use P-384 or RSA-4096 for now.

The P-384 stop-gap and its traps

To generate a P-384 key:

ssh-keygen -t ecdsa -b 384 -C '(comment)' -a 100

The -a 100 is the optional encryption-hardening flag Larson mentions. Swap in your own options.

There are two catches:

  1. Hardware keys ignore -b. If you generate a key with a -sk suffix type, OpenSSH will not honour 384. The manpage says: "ECDSA-SK, Ed25519 and Ed25519-SK keys have a fixed length and the -b flag will be ignored." Verify the result is actually P-384 instead of assuming.
  2. Your password manager may not store it. Larson found that Bitwarden only supports ED25519 and RSA SSH keys. He admits that an RSA-4096 key is "a decent stop-gap" until you can move to a quantum-safe key across your hardware key or password manager and every service you use the key with.

So the practical order is: generate the file locally, register it in your password manager, and delete the files from disk. Then test the new key, unregister the old one from every service, and remove it from your agent and machine.

What I would do this week

  • Run both commands on every dev machine and CI runner you control, and list the hits.
  • Check which services accept P-384 or RSA-4096 keys. That is where you will find out whether your password manager or hardware token is the blocker.
  • Rotate to P-384 or RSA-4096 where you can. Hold the ML-DSA hybrid until OpenSSH 10.6p2 is in your distro and your Git host accepts it.
  • Put the March 17, 2027 date in your calendar as the checkpoint, not as a hard deadline for your own keys. The date applies to CA certificates, and Larson's three-month window for SSH and PGP keys is a prudence margin, not a published cutoff.

The unverified part is the premise. Nobody in this source says P-256 has been broken. The Google decision is the evidence, and the rest is reasoning from it. The audit is cheap enough that I would not wait for confirmation.

Sources: