Oriel — AI & technology worth noticing, every day.

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

Web page · https://sethmlarson.dev/how-to-find-and-upgrade-256-bit-curve-keys

First seen by Oriel on .

AI summary

Seth Larson explains how to identify SSH and PGP keys using P-256, ED25519, or Curve25519 and recommends upgrading long-lived keys, with P-384 or RSA-4096 as current alternatives.

  • The article provides shell commands using `ssh-add` and `gpg` to find relevant keys while excluding several post-quantum algorithm names.
  • The author says their PGP key uses RSA-4096 and is not a concern today; their SSH agent contains an ED25519 key.
  • Their Ubuntu version does not support `mldsa44-ed25519`, and GitHub does not yet support ML-DSA SSH keys, so they recommend P-384 or RSA-4096 for now.
  • P-384 keys can be generated with `ssh-keygen -t ecdsa -b 384`; the `-b` option is ignored for hardware-backed ECDSA-SK and Ed25519 keys.
  • After testing a replacement, the author advises registering it with a password manager and removing the old key from services, the SSH agent, and local storage; Bitwarden supports only ED25519 and RSA SSH keys.

#ssh #pgp #elliptic curve cryptography #post-quantum cryptography

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 344, latest observation ; +341 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 119, latest observation ; +119 over observed period since

Aliases

SourceExternal IDURL
Hacker News50767789https://sethmlarson.dev/how-to-find-and-upgrade-256-bit-curve-keys Read discussion