Go to file
Steve McIntyre ba30131daf Rename all the packages containg the helper binaries
Remove potential confusion with shim-signed. We will now end up with
shim-helpers-$arch-signed to make it clear that they just contain the
helper binaries (fb.efi and mm.efi)
2019-03-06 22:44:57 +00:00
Cryptlib New upstream version 15+1533136590.3beb971 2018-08-21 14:22:44 -04:00
debian Rename all the packages containg the helper binaries 2019-03-06 22:44:57 +00:00
include New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
lib New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
.gitignore New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
.syntastic_c_config New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
.travis.yml New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
buildid.c New upstream version 13 2017-09-29 11:20:57 -04:00
BUILDING New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
cert.S Add support for 32-bit ARM 2014-08-12 10:54:05 -04:00
COPYRIGHT Add copyright file 2012-07-09 11:03:12 -04:00
crypt_blowfish.c New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
elf_aarch64_efi.lds New upstream version 12+1501864225.b586175 2017-08-07 17:34:45 -04:00
elf_arm_efi.lds New upstream version 12+1501864225.b586175 2017-08-07 17:34:45 -04:00
elf_ia32_efi.lds New upstream version 12+1501864225.b586175 2017-08-07 17:34:45 -04:00
elf_ia64_efi.lds New upstream version 12+1501864225.b586175 2017-08-07 17:34:45 -04:00
elf_x86_64_efi.lds New upstream version 12+1501864225.b586175 2017-08-07 17:34:45 -04:00
errlog.c New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
fallback.c New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
httpboot.c New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
make-certs Sign MokManager with a locally-generated key 2012-11-26 13:43:50 -05:00
Make.coverity New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
Make.defaults New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
Make.rules New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
Make.scan-build New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
Makefile New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
model.c New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
mok.c New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
MokManager.c New upstream version 15+1533136590.3beb971 2018-08-21 14:22:44 -04:00
MokVars.txt New upstream version 13~git1505328970.9c1c35c5 2017-09-13 12:09:40 -07:00
netboot.c New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
PasswordCrypt.c New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
README New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
README.fallback New upstream version 12+1501864225.b586175 2017-08-07 17:34:45 -04:00
README.tpm New upstream version 15+1533136590.3beb971 2018-08-21 14:22:44 -04:00
replacements.c New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
shim.c New upstream version 15+1533136590.3beb971 2018-08-21 14:22:44 -04:00
shim.h New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
testplan.txt Another testplan error. 2014-10-02 01:01:46 -04:00
TODO New upstream version 15+1533136590.3beb971 2018-08-21 14:22:44 -04:00
tpm.c New upstream version 15+1531942534.dd3230d 2018-07-24 16:24:23 -04:00
version.c.in New upstream version 12+1501864225.b586175 2017-08-07 17:34:45 -04:00
version.h Add ident-like blobs to shim.efi for version checking. 2013-10-03 11:11:09 -04:00

shim is a trivial EFI application that, when run, attempts to open and
execute another application. It will initially attempt to do this via the
standard EFI LoadImage() and StartImage() calls. If these fail (because secure
boot is enabled and the binary is not signed with an appropriate key, for
instance) it will then validate the binary against a built-in certificate. If
this succeeds and if the binary or signing key are not blacklisted then shim
will relocate and execute the binary.

shim will also install a protocol which permits the second-stage bootloader
to perform similar binary validation. This protocol has a GUID as described
in the shim.h header file and provides a single entry point. On 64-bit systems
this entry point expects to be called with SysV ABI rather than MSABI, so calls
to it should not be wrapped.

On systems with a TPM chip enabled and supported by the system firmware,
shim will extend various PCRs with the digests of the targets it is
loading.  A full list is in the file README.tpm .

To use shim, simply place a DER-encoded public certificate in a file such as
pub.cer and build with "make VENDOR_CERT_FILE=pub.cer".

There are a couple of build options, and a couple of ways to customize the
build, described in BUILDING.