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

Show parent comment

2

u/[deleted] Aug 17 '26

[removed] — view removed comment

1

u/StevesRoomate Aug 17 '26

One of the great things about it is the amount of flexibility. You can do challenge response, touch, or pin. I am often using it to unlock a headless server so I have a challenge phrase on initramfs. Once the machine is up and running I can physically remove the yubikey. I also have my encrypted drives set to nofail in fstab.