On Tue, Apr 26, 2005, Eddy Tan wrote:

> 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"
> 

I certainly wouldn't say that that was "essential". Its an optional hint as to
the PKCS#7 type of the message. OpenSSL currently doesn't include that header
but it is not hard to add it.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to