logoalt Hacker News

jwr • yesterday at 5:00 PM • 5 replies • view on HN

A reminder that if you use Yubikeys (you should!), you can use them for authenticating SSH sessions with rsa4096 using the OpenPGP app (see guide here: https://github.com/drduh/YubiKey-Guide).

I've been happily doing so for many years now and intend to continue doing so.

These same keys, incidentally, can also be:

* backed up on paper

* duplicated to multiple YubiKeys if you create them yourself

* be used for encrypting your backups (using gpg)

* and of course, be used for PGP, if you know people who use it (an elegant weapon for a more civilized age)


Replies

wowczarek • yesterday at 7:12 PM

drduh's guide is a great starting point to getting one's workflow right.

Add paperkey[0], pass[1], aerc[2] using passwords stored in pass and integrated GPG signing, and for something more convenient than a paper copy but lasting far longer than USB or SSD, consider a USB "storage" device using ferroelectric RAM [3] for your master key.

[0] https://www.jabberwocky.com/software/paperkey/

[1] https://www.passwordstore.org/

[2] https://man.sr.ht/~rjarry/aerc/integrations/password-manager...

[3] https://machdyne.com/product/blaustahl-storage-device/ - or another one of theirs.

dingaling • yesterday at 6:21 PM

You can do all that with traditional passphrase-protected keys and no reliance on a closed-source device.

➕ show 1 reply
juanre • yesterday at 7:19 PM

I have been helping friends and family get started with Yubikeys for a few months now, but it's becoming more difficult. The last set I bought (from Canada) will take more than two weeks to deliver.

mvip • yesterday at 5:06 PM

That guide is so good!

Melatonic • yesterday at 8:41 PM

The key itself can decrypt that (in hardware) right ?