]> git.ipfire.org Git - thirdparty/systemd.git/commit
cryptenroll: add support for calculated TPM2 enrollment
authorDan Streetman <ddstreet@ieee.org>
Fri, 21 Jul 2023 19:49:16 +0000 (15:49 -0400)
committerDan Streetman <ddstreet@ieee.org>
Tue, 7 Nov 2023 17:20:54 +0000 (12:20 -0500)
commitc3a2a681bed77ce4f9218cd28405994ab5263077
tree03469a90fb1083b40e68d6f01d22d3063fd84742
parent65883f6c1060249c3cd2de34398a787be149138c
cryptenroll: add support for calculated TPM2 enrollment

Instead of enrolling the local TPM to a luks volume, use the public key from a
TPM to enroll it into the luks volume. This is useful when enrolling a TPM that
is not currently accessible, for example if the TPM is located on a different
system.
man/systemd-cryptenroll.xml
src/cryptenroll/cryptenroll-tpm2.c
src/cryptenroll/cryptenroll-tpm2.h
src/cryptenroll/cryptenroll.c
src/shared/tpm2-util.c
src/shared/tpm2-util.h