Mario Limonciello
b87d48a042
When TPM PCR0 measurements fail, query if secure boot is available and enabled
...
If the measurements are missing but it's a UEFI system, it's a good indication
that the user has secure boot turned off.
Notify the user on the UEFI device through a non-fatal `UpdateMessage`
To accomplish this, move fu-uefi-vars into the plugin library for other plugins to use
2020-03-05 07:54:15 -06:00
Richard Hughes
b56015ed3f
uefi: Add the PCR0 value as the device checksum for system firmware
...
We can't actually access the UEFI ROM from userspace, but the PCR0 is a hash
built from the ROM itself. We could use this value to ensure the firmware has
been written correctly, and that the PCR0 matches the expected value specified
in the metadata.
2018-12-14 19:23:04 +00:00
Richard Hughes
a0da340b60
uefi: Do not add devices with invalid GUIDs
...
Note: We deliberately don't add the device without 'UPDATABLE' as there's
nothing the user can actually do to repair this themselves.
2018-12-07 09:05:30 -06:00
Mario Limonciello
fd65ddda8a
uefi: Rename all intermediary files and UEFI variables to prefix fwupd
...
fwupdate prefix is used by fwupdate and this will prevent clashes in case
its used instead.
2018-07-10 10:45:39 -05:00
Richard Hughes
7ecf0164de
uefi: Show the stored capsule filename in fwupdate
2018-06-28 15:51:11 +01:00
Richard Hughes
1ccf35a9e4
dell: Register devices with the uefi plugin rather than using libfwup directly
...
The device registration allows us to create a 'virtual' device that can accept
capsule updates that is not found in the ESRT.
2018-06-28 15:51:11 +01:00
Richard Hughes
5585b00892
uefi: Access /sys/firmware/efi/efivars directly rather than using efivars
...
This allows us to redirect the functions for our self tests.
2018-06-28 15:51:11 +01:00
Richard Hughes
83390f6556
uefi: Add functionality to parse the EFI framebuffer size
2018-06-28 15:51:11 +01:00
Richard Hughes
f758e7b73a
uefi: Add functionality to parse the BGRT table supported
2018-06-28 15:51:11 +01:00
Richard Hughes
a593447695
uefi: Add functionality to get a bitmap size
2018-06-28 15:51:11 +01:00
Richard Hughes
0766857407
uefi: Read the ESRT entries from a directory in sysfs
2018-06-28 15:51:11 +01:00
Richard Hughes
bd80edd6be
uefi: Add a device superclass to model each ESRT entry
2018-06-28 15:51:11 +01:00