fwupd/plugins/tpm-eventlog
Richard Hughes f58ac7316c hsi: Abstract out the list of FwupdSecurityAttr objects for plugins
This exports FuSecurityAttrs into libfwupdplugin so that we can pass the plugins
this object rather than a 'bare' GPtrArray. This greatly simplifies the object
ownership, and also allows us to check the object type before adding.

In the future we could also check for duplicate appstream IDs or missing
properties at insertion time.

This change also changes the fu_plugin_add_security_attrs() to not return an
error. This forces the plugin to handle the error, storing the failure in the
attribute itself.

Only the plugin know if a missing file it needs to read indicates a runtime
problem or a simple failure to obtain a specific HSI level.
2020-05-12 16:47:24 +01:00
..
tests Add a new plugin that can parse the TPM event log 2019-12-06 15:05:16 +00:00
fu-plugin-tpm-eventlog.c hsi: Abstract out the list of FwupdSecurityAttr objects for plugins 2020-05-12 16:47:24 +01:00
fu-self-test.c tpm-eventlog: Replay the TPM event log to get the PCRx values 2020-02-04 11:54:27 +00:00
fu-tpm-eventlog-common.c tpm-eventlog: Replay the TPM event log to get the PCRx values 2020-02-04 11:54:27 +00:00
fu-tpm-eventlog-common.h tpm-eventlog: Replay the TPM event log to get the PCRx values 2020-02-04 11:54:27 +00:00
fu-tpm-eventlog-device.c tpm-eventlog: Replay the TPM event log to get the PCRx values 2020-02-04 11:54:27 +00:00
fu-tpm-eventlog-device.h tpm-eventlog: Replay the TPM event log to get the PCRx values 2020-02-04 11:54:27 +00:00
fu-tpm-eventlog-parser.c tpm-eventlog: Store the eventlog hashes in binary form 2020-02-04 11:54:27 +00:00
fu-tpm-eventlog-parser.h tpm-eventlog: Store the eventlog hashes in binary form 2020-02-04 11:54:27 +00:00
fu-tpm-eventlog.c trivial: tpm-eventlog: Modify -p argument behavior 2020-04-29 13:18:53 -05:00
meson.build trivial: add some better descriptions for man pages 2020-02-20 09:34:10 -06:00
README.md trivial: Document the use of vendor-id in each plugin 2019-12-11 18:10:44 +00:00

TPM Event Log Support

Introduction

The TPM Event Log records which events are registered for the PCR0 hash, which may help in explaining why PCR0 values are differing for some firmware.

The device exposed is not upgradable in any way and is just for debugging. The created device will be a child device of the system TPM device, which may or may not be upgradable.

Vendor ID Security

The device is not upgradable and thus requires no vendor ID set.