You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/TPM.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ In wolfBoot we support TPM based root of trust, sealing/unsealing, cryptographic
15
15
|`MEASURED_PCR_A=16`|`WOLFBOOT_MEASURED_PCR_A=16`| The PCR index to use. See [docs/measured_boot.md](/docs/measured_boot.md). |
16
16
|`WOLFBOOT_TPM_SEAL=1`|`WOLFBOOT_TPM_SEAL`| Enables support for sealing/unsealing based on PCR policy signed externally. |
17
17
|`WOLFBOOT_TPM_SEAL_NV_BASE=0x01400300`|`WOLFBOOT_TPM_SEAL_NV_BASE`| To override the default sealed blob storage location in the platform hierarchy. |
18
+
|`WOLFBOOT_TPM_SEAL_AUTH=secret`|`WOLFBOOT_TPM_SEAL_AUTH`| Password for sealing/unsealing secrets |
18
19
19
20
## Root of Trust (ROT)
20
21
@@ -36,14 +37,14 @@ The wolfBoot image is hashed and extended to the indicated PCR. This can be used
36
37
See the wolfTPM Sealing/Unsealing example [here](https://github.com/wolfSSL/wolfTPM/tree/secret_seal/examples/boot#secure-boot-encryption-key-storage)
37
38
38
39
Known PCR values must be signed to seal/unseal a secret. The signature for the authorization policy resides in the signed header using the `--policy` argument.
39
-
If a signed policy is not in the header then a value cannot be sealed. Instead the PCR(s) and a digest to sign will be printed for use with the sign tool.
40
+
If a signed policy is not in the header then a value cannot be sealed. Instead the PCR(s) values and a PCR policy digest will be printed to sign. You can use `./tools/keytools/sign` or `./tools/tpm/policy_sign` to sign the policy externally.
40
41
41
42
This exposes two new wolfBoot API's for sealing and unsealing data with blob stored to NV index:
0 commit comments