[openssl-users] mail encryption with ecdsa cert

clou mail at iclou.ch
Fri Jan 26 15:13:18 UTC 2018


openssl 1.1.0.f
ecdsa 512 certificate

openssl cms -sign works perfect and sending an email.

For encryption and sending an email I just get an email with an attachment smime.p7m.

I use the following encryption command

openssl cms -encrypt \
        -recip cert.pem \
        -subject 'openssl encrypt' \
        -to email \
        -from email \
        -in msg.txt \
        -keyopt ecdh_kdf_md:sha256 \
        | \
        sendmail email


Any idea how I need do encrypt (or encrypt and sign) in order to get a proper email?

Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20180126/a8124803/attachment.html>


More information about the openssl-users mailing list