diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-09-26 21:25:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-09-29 19:36:04 +0200 |
commit | 2e64cb71b9c0160c335d8e52954149e078bba2fb (patch) | |
tree | 6009b2b90b9f5a7e88c65d2a8ff3084b634ea26c /man/rules | |
parent | Merge pull request #29234 from ddstreet/tpm2_marshal_serialize_handle_index (diff) | |
download | systemd-2e64cb71b9c0160c335d8e52954149e078bba2fb.tar.xz systemd-2e64cb71b9c0160c335d8e52954149e078bba2fb.zip |
tpm2-setup: add new early boot tool for initializing the SRK
This adds an explicit service for initializing the TPM2 SRK. This is
implicitly also done by systemd-cryptsetup, hence strictly speaking
redundant, but doing this early has the benefit that we can parallelize
this in a nicer way. This also write a copy of the SRK public key in PEM
format to /run/ + /var/lib/, thus pinning the disk image to the TPM.
Making the SRK public key is also useful for allowing easy offline
encryption for a specific TPM.
Sooner or later we should probably grow what this service does, the
above is just the first step. For example, the service should probably
offer the ability to reset the TPM (clear the owner hierarchy?) on a
factory reset, if such a policy is needed. And we might want to install
some default AK (?).
Fixes: #27986
Also see: #22637
Diffstat (limited to 'man/rules')
-rw-r--r-- | man/rules/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/man/rules/meson.build b/man/rules/meson.build index 9a383b985e..3454668cab 100644 --- a/man/rules/meson.build +++ b/man/rules/meson.build @@ -1088,6 +1088,10 @@ manpages = [ 'systemd-tmpfiles-setup-dev.service', 'systemd-tmpfiles-setup.service'], ''], + ['systemd-tpm2-setup.service', + '8', + ['systemd-tpm2-setup', 'systemd-tpm2-setup-early.service'], + 'ENABLE_BOOTLOADER'], ['systemd-tty-ask-password-agent', '1', [], ''], ['systemd-udev-settle.service', '8', [], ''], ['systemd-udevd.service', |