Skip to content

mjg59/shim

This branch is 861 commits behind rhboot/shim:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Linn Crosettovathpela
Linn Crosetto
and
Sep 18, 2015
e22a7b5 · Sep 18, 2015
Jul 28, 2015
Jun 16, 2015
Jun 29, 2015
Oct 3, 2013
Jul 9, 2012
Sep 18, 2015
Jun 16, 2015
Oct 2, 2013
Apr 11, 2014
Sep 26, 2013
Jul 21, 2014
Oct 2, 2013
Aug 12, 2014
Sep 26, 2013
Sep 26, 2013
Jun 30, 2015
Jun 30, 2015
Jun 30, 2015
Jun 30, 2015
Jun 30, 2015
Jun 30, 2015
Nov 26, 2012
Oct 2, 2014
Nov 12, 2013
Jun 11, 2015
Jun 11, 2015
Jun 30, 2015
Jun 11, 2015
Oct 2, 2014
Apr 30, 2013
Oct 3, 2013
Oct 3, 2013

Repository files navigation

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, and
so calls to it should not be wrapped.

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".

About

UEFI shim loader

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 95.6%
  • C++ 2.8%
  • Other 1.6%