Hi All,
I've encountered an issue with openssl/smime. It's seems to add CR
and LF even with -binary option specified.
Command used to sign unix text file.
$ openssl smime -sign -in unix-textfile -signer signer.pem -inkey mykey.pem
-outform SMIME -binary -out test.signed
Command used to retrieve the signed content.
$ openssl smime -verify -noverify -in text.signed -out text.unsigned -binary
The output file of "smime -verify" now has CR LF at the end of each line.
I've tried the above with the following two version of openssl and got the same
result.
OpenSSL 0.9.8e-fips-rhel5
OpenSSL 1.0.0a 1 Jun 2010
Thanks in advance,
fs
________________________________
This communication is intended only for the party to whom it is addressed, and
may contain information, which is privileged or confidential. Any other
delivery, distribution, copying or disclosure is strictly prohibited and is not
a waiver of privilege or confidentiality. If you have received this
communication in error, please notify the sender immediately by return
electronic mail and destroy the message.
NOTICE: Although this email and any attachments are believed to be free of any
virus or other defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to ensure that
it is virus free and no responsibility is accepted by Exchange Solutions Inc.
for any loss or damage arising in any way from its use.