]> git.ipfire.org Git - thirdparty/systemd.git/commit
cryptenroll: fix bind default TPM2 signed policy to PCR 11
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 26 Oct 2023 13:14:52 +0000 (15:14 +0200)
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 26 Oct 2023 13:14:52 +0000 (15:14 +0200)
commitcb7aabf180b6a817c51e269fe72a3b314f4dc8d9
tree36c08bcdc07da50a8ded84484f6628bb4db7ef08
parent9674c06510bcb50d9e86fa271c2c662573435f12
cryptenroll: fix bind default TPM2 signed policy to PCR 11

If `--tpm2-public-key=` is not specified, but `tpm2-pcr-public-key.pem` exists
in /{etc,run,usr/lib}/systemd/, the default PCR 11 is not being set.

Fixes 9e437994
src/cryptenroll/cryptenroll-tpm2.c
src/cryptenroll/cryptenroll.c