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
    19 minutes 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.