note 89202 added to function.openssl-pkcs7-sign
| From: | pavel at icewarp dot com | Date: | Thu, 26 Feb 2009 11:39:59 +0000 |
| Subject: | note 89202 added to function.openssl-pkcs7-sign | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151150@lists.php.net to get a copy of this message | ||
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
----
Server IP: 200.36.127.20
Probable Submitter: 84.19.75.98
----
Manual Page -- http://www.php.net/manual/en/function.openssl-pkcs7-sign.php
Edit -- https://master.php.net/note/edit/89202
Del: integrated -- https://master.php.net/note/delete/89202/integrated
Del: useless -- https://master.php.net/note/delete/89202/useless
Del: bad code -- https://master.php.net/note/delete/89202/bad+code
Del: spam -- https://master.php.net/note/delete/89202/spam
Del: non-english -- https://master.php.net/note/delete/89202/non-english
Del: in docs -- https://master.php.net/note/delete/89202/in+docs
Del: other reasons-- https://master.php.net/note/delete/89202
Reject -- https://master.php.net/note/reject/89202
Search -- https://master.php.net/manage/user-notes.php