Update README.md
This commit is contained in:
committed by
GitHub
parent
ff0b9744e2
commit
3fec16174e
@@ -588,7 +588,7 @@ We'll now enroll our system firmware and secure boot state.
|
||||
This would allow our TPM to unlock our encrypted drive, as long as the state hasn't changed.
|
||||
|
||||
```
|
||||
$ sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+7 --tpm2-public-key /etc/kernel/pcr-initrd.pub.pem /dev/nvme0n1p2
|
||||
$ sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+7 --tpm2-public-key /etc/kernel/pcr-initrd.pub.pem --tpm2-with-pin=BOOL /dev/nvme0n1p2
|
||||
```
|
||||
**Warning**: It is recommended to use a pin to unlock the TPM, instead of allowing it to unlock automatically, for more security.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user