has anyone had any luck encrypting their root partition and unlocking it with a yubikey on boot? im tired of typing in the passphrase on my laptop on boot.

  • sudoer777@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 hours ago

    Isn’t the main points of Yubikeys that it’s difficult to access the software keys on it?

    • MalReynolds@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 hours ago

      I guess, looking at https://mhdez.com/posts/unlocking-encrypted-linux-with-a-yubikey/, it seems to still be something you have and something you know (the pin, or in the USB drive case, if you’ve enabled a password as well). OP only mentioned ‘unlocking it with a yubikey’, depends on your use case I guess. My stuff rarely gets into a position where an attacker with physical access is likely, so I prefer convenience, with the option of easily returning to a secure configuration.