summaryrefslogtreecommitdiff
path: root/README.tpm
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2017-08-01 12:54:25 -0400
committerPeter Jones <pjones@redhat.com>2017-08-03 11:24:56 -0400
commit631265b7e9c447412d423ffed1b39dfd706054cd (patch)
treeb0f881a8bf2eedd69fde2e398a565e9e8f16dc64 /README.tpm
parent9abedc47f521ed7b439ceb24730d22a33bc6e03b (diff)
downloadefi-boot-shim-631265b7e9c447412d423ffed1b39dfd706054cd.tar.gz
efi-boot-shim-631265b7e9c447412d423ffed1b39dfd706054cd.zip
Add README.tpm to explain which PCRs we extend things to.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'README.tpm')
-rw-r--r--README.tpm22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.tpm b/README.tpm
new file mode 100644
index 00000000..261bcd05
--- /dev/null
+++ b/README.tpm
@@ -0,0 +1,22 @@
+The following PCRs are extended by shim:
+
+PCR4:
+- the Authenticode hash of the binary being loaded will be extended into
+ PCR4 before SB verification.
+
+PCR7:
+- Any certificate in one of our certificate databases that matches a binary
+ we try to load will be extended into PCR7. That includes:
+ - DBX - the system blacklist, logged as "dbx"
+ - MokListX - the Mok blacklist, logged as "MokListX"
+ - vendor_dbx - shim's built-in vendor blacklist, logged as "dbx"
+ - DB - the system whitelist, logged as "db"
+ - MokList the Mok whitelist, logged as "MokList"
+ - vendor_cert - shim's built-in vendor whitelist, logged as "Shim"
+ - shim_cert - shim's build-time generated whitelist, logged as "Shim"
+- MokSBState will be extended into PCR7 if it is set, logged as
+ "MokSBState".
+
+PCR14:
+- MokList, MokListX, and MokSBState will be extended into PCR14 if they are
+ set.