Skip to content

Check secure boot config measurements against current variable contents #538

Description

@chrisccoulson

checkSecureBootPolicyMeasurementsAndObtainAuthorities checks that the secure boot config measurements (EV_EFI_VARIABLE_DRIVER_CONFIG events) are well formed and that their digests are correct. What it doesn't do is verify that the event data matches the actual variable contents, and it should do.

This will need an opt out flag for the post-install case in the event that they are executed after applying a signature database update, as the variable contents will be inconsistent with the log in this case.

Unit testing for this is a bit challenging right now because the code in internal/efitest to generate mock TCG logs does not currently allow the secure boot configuration contents to be customized.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    preinstall-checksRelated to the EFI preinstall checks in secboot

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions