Find a file
Jeremy Kerr 5466f381dd image: Use size of image data when writing images
When detaching a signature, we need to know the size of the
non-signature data. So, add a data_size member to struct image, and
populate it when we iterate through the section table.

When writing the image, use data_size rather than size, so we don't
unnecessarily add the (now unused) signature data.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
2012-08-13 15:10:21 +08:00
coff Remove arch-specific coff headers 2012-08-10 17:12:54 +08:00
docs docs: Add simple manpage for sbattach 2012-06-13 14:28:57 +08:00
lib autoconfiscate 2012-05-28 22:35:48 +08:00
tests image: Use size of image data when writing images 2012-08-13 15:10:21 +08:00
.gitmodules Move ccan submodule 2012-05-24 15:17:18 +08:00
autogen.sh sbvarsign: First cut of a variable-signing tool 2012-08-02 16:46:51 +08:00
configure.ac sbvarsign: First cut of a variable-signing tool 2012-08-02 16:46:51 +08:00
COPYING license: Add OpenSSL exception to GPLv3 terms 2012-06-28 15:06:31 +08:00
efivars.h sbsiglist: Add utility for creating EFI_SIGNATURE_LISTs 2012-08-10 15:35:07 +08:00
fileio.c fileio: Add fileio_write_file 2012-08-10 15:34:21 +08:00
fileio.h fileio: Add fileio_write_file 2012-08-10 15:34:21 +08:00
gen-keyfiles.c Add copyright comments 2012-04-23 18:14:42 +08:00
idc.c license: Add OpenSSL exception to GPLv3 terms 2012-06-28 15:06:31 +08:00
idc.h license: Add OpenSSL exception to GPLv3 terms 2012-06-28 15:06:31 +08:00
image.c image: Use size of image data when writing images 2012-08-13 15:10:21 +08:00
image.h image: Use size of image data when writing images 2012-08-13 15:10:21 +08:00
libcoff.h Initial commit 2012-04-23 17:25:19 +08:00
LICENSE.GPLv3 license: Add OpenSSL exception to GPLv3 terms 2012-06-28 15:06:31 +08:00
Makefile.am Include efivars.h in automake infrastructure 2012-08-13 13:16:42 +08:00
NEWS autoconfiscate 2012-05-28 22:35:48 +08:00
README autoconfiscate 2012-05-28 22:35:48 +08:00
sbattach.c fileio: Unify whole-file reads 2012-08-03 11:14:17 +08:00
sbsiglist.c sbsiglist: Add utility for creating EFI_SIGNATURE_LISTs 2012-08-10 15:35:07 +08:00
sbsign.c image: always parse image regions 2012-08-13 15:05:12 +08:00
sbvarsign.c efivars: rename efi variable header 2012-08-10 14:31:56 +08:00
sbverify.c image: always parse image regions 2012-08-13 15:05:12 +08:00
verify.c Initial commit 2012-04-23 17:25:19 +08:00

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.