Running OpenSSL 0.9.7g 11 Apr 2005 on a HP server using HPUX 11.00 compiled with gcc, I'm seeing a problem with decrypting smime messages that have been encrypted with aes128. The problem is that at around the 4111 byte mark the message has a whole pile of nulls inserted and the rest of the message only appears in fragments.
We are successfully sending aes encrypted messages to another site which is using a different package to decrypt the messages. But if you encrypt a file as follows of 5192 bytes or more:
openssl smime -encrypt -in foo2 -from [EMAIL PROTECTED] -to [EMAIL PROTECTED] -subject "Encryp" -encrypt -aes128 cert.pem > foo3
then decrypt it
openssl smime -decrypt -in foo3 -recip cert.pem -inkey key.pem > foo4
The corruption occurs. This doesn't happen with des3 or rc2-128.
We'd really like to use aes for encryption, any suggestions how to fix this? Anyone else seen this problem?
-- Alex Heatley Unix System Administrator Systems Management Group Ministry of Social Development Wellington, New Zealand
-------------------------------
This email message and any attachment(s) is intended only for the person(s) or entity(entities) to whom it is addressed. The information it contains may be classified as IN CONFIDENCE and may be
legally privileged. If you are not the intended recipient any use,
disclosure or copying of the message or attachment(s) is strictly prohibited. If you have received this message in error please notify us immediately and destroy it and any attachment(s).
Thank you. The Ministry of Social Development accepts no
responsibility for changes made to this message or to any
attachment(s) after transmission from the Ministry.
-------------------------------
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]