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
    2
    ·
    5 hours ago

    Progress report 1

    • I’m ruling out HMAC-SHA1, because:
    • If using systemd, pick FIDO2:
      • Avoids flaws of HMAC-SHA1.
      • Native support in systemd, so “future-proof”.
      • Wider support than OpenPGP. More HST vendors to choose from, including cheaper options than NitroKey or Yubikey: useful if each sysadmin (or colleague, or relative) needs an HST.
      • Compatible with QubesOS.
    • Otherwise, OpenPGP:
      • Like FIDO2, solves HMAC-SHA1 flaws.
      • However:
        • smartcard-key-luks seems unmaintained on GitHub and on GitLab.
        • LUKS with OpenPGP isn’t well-documented for non-Debian-based distros.
    • TBD: Clevis/Tang:
      • Remote/network-based unlocking.