Using TPM 2.0 on Ubuntu 26.04 to unlock LUKS encrypted volumes during boot
Check if SecureBoot is enabled: mokutil --sb-state Detecting the TPM 2.0 device: sudo systemd-cryptenroll --tpm2-device=list Enrolling the hardware token, binding to PCRs 0, 1, 4, 5, 7, 8, 9: sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+1+4+5+7+8+9 /dev/nvme0n1p3 verify: sudo systemd-cryptenroll /dev/nvme0n1p3 show LUKS keyslots: sudo cryptsetup luksDump /dev/nvme0n1p3 verify used PCRs: sudo cryptsetup luksDump --dump-json-metadata /dev/nvme0n1p3 | grep… Continue reading Using TPM 2.0 on Ubuntu 26.04 to unlock LUKS encrypted volumes during boot