On Wed, Jan 24, 2007, Andrew V. Jelly wrote: > Hello openssl-users, > > > Have a problem with sending emails signed (S/MIME) using OpenSSL > > Post command: > > openssl smime -sign -text -in message.txt -out signed.txt -signer my.cert > -inkey my.key -certfile other.cert -from <[EMAIL PROTECTED]> > -to <[EMAIL PROTECTED]> > > Message successfully signed. > Sending message but email client (Mozilla, Outlook) says "message tempered" > > But if I use '-nodetach' option, everything works perfect for every > mail client. How do I make it work in detached format? How do I make > email client understand messages with separate text signed without > -nodetach option? Your help will be much appreciated >
Try deleting all CR characters from the output before sending it if you are using a Unix client to send the mail. Alternatively it is possible that the mail is being translated somewhere along the line. Look very closely at the raw test of the first part of the multipart/signed structure. If there are any extra or fewer blank lines or any change of any kind in there the signature is broken. 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]