Anthony J. Martinez

Librem Key in Tails 4.21

While Purism has upstreamed their changes to Nitrokey libraries, those changes haven't trickled down to the masses quite yet. If, like me, you happen to have a Librem Key and also keep a Tails stick handy this little tip should let you use the two together at least as far as gpg is concerned.

  1. Boot Tails and set an admin password
  2. Create /etc/udev/rules.d/40-libremkey.rules containing
ATTR{idVendor}=="316d", ATTR{idProduct}=="4c4b", ENV{ID_SMARTCARD_READER}="1", ENV{ID_SMARTCARD_READER_DRIVER}="gnupg", GROUP+="plugdev", TAG+="uaccess"
  1. Run sudo udevadm control --reload-rules
  2. Plug in your Librem Key
  3. Verify it now shows up when you run gpg --card-status