This is a discussion on [openssl.org #1261] [PATCH] Binary S/MIME handling in openssl smime (0.9.8a) - Openssl ; Hi, Attached is a patch that enables binary "encoded" S/MIME signatures and encryption in OpenSSL smime-module. Messages can be signed and encrypted in binary form using the new "-transenc binary" command line option. This patch includes the "openssl smime -verify ...
Attached is a patch that enables binary "encoded" S/MIME signatures and
encryption in OpenSSL smime-module. Messages can be signed and
encrypted in binary form using the new "-transenc binary" command line
This patch includes the "openssl smime -verify on binary files"
patch submitted by Robert Reitenbach.
In addition to the changes in the older patch, the following
modifications have been made:
Added handling for the transenc parameter.
New functions BINARY_write_PKCS7 and BINARY_read_PKCS7.
New flag PKCS7_TRANSFER_ENCODING_BINARY.
New function codes PKCS7_F_BINARY_READ_PKCS7 and
Added proper error messages for unsupported content transfer
Added documentation for the transenc parameter.
Please note that if a Content-Transfer-Encoding header is not present,
the content is handled as base64. This is against the RFC but consistent
with the functionality of older versions of OpenSSL.
Please consider applying this patch to some upcoming version of OpenSSL.
Although there are still limitations in handling more complex MIME
messages, support for simple binary S/MIME messages would be nice to
have in OpenSSL.
OpenSSL Project http://www.openssl.org
Development Mailing List firstname.lastname@example.org
Automated List Manager email@example.com