hello all,
I am using openssl smime to sign the body of an email.
When the body is in simple plain text format, it works
like a charm, but when the body is in MIME multipart
format (either with HTML or attachment), then the
signed email comes with a warning : Message has been
Tampered (when opened with M$ O/Express).
I have attached the body of the email which is used
for signing with openssl smime.
The command i use for this is :
# openssl smime -sign -in /root/body.txt \
-out /root/outfile.eml -passin file:/opt/passfile \
-signer /opt/file.pem
thanx for any pointers/help.
regards,
SANS
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0019_01C3BE5C.0C419880"
This is a multi-part message in MIME format.
------=_NextPart_000_0019_01C3BE5C.0C419880
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
hello
test in html=20
this is bold
this is blue
------=_NextPart_000_0019_01C3BE5C.0C419880
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4919.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>hello</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>test in html </FONT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>this is =
bold</STRONG></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>this is=20
blue</FONT></DIV></BODY></HTML>
------=_NextPart_000_0019_01C3BE5C.0C419880--