note 89202 rejected from function.openssl-pkcs7-sign by thiago
| From: | thiago@php.net | Date: | Thu, 26 Feb 2009 12:21:27 +0000 |
| Subject: | note 89202 rejected from function.openssl-pkcs7-sign by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151155@lists.php.net to get a copy of this message | ||
Note Submitter: pavel at icewarp dot com
----
Yes I also find a problem with LF and CRLF.
Enveloped headers are separated with LF only which is wrong.
Replacing LF to CRLF fixes the problem.
Another problem is, that if you do not add a header-part
; charset="Charset of the message to be signed"
to the Content-Type header generated by openssl_pkcs7_sign, the message would never behave as
reliable ( says Digital id does not match sender, DigitalID : my@mail.dom ) in Outlook Express and
maybe also in other clients....
Can this be fixed ? Thanks