sbsign: Add --detached option to create detached PKCS7 signatures
Add an option (--detached) to sbsign, which creates a detached signature, rather than embedding it in the PE/COFF signature table. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
parent
f98a885cfa
commit
3c9815acc6
3 changed files with 37 additions and 3 deletions
1
image.h
1
image.h
|
@ -81,6 +81,7 @@ int image_pecoff_parse(struct image *image);
|
|||
int image_find_regions(struct image *image);
|
||||
int image_hash_sha256(struct image *image, uint8_t digest[]);
|
||||
int image_write_signed(struct image *image, const char *filename);
|
||||
int image_write_detached(struct image *image, const char *filename);
|
||||
|
||||
#endif /* IMAGE_H */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue