‹ Post details

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

  • sethmlarson.dev
  • By lumpa
  • 59 points
  • 29 comments

Discussion

Source links

Showing up to 12 top-level comments in Hacker News order.

  1. regecks
    There are a bunch of iOS terminal apps + other hardware keys where the SSH keys are generated on the "Secure Enclave", but P-256 is the only key type supported. Should we be moving off these as well?
  2. quantummagic
    The advice to use ssh-agent is only going to list currently loaded keys; better to just scan manually: find ~/.ssh -type f -name "*.pub" -exec ssh-keygen -lf {} \;
  3. lousken
    Why would you upgrade from ed25519 ssh key? It is not used in encryption but for auth For auth they are perfectly fine - it's like saying 17 character passwords are no longer good enough...
  4. sscarduzio
    We need time for tooling to catch up before we can move to heavier cryptography. Also, many web apps using JWT tokens embedded in cookies will hit the 8K max header length just because of the humongous signatures
  5. wpollock
    Don't forget about the server's keys! For OpenSSH, look for keys in "/etc/ssh" or "C:\ProgramData\ssh".
  6. prmoustache
    The article is misleading. you can't upgrade a pgp/ssh key. You create new ones and retire old ones.
  7. binaryturtle
    So ssh-ed25519 is bad too? I just "upgraded" my RSA keys to that. I guess it's going back to RSA for now? Yikes. :) (I wonder how many others waste their time like me with this "security" theatre and miss-information/ half-information)
  8. debayande
    > Seems that my PGP key is using RSA-4096 which is not a concern for today. Am I reading this wrong, or is the author's example showing an Ed25519 key?
  9. 0xbadcafebee
    For ssh it's the key exchange that's the problem right now, not the keys themselves

Source links