Add support for WithDriversAndAppsConfigProfile (PCR3)
- Dominant language
- Go
- Stars
- 23
- Forks
- 29
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 2
Description
f PCR7 isn't supported for some reason, eg, because secure boot is disabled or the device is not in deployed mode, then we should be able to fall back to a safe profile that includes PCRs 1, 2, 3, 4 and 5. PCR 2 and 4 are for binding to all code that's loaded outside of the platform firmware.
It should also be possible to optionally bind to PCR3 using the PCRProfileOptionsFlags.
PCR1 is to bind to all of the platform firmware's configuration - currently, changes to security-sensitive settings such as enabling a debugger or disabling DMA remapping change the value of PCR7 by adding extra EVI_EFI_ACTION events.
PCR3 contains any configuration related to UEFI drivers that are not part of the platform firmware.
PCR5 contains the GPT of the IBL and can be used for any bootloader configuration, and support for this will be tracked in a separate issue.
To support this, the efi package needs a new WithDriversAndAppsConfigProfile API that will support PCR3. As nothing in PCR3 is predicted, all events measured to it will just be copied into the profile.
Contributor guide
Assessment
This issue has not been assessed yet.