]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2-util: recognize DA lockout mode and PIN failures properly
authorLennart Poettering <lennart@poettering.net>
Thu, 19 Jun 2025 10:26:45 +0000 (12:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 19 Jun 2025 10:32:15 +0000 (12:32 +0200)
commit48cb1ad9c3fde47dc40b4345fa2efb2012596768
tree871ce978a42067634f1e0af04ff7db3a08254066
parent079a135eeef97f5408af7d93e19ba2cb0abd9321
tpm2-util: recognize DA lockout mode and PIN failures properly

When we create the policy session the previously passed PIN will be
checked. This means we'll see PIN errors here, in case the PIN is wrong
or if DA lockout mode has been triggered.

Recognize these two errors, and bubble up recognizable errors.
src/shared/tpm2-util.c