summaryrefslogtreecommitdiff
path: root/MokManager.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg59@srcf.ucam.org>2012-11-24 00:07:11 -0500
committerMatthew Garrett <mjg59@srcf.ucam.org>2012-11-26 13:43:50 -0500
commit6d50f87a06ff70d2075863f4c145235c081263d6 (patch)
treec4b5cbc61497794dcb274aa2e89d9518827d9e3f /MokManager.c
parent2fd180a92d11b24dccfbf3d8cef7c330124faae8 (diff)
downloadefi-boot-shim-6d50f87a06ff70d2075863f4c145235c081263d6.tar.gz
efi-boot-shim-6d50f87a06ff70d2075863f4c145235c081263d6.zip
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.
Diffstat (limited to 'MokManager.c')
0 files changed, 0 insertions, 0 deletions