Skip to content

Instantly share code, notes, and snippets.

View SalehAlolayan's full-sized avatar

Saleh Alolayan SalehAlolayan

View GitHub Profile
@jdoss
jdoss / LUKS_and_TPM2_with_Fedora.md
Last active April 9, 2025 15:35
Decrypt LUKS volumes with a TPM on Fedora Linux

Decrypt LUKS volumes with a TPM on Fedora Linux

This guide allows you to use the TPM on your computer to decrypt your LUKS encrypted volumes. If you are worried about a cold boot attack on your hardware please DO NOT use this guide with your root volume!

Preflight Checks

Verify that you have a TPM in your computer:

# systemd-cryptenroll --tpm2-device=list
PATH DEVICE DRIVER