by FiloSottile · 4y ago · 0 comments
For example, https://github.com/str4d/age-plugin-yubikey makes it very easy to use PIV tokens, including YubiKeys, with age. (Well, for now with rage, since plugin support is coming in age v1.1.0.)
I argue against password-protecting keys by default because, unlike using hardware tokens, it doesn't protect against many threat models.
If I run GUI applications, let's say, as my user -- as is the default in most operating systems -- they have general access to my files, including my keys-as-files, no? (Putting aside some minor restrictions MacOS and others are slowly making.)
We implemented support for password-encrypted keys for the cases where you store the key file in, say, Dropbox.
There really isn't a point to defending against code running unsandboxed on a single-user machine.
Stupid question: Are only YubiKeys supported or also other hardware tokens?