mirror of
https://github.com/get-aurora-dev/common.git
synced 2026-11-03 21:49:43 -09:00
feat(security): bind TPM2 auto-unlock to PCRs 0+7 (#269)
* feat(security): bind TPM2 auto-unlock to PCRs 0+7 * feat(security): add PCR 14 to TPM2 auto-unlock policy * Update system_files/shared/usr/bin/luks-tpm2-autounlock Co-authored-by: renner <80410025+renner0e@users.noreply.github.com> --------- Co-authored-by: renner <80410025+renner0e@users.noreply.github.com>
This commit is contained in:
parent
792c80f8ee
commit
1a1d640689
1 changed files with 1 additions and 1 deletions
|
|
@ -40,6 +40,6 @@ case "${EXIT_CODE}" in
|
|||
exit 0
|
||||
esac
|
||||
|
||||
if sudo systemd-cryptenroll --wipe-slot=tpm2 --tpm2-device=auto --tpm2-pcrs='' ${SET_PIN_ARG} "${CRYPT_DISK}" ; then
|
||||
if sudo systemd-cryptenroll --wipe-slot=tpm2 --tpm2-device=auto --tpm2-pcrs='0+7+14' ${SET_PIN_ARG} "${CRYPT_DISK}" ; then
|
||||
echo "TPM2 LUKS auto-unlock configured for next reboot."
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue