logoalt Hacker News

fabian2k • yesterday at 5:30 PM • 3 replies • view on HN

What's the best option now or in the near future for securing SSH keys? I've been toying with the idea of putting them on a Yubikey, so that they're not stored persistently on the PC. But now the best move seems to be to also use a stronger algorithm, which does seem to have very limited hardware support at this moment.

Or would it be a more worthwhile path to add 2FA to the SSH servers using FIDO2 or something like that?


Replies

mvip • yesterday at 5:33 PM

I think for the foreseeable future, the name of the game is crypto agility. Shorter lived keys, and being able to adopt new ciphers as existing (and new ones) are proven to be inadequate.

➕ show 1 reply
cvwright • yesterday at 8:56 PM

Stealing your laptop and cracking your human memorable password is still a lot easier than 2^85 or whatever it’s going to be to break ed25519.

Stick with the yubikeys for now, and upgrade when new ones are available.

stephbook • yesterday at 8:12 PM

I'd buy YubiKeys. If AI breaks stuff that YubiKeys can encrypt, you won't be the first or most worthwhile target. Also you could then just switch to a newer model or adopt a different way of auth altogether.

➕ show 1 reply