Hi, I'm currently using OpenSSL to encrypt and decrypt SMIME messages.
A new request from our customer is the possibility to prevent storing decrypted plaintext on harddisk. My idea is now to decrypt the message on command line with "openssl.exe smime" without -out parameter. The response is stored in memory for further operations. This works fine for Text files and I'm very happy with it. But when working with binary data (e.g.: decrypting packed files to reduce network load) I observe changes in decrypted output that results in corrupt zip/gzip file. I've read in documentation that SMIME specification expects CRLF line ending and openssl will adapt this by default to every message when -binary flag is not set. In my case I use this flag for encryption and for decryption and this works when the output is saved to file by openssl. But on command line output CRLF resists regardless of the -binary flag. The current revision on customer side is 0.9.8k Any hints or ideas? Thanks for your help.