How to find and upgrade SSH and PGP keys using P‑256, ED25519, and Curve25519(sethmlarson.dev)
335 points by lumpa 20 hours ago | 117 comments
tl;dr: Google's announcement that P-256 ECDSA root/intermediate CA certs will be rejected after March 2027 suggests a possible break of 256-bit elliptic curves may exist, making it prudent to upgrade long-lived SSH and PGP keys within the next few months. The author provides shell commands to detect P-256, ED25519, and Curve25519 keys in your SSH agent and GPG keyring. Since quantum-safe ML-DSA SSH keys aren't widely supported yet (GitHub, OpenSSH <10.6p2), P-384 ECDSA or RSA-4096 are recommended stop-gap replacements.
HN Discussion:
  • ↓SSH authentication keys aren't threatened; focus should be on post-quantum key exchange for store-now-decrypt-later attacks
  • ↓ED25519 auth keys are fine and don't need upgrading since they're not used for encryption
  • ~Tooling and OS vendors need to catch up before widespread migration is feasible
  • ↑Helpful additions to the article's advice, like scanning key files directly or checking server keys
  • ↓Rolling your own custom crypto algorithms is a viable alternative for internal systems