]> git.ozlabs.org Git - petitboot/commit
Add support for GPG signature enforcement on booted
authortpearson@raptorengineering.com <tpearson@raptorengineering.com>
Thu, 18 Aug 2016 09:45:47 +0000 (04:45 -0500)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Fri, 26 Aug 2016 03:23:01 +0000 (13:23 +1000)
commit86c9d34380b0074dab1ba89a569a94280d6999c4
tree22cf0cccbd4022d150e231adcb360b3bcf528cda
parent5496eee36f70631ae45403f90ed7b4dc143f27c0
Add support for GPG signature enforcement on booted

kernels and related blobs

This can be used to implement a form of organization-controlled secure boot,
whereby kernels may be loaded from a variety of sources but they will only
boot if a valid signature file is found for each component, and only if the
signature is listed in the /etc/pb-lockdown file.

Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
(Minor build fixes and gpgme.m4, comment on secure boot in gpg.c)
23 files changed:
configure.ac
discover/Makefile.am
discover/boot.c
discover/boot.h
discover/device-handler.c
discover/device-handler.h
discover/grub2/builtins.c
discover/kboot-parser.c
discover/pxe-parser.c
discover/user-event.c
discover/yaboot-parser.c
lib/Makefile.am
lib/file/file.c
lib/file/file.h
lib/pb-protocol/pb-protocol.c
lib/security/gpg.c [new file with mode: 0644]
lib/security/gpg.h [new file with mode: 0644]
lib/types/types.h
m4/gpgme.m4 [new file with mode: 0644]
ui/common/discover-client.c
ui/common/discover-client.h
ui/ncurses/nc-boot-editor.c
ui/ncurses/nc-cui.c