Menu

How to find and upgrade SSH and PGP keys using P‑256, ED25519, and Curve25519
📰

How to find and upgrade SSH and PGP keys using P‑256, ED25519, and Curve25519

#hackernews#technology#sethmlarson#keys#grep
Long article (542 words) — no AI summary yet.
Reading 0:00
15s threshold

Probably the strongest evidence that there exists an expensive break of 256-bit elliptic curves arrived yesterday, Google announced that root and intermediate CA certificates (read: "long-lived") that used the ECDSA P-256 curve would not be accepted after March 17, 2027. This is ~100 days (a very short timespan for anything that affects "all CAs") and would affect ~25% of all web traffic , which is not something one would do for no reason.

Speaking of long-lived keys, SSH and PGP keys are similar to root and intermediate CA certificates in that way. I don't think this is a "drop everything and do this now" situation, but the timeline of "next three months" seems prudent. Here's how to find keys that you should upgrade on your system:

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

This command finds P-256, ED25519, and Curve25519 keys that are registered with your SSH agent.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.