Hey Steve,

When I create a mime message with mutt then pass it to openssl, the mime
message created in mutt contains date, to, from, and subject...but isn't
s/mime supposed to contain that?  If I create a mime message with all
the header information then sign that mime message with S/MIME with all
the header information will this cause a problem on some systems?  Or
should it be ok?!  Maybe there is an easier way to generate S/MIME
messages with attachments?!

Thanks.

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

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

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

The first part of a multipart/signed message is the data to be signed,
the
second the signature itself.

So that's perfectly normal: if it appended text/plain content type in
the
first part that would be wrong.

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