diff --git a/man/systemd-cryptenroll.xml b/man/systemd-cryptenroll.xml index b40d2022339..8fd885cb264 100644 --- a/man/systemd-cryptenroll.xml +++ b/man/systemd-cryptenroll.xml @@ -444,15 +444,21 @@ enrollment is calculated using the provided TPM2 key. This is useful in situations where the TPM2 security chip is not available at the time of enrollment. - The key, in most cases, should be the Storage Root Key (SRK) from the TPM2 security chip. If a - key from a different handle (not the SRK) is used, you must specify its handle index using + The key, in most cases, should be the Storage Root Key (SRK) from a local TPM2 security + chip. If a key from a different handle (not the SRK) is used, you must specify its handle index using . - You may use tpm2-tss tools to get the SRK from the TPM2 security chip with tpm2_readpublic1, - for example: + The + systemd-tpm2-setup.service8 + service writes the SRK to /run/systemd/tpm2-srk-public-key.tpm2b_public + automatically during boot, in the correct format. - tpm2_readpublic -c 0x81000001 -o srk.pub + Alternatively, you may use systemd-analyze srk to retrieve the SRK from the + TPM2 security chip explicitly. See + systemd-analyze1 + for details. Example: + + systemd-analyze srk > srk.tpm2b_public