Skip to content

Commit

Permalink
Block Debian grub binaries with SBAT < 4
Browse files Browse the repository at this point in the history
(See https://bugs.debian.org/1024617)

One of the Debian builds of grub bumped the SBAT to 3, but didn't
include the patches needed. Add "grub.debian,4" to block those
binaries.

Signed-off-by: Steve McIntyre <[email protected]>
  • Loading branch information
Steve McIntyre authored and vathpela committed May 2, 2023
1 parent aae3df0 commit cca3933
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions include/sbat_var_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@
SBAT_VAR_SIG SBAT_VAR_VERSION SBAT_VAR_PREVIOUS_DATE "\n" \
SBAT_VAR_PREVIOUS_REVOCATIONS

#define SBAT_VAR_LATEST_DATE "2022111500"
#define SBAT_VAR_LATEST_REVOCATIONS "shim,2\ngrub,3\n"
/*
* Debian's grub.3 update was broken - some binaries included the SBAT
* data update but not the security patches :-(
*/
#define SBAT_VAR_LATEST_DATE "2023012900"
#define SBAT_VAR_LATEST_REVOCATIONS "shim,2\ngrub,3\ngrub.debian,4\n"
#define SBAT_VAR_LATEST \
SBAT_VAR_SIG SBAT_VAR_VERSION SBAT_VAR_LATEST_DATE "\n" \
SBAT_VAR_LATEST_REVOCATIONS
Expand Down

0 comments on commit cca3933

Please sign in to comment.