]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sign-file: Add option to only create signature file
authorLuis R. Rodriguez <mcgrof@suse.com>
Mon, 20 Jul 2015 20:16:27 +0000 (21:16 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 7 Aug 2015 15:26:13 +0000 (16:26 +0100)
commit23dfbbabbb3a62104b040b422121c84800312ad0
tree12439e74a90588034ce8a0eab7f12a05f51c2a38
parent3f1e1bea34740069f70c6bc92d0f712345d5c28e
sign-file: Add option to only create signature file

Make the -d option (which currently isn't actually wired to anything) write
out the PKCS#7 message as per the -p option and then exit without either
modifying the source or writing out a compound file of the source, signature
and metadata.

This will be useful when firmware signature support is added
upstream as firmware will be left intact, and we'll only require
the signature file. The descriptor is implicit by file extension
and the file's own size.

Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: David Howells <dhowells@redhat.com>
scripts/sign-file.c