Unlocking your Fedora (or RHEL) LUKS partition with a TPM

Most of the time when I used Linux at home, I had my OS disk and partitions encrypted and decrypted them with a password at boot time. This worked fine, but I also wanted to try other methods, such as automatic unlocking with a Yubikey or a TPM. A quick look at the Arch Wiki on “Trusted Platform Module” didn’t necessarily show me how to automatically decrypt my partitions when all conditions are met, similar to Bitlocker on Windows. ...

October 3, 2025