Posted Bydavid on November 25, 19102 at 10:30:07:
Hello:
I'm sending signed and encrypted multipart messages, which include some attached GIF files, using Openssl. It works correctly on Outlook and Netscape Messenger, but in Lotus Notes I have a strange problem:
I'm using small GIF images. When the message contains four attached files, it works correctly. But if I add one more image, Lotus Notes can't decrypt the message. If the images have a smaller size, I can attach six files, but with seven it doesn't work. Finally, when the message size exceeds some limit, it crashes under Lotus Notes.
If I only sign the message and don't encrypt it, it works fine on Lotus. If I send a encrypted message like that from Outlook to Lotus it also works.
I am desperateeee!!! Please, can anybody tell me something about it? I'll be grateful for it!!
- The openssl script I'm using is like this:
openssl smime -sign -in MsgMultipart.txt -signer signer.pem -inkey signer.pem | openssl smime -encrypt -subject "Signed and encrypted multipart" -rc2-40 user.pem | sendmail -fsender@aaaa.com destination@aaaa.com
- The original message I build is like this: (MsgMultipart.txt file)
Content-Type: multipart/mixed; boundary="Comunicado"
--Comunicado
Content-Type: image/gif;
filename="1.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="1.gif"
R0lGODlhhAO0AYAAAO7/7gAAACH5BAEAAAAALAAAAACEA7QBAAL/hI+py+
...
R5M0S9M0TxM1U7MAAAAA
--Comunicado
Content-Type: image/gif;
name="2.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="2.gif"
R0lGODlhhAO0AYAAAO7/7gAAACH5BAEAAAAALAAAAACEA7QBAAL/hI+py+0Po5y02ouz3rz7D4bi
...
HxdyI1dyJ5dyK9dyLxdzM1dzN5dzO9dzPxd0Q1d0R5d0S9d0Txd1CwAAADvU
--Comunicado
Content-Type: image/gif;
name="3.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="3.gif"
R0lGODlhhAO0AYAAAO7/7gAAACH5BAEAAAAALAAAAACEA7QBAAL/hI+py+0Po5y02ouz3rz7D4bi
...
R5M0S9M0TxM1U7MAAAAA
--Comunicado--
Thanks a lot, and sorry for my english!