d7cfae59da
The current gnu efi generation tools insist on leaving junk at the end of the binary. According to the authenticode spec, we have to include this in the hash otherwise signature verification fails, so add the end junk to the calculation of the hash. I've verified that with this fix (and another one to get objcopy to align the sections correctly) we can now sign gnu tools generated efi code with tianocore r13466 Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com> |
||
---|---|---|
coff | ||
docs | ||
lib | ||
tests | ||
.gitmodules | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
gen-keyfiles.c | ||
idc.c | ||
idc.h | ||
image.c | ||
image.h | ||
libcoff.h | ||
Makefile.am | ||
NEWS | ||
README | ||
sbattach.c | ||
sbsign.c | ||
sbverify.c | ||
verify.c |
sbsigntool - Signing utility for UEFI secure boot Copyright (C) 2102 Jeremy Kerr <jeremy.kerr@canonical.com> Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. See file ./INSTALL for building and installation instructions. Main git repository: git://kernel.ubuntu.com/jk/sbsigntool.git sbsigntool is free software. See the file COPYING for copying conditions.