Skip to content

Add support for signing grub with an appended signature

Daniel Axtens grub-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Add suport for signing grub with an appended signatureinclude/grub/util/install.h include/grub/util/mkimage.h util/grub-install-common.c +3 more+75 -130 replies
2/3docs/grub: Document signing grub under UEFIdocs/grub.texi+21 -10 replies
3/3docs/grub: Document signing grub with an appended signaturedocs/grub.texi+42 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Add support for signing grub with an appended signature

Part of a secure boot chain is allowing boot firmware to verify the grub core.img. For UEFI platforms, this is done by signing the PE binary with a tool like pesign or sb-sign. However, for platforms that don't implement UEFI, an alternative scheme is required.

These patches provide some infrastructure and documentation for signing grub's core.img with a Linux-kernel-module style appended signature.

Because some platforms, such as powerpc-ieee1275, load grub from a raw disk partition rather than a filesystem, we extend grub-install to add an ELF note that allows us to specify the size and location of the signature.

More details are in patch 1, including a link to an open-source firmware capable of verifying a grub image signed this way.

Daniel Axtens (2):
docs/grub: Document signing grub under UEFI docs/grub: Document signing grub with an appended signature

Rashmica Gupta (1):
Add suport for signing grub with an appended signature

 docs/grub.texi              | 64 ++++++++++++++++++++++++++++++++++++-
 include/grub/util/install.h |  8 +++--
 include/grub/util/mkimage.h |  4 +--
 util/grub-install-common.c  | 16 ++++++++--
 util/grub-mkimage.c         | 11 +++++++
 util/grub-mkimagexx.c       | 39 +++++++++++++++++++++-
 util/mkimage.c              | 10 +++---
 7 files changed, 138 insertions(+), 14 deletions(-)
Signature · 1 line
2.25.1