sbsigntools/src
James Bottomley 98d3ce77b4 src/image.c: remove alignment of regions
The old code forced region size to be aligned to the PECOFF file
alignment parameter, which is correct according to the spec.  However,
the major UEFI platforms do not align up when checking the signature,
so if the PECOFF binary being signed already contains a signature,
realigning the sections will make the existing signature invalid.  Fix
this by relaxing the rule about aligning up (also eliminates
complaints about some pecoff sections being misaligned).

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2019-01-09 16:04:01 -08:00
..
coff sbsigntool: add support for ARM and Aarch64 PE/COFF images 2016-01-27 11:50:19 -08:00
efivars.h sbvarsign: Improve default GUID choice 2012-08-24 20:57:00 +08:00
fileio.c sbsign, sbvarsign: support engine based private keys 2017-10-28 14:21:24 +01:00
fileio.h sbsign, sbvarsign: support engine based private keys 2017-10-28 14:21:24 +01:00
idc.c Move sources to src/ subdirectory 2012-08-13 15:10:21 +08:00
idc.h Move sources to src/ subdirectory 2012-08-13 15:10:21 +08:00
image.c src/image.c: remove alignment of regions 2019-01-09 16:04:01 -08:00
image.h sbsign, sbattach, sbverify: add multiple signature support 2014-12-19 16:42:37 -08:00
libcoff.h Move sources to src/ subdirectory 2012-08-13 15:10:21 +08:00
Makefile.am sbkeysync: read & print signature databases 2012-08-24 20:00:52 +08:00
sbattach.c Add OPENSSL_config(NULL) to each binary to load openssl.cnf 2017-10-19 10:45:41 -07:00
sbkeysync.c Update OpenSSL API usage to support OpenSSL 1.1 2017-10-19 10:45:58 -07:00
sbsiglist.c Move EFI_CERT types to efivars.h 2012-08-24 20:00:15 +08:00
sbsign.c sbsign, sbvarsign: support engine based private keys 2017-10-28 14:21:24 +01:00
sbvarsign.c sbvarsign: use SignedData instead of PKCS7 for authenticated updates 2019-01-09 15:52:34 -08:00
sbverify.c Fix Debian 8 and Leap_42.1 builds 2017-10-19 11:09:41 -07:00
verify.c Move sources to src/ subdirectory 2012-08-13 15:10:21 +08:00