I am using mpack to create the mime message, it looks like openssl is
putting S/MIME around the entire MIME message as if it were text...used
this command:
openssl smime -sign -inkey private/mykey.pem -signer mycert.pem -in
mimemessage -out new.mail

maybe the syntax is wrong?

Or is it supposed to be like:

MIME-Version: 1.0
Content-Type: ...

This is an S/MIME signed message

-------4DF5902840938

MIME MESSAGE HERE

-------4DF5902840938
Content-Type: application/x-pkcs7-signature...




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 11:04 AM
To: [email protected]
Subject: Re: openssl smime ability to create a multi-attachment message?

On Tue, Mar 29, 2005, Chevalier, Victor T. wrote:

> Does openssl support taking a mime message and doing this?  Or is
there
> something else I will need to convert a mime message to smime?
> 

The input to the smime command is expected to be in MIME format unless
you
specify -text in which case it adds text/plain headers.

However OpenSSL only does EOL=CRLF translation on the whole MIME
document by
default. If that is inappropriate you have to supply a canonical MIME
document
and turn off translation with the -binary option.

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                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to