]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Include Secure Boot Advanced Targeting (SBAT) metadata
authorMichael Brown <mcb30@ipxe.org>
Thu, 13 Jan 2022 14:10:03 +0000 (14:10 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 13 Jan 2022 14:12:44 +0000 (14:12 +0000)
commitf4f9adf618cd85d330a896e1f721f3aa78d2409d
tree92cf1a5ad3ac644c8ebfc66213f42ecba973047b
parentfbbdc39260cf37aa749e897e773f59807d1b8362
[efi] Include Secure Boot Advanced Targeting (SBAT) metadata

SBAT defines an encoding for security generation numbers stored as a
CSV file within a special ".sbat" section in the signed binary.  If a
Secure Boot exploit is discovered then the generation number will be
incremented alongside the corresponding fix.

Platforms may then record the minimum generation number required for
any given product.  This allows for an efficient revocation mechanism
that consumes minimal flash storage space (in contrast to the DBX
mechanism, which allows for only a single-digit number of revocation
events to ever take place across all possible signed binaries).

Add SBAT metadata to iPXE EFI binaries to support this mechanism.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/scripts/i386-kir.lds
src/arch/i386/scripts/linux.lds
src/arch/x86/scripts/pcbios.lds
src/arch/x86/scripts/prefixonly.lds
src/arch/x86_64/scripts/linux.lds
src/config/branding.h
src/core/version.c
src/include/ipxe/sbat.h [new file with mode: 0644]
src/scripts/efi.lds