]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2-util: load external key into NULL hierarchy if private key is provided
authorLennart Poettering <lennart@poettering.net>
Tue, 16 Apr 2024 13:01:41 +0000 (15:01 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 18 Apr 2024 16:12:23 +0000 (18:12 +0200)
commit371b59441459e3bc33ceca4da619fec310dd7b37
tree00291ca339293e4e0c036ce00bd2c9d948a8e7db
parentd0f8da9815744a0a7e1a79a5134b56334e12a197
tpm2-util: load external key into NULL hierarchy if private key is provided

If we load an external key into the TPM we must do so in the NULL
hierarchy. An external key after all is one that is not wrapped by any
hierarchy's seed.

See TPM2 spec, Part 3, Section 12.3.1
src/shared/tpm2-util.c