]> git.ipfire.org Git - thirdparty/systemd.git/commit
pcrlock: be more careful when preparing credential name for pcrlock policy 34298/head
authorLennart Poettering <lennart@poettering.net>
Fri, 6 Sep 2024 16:32:17 +0000 (18:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 6 Sep 2024 16:55:32 +0000 (18:55 +0200)
commitfc8ddae76b5b67b2206136025155771e355b93ed
treedeefce2f94be2e40232439ec7039a00d259238f1
parent456cd065bff7340767d438e537af8417a501e66d
pcrlock: be more careful when preparing credential name for pcrlock policy

The .cred suffix is stripped from a credential as it is imported from
the ESP, hence it should not be included in the credential name embedded
in the credential.

Fixes: #33497
src/pcrlock/pcrlock.c
test/units/TEST-70-TPM2.pcrlock.sh