tpm guide: Fix typo in command

This commit is contained in:
ItsDrike 2026-01-08 17:30:26 +01:00
parent 110dffb73f
commit 7ef167338e
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -162,7 +162,7 @@ sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+7+12 /dev/gpt-auto-roo
> ```bash > ```bash
> cryptsetup luksKillSlot /dev/gpt-auto-root-luks [slot number] > cryptsetup luksKillSlot /dev/gpt-auto-root-luks [slot number]
> ``` > ```
> >
> Where the slot number should've been shown to you from the cryptenroll > Where the slot number should've been shown to you from the cryptenroll
> command. (If you only had one encryption password, that password will > command. (If you only had one encryption password, that password will
> probably be in slot 0, so you'll want to use slot 1 here.) > probably be in slot 0, so you'll want to use slot 1 here.)
@ -236,7 +236,7 @@ In case you'd ever want to remove the LUKS key from TPM, you can do so simply
with: with:
```bash ```bash
csystemd-cryptenroll --wipe-slot=tpm2 systemd-cryptenroll --wipe-slot=tpm2 /dev/gpt-auto-root-luks
``` ```
This will actually also remove the LUKS key from the `/dev/gpt-auto-root-luks` This will actually also remove the LUKS key from the `/dev/gpt-auto-root-luks`