summarylogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorCorey Hinshaw2018-10-07 23:45:11 -0400
committerCorey Hinshaw2018-10-07 23:45:11 -0400
commit1828f7ab7edddea75345fbe4a78942cefecd8325 (patch)
treea7e1a82198641d776c78b2704224ddfa10a107fc /README.md
parent34646d61c9a0ea7335429f48bc42f18db0025849 (diff)
downloadaur-1828f7ab7edddea75345fbe4a78942cefecd8325.tar.gz
Add option to extend PCR after unseal
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 18 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5ad0e35d54e4..e42a6c5999ac 100644
--- a/README.md
+++ b/README.md
@@ -42,8 +42,24 @@ this case `[index]` is the NVRAM area index, `[offset]` is the offset of the key
in bytes and `[size]` is the size of the key in bytes.
The `tpmpcr` parameter should hold the TPM2 PCR bank specification that will
-unlock the sealed key. Multiple specs can be separated by a '|' and key
-decryption will be attempted with each set of banks.
+unlock the sealed key.
+
+ tpmpcr=sha1:0,2,7
+
+Multiple specs can be separated by a '|' and key decryption will be attempted
+with each set of banks.
+
+ tpmpcr=sha1:0,2,4,7|sha1:0,2,7
+
+Instead of a bank specification, the first item in the `tpmpcr` parameter may be
+used to indicate a PCR to extend _after_ the key has been unsealed.
+
+ extend:[pcrnum]:[alg]
+
+Where `[pcrnum]` is the PCR number to extend and `[alg]` is the bank algorithm.
+For example, to extend PCR 8 in the sha1 bank:
+
+ tpmpcr=extend:8:sha1|sha1:0,2,7
You may also need to add the `vfat` file system driver to the `MODULES` array: