Richard Hughes
6f4f1caca4
trivial: Fix some typos spotted by codespell
2020-09-24 10:48:26 +01:00
Mario Limonciello
f412227415
trivial: don't show reconstruction errors if uefi device is missing
...
The system must support UEFI capsule updates in order to measure
this. (Fixes : #2181 )
2020-06-17 15:01:34 -05:00
Mario Limonciello
28bcecc028
trivial: fwupdtpmevlog: make clearer which algorithm is used
2020-06-17 15:01:34 -05:00
Mario Limonciello
fe862a1d1b
tpm-eventlog: Always look at all supported algorithms
...
This will effectively mean that both sha1 and sha256 results are
sent back to uefi plugin for analysis.
2020-06-17 15:01:34 -05:00
Mario Limonciello
825c04df73
trivial: tpm-eventlog: Modify -p
argument behavior
...
If using this argument, only display the final calculated value.
2020-04-29 13:18:53 -05:00
Mario Limonciello
38c80baff5
tpm-eventlog: Disambiguate the output at the end of fwupdtpmevlog
...
It's not obvious to users if this is the same value as tpm2-tools or the reconstructed value.
2020-04-29 13:18:53 -05:00
Mario Limonciello
e1c8c018a5
tpm-eventlog: Correct the display of final calculated PCRs
...
Although the calculation matched on my machine the actual numbers didn't
match PCR0 values from the tpm2-tools. This was a display error.
2020-04-29 13:18:53 -05:00
Mario Limonciello
b2dc3d481f
Improve the description of fwupdtpmevlog
for man page
2020-02-20 09:02:11 -06:00
Richard Hughes
59d947ac24
tpm-eventlog: Replay the TPM event log to get the PCRx values
...
In theory, these should always match the reported PCRx values from the TPM.
If the reconstructed event log checksum does not match the TPM value then
something is either implemented wrongly, or something bad has happened.
2020-02-04 11:54:27 +00:00
Richard Hughes
f5c6e1d276
Add a new plugin that can parse the TPM event log
...
Some devices do not have a stable PCR0 for the same firmware version, and I'd
like to collect the TPM event log for affected machines to debug why.
2019-12-06 15:05:16 +00:00