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.

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

    You can just use any USB drive with a couple of kernel parameters. Don’t see what YubiKey is bringing to the table here. If your use case is good with that you can also install pam_usb and not have to type sudo passwords either. Remove the key and (hard if needed) power off and you’re back to a normal secure system. Been doing it for years myself.

    • sudoer777@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      21 minutes ago

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