« Return to Thread: No keyphrase asked when using CMS compression + signing

No keyphrase asked when using CMS compression + signing

by Willem Bos :: Rate this Message:

Reply to Author | View in Thread

Hi all,

I'm trying to compress + sign + encrypt files using the following command line :

openssl cms -compress -sign -in datafile.txt -nodetach -signer
signer.crt -inkey private.key -outform DER |\
openssl cms -encrypt -binary -des3 -outform DER -out
datafile.txt.encrypted addressee.crt

When I leave the `-compress` option out openssl asks me for the
private key passphrase. With the `-compress` option added no
passphrase is asked.

I tried openssl versions 0.9.8.k, 1.0.0beta1 and 1.0.0beta1 all with
the same result.

What am I missing?

Regards,
Willem.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@...
Automated List Manager                           majordomo@...

 « Return to Thread: No keyphrase asked when using CMS compression + signing