Hi,

Is it true that opensslīs missing something crucial on the
header īContent-Type:ī when creating smime message?
Doing below command:

openssl smime -encrypt -des3 -from '[EMAIL PROTECTED]' \
-to '[EMAIL PROTECTED]' -subject 'test' \
-in /tmp/body.txt -out /tmp/last.enc  user_cert.pem

Results in (only necessary headers shown, anything else
eliminated):
    MIME-Version: 1.0
    Content-Disposition: attachment; filename="smime.p7m"
    Content-Type: application/x-pkcs7-mime; name="smime.p7m"
    Content-Transfer-Encoding: base64

Look at the above Content-Type header, mutt complains with that
header, but everything seems ok after manually editing the
header and changed it into:
    Content-Type: application/x-pkcs7-mime;    
            smime-type=enveloped-data;
            name="smime.p7m"

Thanks,
Eddy


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to