Which approach do you think is better, and why?

  1. FIDO2
  2. HMAC-SHA1
  3. OpenPGP (alternative guide)

Or do you think there is an even better way to use a hardware security token to unlock drives having LUKS full disk encryption?

  • modem_down@thebrainbin.orgOP
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    Progress report 1

    • I’m ruling out HMAC-SHA1, because:
    • If using systemd, pick FIDO2:
      • It avoids the flaws of HMAC-SHA1.
      • It’s supported natively in systemd so should be “future-proof”.
      • It’s a more widely-supported standard, than OpenPGP, with more HST vendors to choose from, including cheaper options than NitroKey or Yubikey. This could be useful in environments where each sysadmin (or colleague! or family member!) needs an HST.
      • It’s compatible with QubesOS.
    • Otherwise, OpenPGP:
      • Like FIDO2, it solves the HMAC-SHA1 flaws.
      • However:
        • smartcard-key-luks seems to be unmainted both on GitHub and on GitLab.
        • Unlocking LUKS with OpenPGP isn’t well-documented for non-Debian-based distros.
    • TBD: Clevis/Tang:
      • Permits remote/network-based unlocking.