Skip to content

Commit

Permalink
add more notes on fde
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Hjerpe authored and Lillecarl committed Aug 13, 2024
1 parent 86ecc76 commit 78be129
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions notes/crypto.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ sudo cryptsetup --verbose open --test-passphrase /dev/nvme0n1p3
sudo cryptsetup luksDump /dev/nvme0n1p3
# Add key to LUKS
sudo cryptsetup luksAddKey /dev/nvme0n1p3 /root/luks_key --pbkdf-force-iterations=4 --pbkdf-parallel=1 --pbkdf-memory=32

# TPM unlock LUKS
sudo systemd-cryptenroll --tpm2-device auto /dev/nvme0n1p3

0 comments on commit 78be129

Please sign in to comment.