| ▲ | jwr 3 hours ago | |
That was my first thought, too — this might work as one of additional methods of logging in, but not as the only one. I have been using YubiKeys for many years now, following this guide: https://github.com/drduh/YubiKey-Guide This means I can have secure private keys for ssh and gpg (cue the crowd saying gpg is insecure without offering good modern alternatives), which I can also back up. And I can set up multiple YubiKeys, which I do. An additional advantage of this solution is that you can set your YubiKey to require a touch confirmation before performing an operation. This makes it much harder for runaway AI agents to wreak havoc on your servers: there is a physical limitation, which I really like. | ||
| ▲ | LeBit an hour ago | parent [-] | |
I too use (multiple) yubikey to hold my private gpg keys. But I am not sure I will stick with gpg though. Even with my system to extend their expiration or renew them. I have found handling them to be a pain. I use them for 2 things: encrypt/decrypt gopass secrets and sign git commits. Gopass now has more than decent age support. A yubikey can hold an age key. Most git forges accept a ssh key to sign commits. A yubikey can hold a ssh key. So, for my needs, I think I could leave the operational complexities (to me) of gpg and go for alternatives that are simpler. | ||