• Luis R. Rodriguez's avatar
    sign-file: Add option to only create signature file · de7ee5d8
    Luis R. Rodriguez authored
    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: default avatarLuis R. Rodriguez <mcgrof@suse.com>
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    de7ee5d8
sign-file.c 5.48 KB