Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SBAT revocation update support #52

Merged
merged 1 commit into from
May 1, 2022
Merged

SBAT revocation update support #52

merged 1 commit into from
May 1, 2022

Conversation

jsetje
Copy link
Contributor

@jsetje jsetje commented Apr 29, 2022

Control how shim will apply SBAT revocations:

mokutil --set-sbat-policy latest

applies the latest SBAT revocations
(default behavior)

mokutil --set-sbat-policy previous

applies previous SBAT revocations to
allow falling back to an older release

In both of the above cases shim will only apply SBAT revocations that
are newer than the ones currently installed.

mokutil --set-sbat-policy delete

resets SBAT revocations only if Secure
Boot is disabled. This setting does not
persist.

Signed-off-by: Jan Setje-Eilers [email protected]

@jsetje
Copy link
Contributor Author

jsetje commented Apr 29, 2022

This goes along with rhboot/shim#467
This was developed to account for supporting sbat revocations as a non-authenticated boot services variable.

Control how shim will apply SBAT revocations:

 mokutil --set-sbat-policy latest

	applies the latest SBAT revocations
	(default behavior)

 mokutil --set-sbat-policy previous

	applies previous SBAT revocations to
	allow falling back to an older release

 In both of the above cases shim will only apply SBAT revocations that
are newer than the ones currently installed.

 mokutil --set-sbat-policy delete

	resets SBAT revocations only if Secure
	Boot is disabled. This setting does not
	persist.

Signed-off-by: Jan Setje-Eilers <[email protected]>
@jsetje jsetje marked this pull request as ready for review April 29, 2022 19:20
@lcp lcp merged commit 4d5f79f into lcp:master May 1, 2022
@lcp
Copy link
Owner

lcp commented May 1, 2022

Thanks for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants