Created
December 3, 2023 15:46
-
-
Save ryanfaircloth/8fc005a12b5093f96142d4c7862baf7d to your computer and use it in GitHub Desktop.
Setup TPM2 autounlock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install what we need | |
sudo apt-get install clevis clevis-luks clevis-systemd clevis-tpm2 clevis-initramfs | |
# bind | |
echo <my password> | sudo clevis luks bind -d /dev/nvme0n1p3 tpm2 '{ "pcr_bank":"sha256", "pcr_ids": "7,11" }' | |
# confirm | |
sudo clevis luks list -d /dev/nvme0n1p3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment