On Fri, Aug 22, 2014, Dalton Porter wrote:

> I have some signed files that I would like to modify and then re-sign. I need 
> to recover the signed_file to the unsigned state. The files were signed like 
> this:
> 
> openssl smime -sign -in myfile.txt -out signed_file -signer mycert.crt -inkey 
> mykey.key -certfile my-chain.crt -outform der -nodetach -passin 
> file:mypass.pwd
> 
> The file is signed, but not encrypted.
> Is there an openssl command that will do the recovery? The signing process 
> seems to have added a binary header and footer. Could I just strip off the 
> header and footer of the signed files? 
> 

The -verify option will verify the signature and output the original signed
content.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to