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?

  • fruitycoder@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    22 hours ago

    I try to follow a multi-factor, multi-domain model.

    So if I am wanting to verify that data is on the system I except it to be then TPM keys and measured boot is what I use. To verify it is on the network I expect I use a Tang server. To verify I have possession of a device I use, a hardware token and password.

    You could do all the above, or mix match depending on the system. For example for servers I assume they need to boot without user intervention, so password is set as backup to the Tang server. I still use hardware token to buy just for quick revoktion of verification (i.e. I know a server is compromised or could be soon, I can just pull a USB out).

    The same setup works for my laptops, which makes my network because of Tang act as trusted domain as well.

    So again multi-factor (something you have, know, are, do) and multi-domain (network, user, machine).

    I use Clevis to do the multi-key unlocks.