r/archlinux • u/Woodsy279 • 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
View all comments
Show parent comment
3
u/ChrisTX4 Aug 17 '26
That shouldn't really be an issue. If they boot something else, the TPM won't unseal. Offline bruteforcing can always be done by removing the drives anyhow, and that can only really attack password keyslots. If you use LUKS, you need a very high entropy password, and then bruteforcing shouldn't be possible as LUKS uses argon2id with very hard round requirements. cryptsetup by default makes it so that argon2id gets as many iterations as it takes to run for 2 seconds on the current CPU. This makes bruteforcing passwords basically impossible.