]> git.proxmox.com Git - efi-boot-shim.git/commit - Makefile
Sign MokManager with a locally-generated key
authorMatthew Garrett <mjg59@srcf.ucam.org>
Mon, 26 Nov 2012 18:43:50 +0000 (13:43 -0500)
committerMatthew Garrett <mjg59@srcf.ucam.org>
Mon, 26 Nov 2012 18:43:50 +0000 (13:43 -0500)
commitef8c9962a8bab7068acd47f0845df45616c0fda1
treec4b5cbc61497794dcb274aa2e89d9518827d9e3f
parente4d55afe6a27f2f149f9267d3c43bb636ace9a5a
Sign MokManager with a locally-generated key

shim needs to verify that MokManager hasn't been modified, but we want to
be able to support configurations where shim is shipped without a vendor
certificate. This patch adds support for generating a certificate at build
time, incorporating the public half into shim and signing MokManager with
the private half. It uses pesign and nss, but still requires openssl for
key generation. Anyone using sbsign will need to figure this out for
themselves.
Makefile
make-certs [new file with mode: 0755]
shim.c