lkml.org 
[lkml]   [2015]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: sign-file and detached PKCS#7 firmware signatures
Date
Luis R. Rodriguez <mcgrof@suse.com> wrote:

> There's a missing -binary argument here, other than that this works fine.

Good point.

> > >$PKCS7_MESSAGE_FILE_IN_DER_FORM
>
> I however cannot figure out how to use openssl to verify this signature.

Something like:

openssl smime -verify \
-in $PKCS7_MESSAGE_FILE_IN_DER_FORM \
-inform DER \
-content $FIRMWARE_BLOB_NAME \
-inkey $PRIVATE_KEY_FILE_IN_PEM_FORM \
-signer $X509_CERT_FILE_IN_PEM_FORM

I would guess.

David


\
 
 \ /
  Last update: 2015-05-19 11:41    [W:0.116 / U:5.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site