Hi,
For one of our customer I'm trying to test RSA public key encryption for file transfer. The common setup is windos7 & 8 as 64bit system & OpenSSL 0.9.8k (but 0.9.8y & 1.0.1e shows the same problem). Now I see a problem by decrypting large files with OpenSSL. Mainly we use openssl smime for encryption and decryption since it works fine for our purpose. - openssl.exe smime -encrypt -outform DER -des3 -binary -in LargeFile.dat -out LargeFile.dat.en Receip.cer - openssl.exe smime -decrypt -inform DER -in LargeFile.dat.en -binary -inkey PrivateKey.der -passin file:digest.key While encryption works, decryption seems to have problems with encrypted files larger 1.48 GB. Right after the start I got the following messages: Error reading S/MIME message 11992:error:07069041:memory buffer routines:BUF_MEM_grow_clean:malloc failure:.\crypto\buffer\buffer.c:169: 11992:error:0D06B041:asn1 encoding routines:ASN1_D2I_READ_BIO:malloc failure:.\crypto\asn1\a_d2i_fp.c:242: The used key has 4096 bits. I've seen on the News page in section "Major changes between OpenSSL 0.9.7g and OpenSSL 0.9.8" that files large 2GB might be supported now. Could you help me to solve the problem? Possibly smime is not the correct module. Thanks in advance. Best regards, Marco Marco Köllner Application Developer fon +49 (0) 7062.9565-17 TMN Systemberatung GmbH Unsere Blogs<http://blogs.tmn-net.com/> | Unsere Website<http://www.tmn-systemberatung.de/> [cid:[email protected]] TMN Systemberatung GmbH | Schwabstr. 7 | 74360 Ilsfeld | Germany | fon +49 (0) 7062.9565-0 | fax +49 (0) 7062.9565-19 Eingetragen am Amtsgericht Stuttgart, HRB 106526 | Geschäftsführer: Armin Neudert, Wolf-Michael Niethammer Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren und die unbefugte Weitergabe dieser E-Mail sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
<<inline: image001.png>>
<<inline: image002.png>>
