Richard Hughes
e6b487e762
Add FuProgress to ->startup() and ->coldplug()
...
This allows us to profile the daemon startup so we can find any plugins
taking an inordinate amount of time to start.
2022-06-04 20:21:50 +01:00
Richard Hughes
0b7af7d54b
trivial: Ignore the return value of setenv() in most cases
...
This makes Coverity happy.
2022-04-13 15:08:12 +01:00
Richard Hughes
8fc8539146
trivial: Remove some unused variables
2021-12-10 16:00:07 +00:00
Richard Hughes
853b20ded4
tpm: Fix a tiny memory leak in the TPM self tests
2021-12-10 15:57:58 +00:00
Richard Hughes
eb4fa6dbf6
tpm: Fix a clang warning of a variable clash
...
Also, fix a memory leak as this is actually a `gchar **`.
2021-12-10 15:57:58 +00:00
Gabriel Kerneis
3e8f09a0f7
Add HSI check that PCR registers 0-7 are not empty
...
Some BIOSes forget add measurements to PCR registers, which results in
all-zero checksums and breaks measured boot guarantees.
Fixes #3901
2021-11-17 16:21:52 +00:00
Richard Hughes
c1f7ac47e8
tpm: Actually add the v1.2 device
...
Also, add end-to-end tests for this so it can never happen again.
Fixes https://github.com/fwupd/fwupd/issues/3972
2021-11-10 14:08:08 +00:00
Richard Hughes
510a9bfe0c
Merge tpm-eventlog into the tpm plugin
...
This is so much less complicated.
2021-11-02 13:47:25 +00:00
Richard Hughes
e29c74180c
Move the TPM handling into the TPM place
...
The fact that it currently lives in uefi-capsule is a historical
accident, and it doesn't really belong to tpm-eventlog either.
Fixes some of https://github.com/fwupd/fwupd/issues/3901
2021-11-01 14:51:27 +00:00