Re: mail encryption with ecdsa cert

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26 Jan 2018, at 18:55, Viktor Dukhovni <openssl-users@xxxxxxxxxxxx> wrote:

This requires a pipeline of two cms(1) commands, one to sign and other
to encrypt (S/MIME is generally a sign-then-encrypt encapsulation).
The inner signed content would be the just the payload no mail headers.

openssl cms -sign \
        -in msg.txt \
        -inkey key.pem \
        -signer pub.pem \
        -text \
        | \
openssl cms -encrypt \
        -recip pub.pem \
        -subject 'openssl signed and encrypt' \
        -to email \
        -from email \
        | \
        sendmail email

With this I still get the same result, an smime.p7m attachment which can not be opened.

Please note, using the same certificate/key in OSX mail app for sign and encrypt works perfect.

Any help is very much appreciate as I already spent 3 evening with reading/&fiddling around with the different parameters :-)

Thanks so much!
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux