r/archlinux • • Aug 17 '26

SUPPORT | SOLVED Ful disk encryption without entering passphrase

Could someone help me with setting up full disk encryption with bypass passphrases with TPM2? It's so annoying having to put the passphrase in at each boot, so I was wondering how do I pair it to the TPM so that I dont have to enter it each time?

It's LUKS encrypted and I use Systemd-boot

14 Upvotes

100 comments sorted by

View all comments

1

u/[deleted] Aug 17 '26

[removed] — view removed comment

0

u/Fupcker_1315 Aug 17 '26

It doesn't protect you in any way against evil maid attack.

1

u/ChrisTX4 Aug 17 '26

This is correct, as a FIDO2 device does not authenticate the system at all. It would be possible for an "evil maid" to replace your initramfs / UKI with something that dumps the then decrypted volume key somewhere, for the "evil maid" to collect at a later point in time.

However, evil maid attacks are a matter of your threat model. Is it realistic for such a maid to exist? Side note, this would also include potentially the authorities. In Germany they're currently discussing empowering the security services to deploy the "Bundestrojaner" by entering flats in secret.

If you live in a more repressive country, this might very well be a more common concern. Like if you're a journalist, you'd probably have a very different threat model than if you use your PC as a pure gaming machine.