From 55944e5e40b1be2afc4855d8d2baf4b73d1876b5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 22:49:52 +0200 Subject: Adding upstream version 255.4. Signed-off-by: Daniel Baumann --- man/systemd-tpm2-setup.service.xml | 82 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 man/systemd-tpm2-setup.service.xml (limited to 'man/systemd-tpm2-setup.service.xml') diff --git a/man/systemd-tpm2-setup.service.xml b/man/systemd-tpm2-setup.service.xml new file mode 100644 index 0000000..8c13895 --- /dev/null +++ b/man/systemd-tpm2-setup.service.xml @@ -0,0 +1,82 @@ + + + + + + + + systemd-tpm2-setup.service + systemd + + + + systemd-tpm2-setup.service + 8 + + + + systemd-tpm2-setup.service + systemd-tpm2-setup-early.service + systemd-tpm2-setup + Set up the TPM2 Storage Root Key (SRK) at boot + + + + systemd-tpm2-setup.service + /usr/lib/systemd/systemd-tpm2-setup + + + + Description + + systemd-tpm2-setup.service and + systemd-tpm2-setup-early.service are services that generate the Storage Root Key + (SRK) if it hasn't been generated yet, and stores it in the TPM. + + The services will store the public key of the SRK key pair in a PEM file in + /run/systemd/tpm2-srk-public-key.pem and + /var/lib/systemd/tpm2-srk-public-key.pem. It will also store it in TPM2B_PUBLIC + format in /run/systemd/tpm2-srk-public-key.tpm2_public and + /var/lib/systemd/tpm2-srk-public-key.tpm2b_public. + + systemd-tpm2-setup-early.service runs very early at boot (possibly in the + initrd), and writes the SRK public key to /run/systemd/tpm2-srk-public-key.* (as + /var/ is generally not accessible this early yet), while + systemd-tpm2-setup.service runs during a later boot phase and saves the public key + to /var/lib/systemd/tpm2-srk-public-key.*. + + + + Files + + + + /run/systemd/tpm2-srk-public-key.pem + /run/systemd/tpm2-srk-public-key.tpm2b_public + + The SRK public key in PEM and TPM2B_PUBLIC format, written during early boot. + + + + + + /var/lib/systemd/tpm2-srk-public-key.pem + /var/lib/systemd/tpm2-srk-public-key.tpm2_public + + The SRK public key in PEM and TPM2B_PUBLIC format, written during later boot (once + /var/ is available). + + + + + + + + See Also + + systemd1 + + + -- cgit v1.2.3