Commit graph

4 commits

Author SHA1 Message Date
Kate Hsuan
d38a570efa firmware-security: Set the HSI row icon correctly for higher HSI levels
Set icon image to "emblem-default-symbolic" for higher HSI value.
2022-07-20 15:58:07 +00:00
Richard Hughes
032f8a4556 firmware-security: Correctly show SecureBoot status with new fwupd versions
Adapt to the org.fwupd.hsi.Uefi.SecureBoot HSI being fixed in
https://github.com/fwupd/fwupd/pull/4835 (level 0 isn't a valid number
unless it is a runtime issue, and the docs have always said HSI-1).

The org.fwupd.hsi.Uefi.Pk attribute has always been HSI-1, and so the
wrong hashtable was being queried -- which is probably my fault for
making SecureBoot an invalid value in the first place.

We also do not have to track the HSI-0 failures now, so delete the
hashtable completely.
2022-07-20 15:58:07 +00:00
Richard Hughes
5954dffda4 firmware-security: Set the HSI row colors correctly for higher HSI levels
If we get HSI-2 then the HS1-2 row should be 'success', as should HSI-1.
2022-07-20 15:58:07 +00:00
Kate Hsuan
69598b9e08 Add Firmware Security panel
The Firmware Security panel exposes the host security levels
and details. The information is generated by fwupd. The panel
also exposes hardware configuration changes to pinpoint the
configuration changing time.

Currently this panel shows:

 - HSI and secure boot status
 - Details of HSI and secure boot
 - Configuration changelog
 - Digested security level
 - Extended protection
2022-06-27 13:53:30 -03:00