note 108518 added to function.openssl-sign
| From: | wolfram dot thoma at googlemail dot com | Date: | Thu, 03 May 2012 07:56:21 +0000 |
| Subject: | note 108518 added to function.openssl-sign | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-187454@lists.php.net to get a copy of this message | ||
The openssl_sign() function seems to be incompatible with openssl comandline and openssl library.
For some reason it adds some bytes which lead to a "wrong signature length" error.
If you need to be compatible hashing and encrypting by our own is a feasable way...
Or in case you don't bother about calls to exec() just use the comandline tool direct. However,
besides testing purposes I wouldn't recomnd that.
----
Server IP: 69.147.83.197
Probable Submitter: 85.178.219.202
----
Manual Page -- http://www.php.net/manual/en/function.openssl-sign.php
Edit -- https://master.php.net/note/edit/108518
Del: integrated -- https://master.php.net/note/delete/108518/integrated
Del: useless -- https://master.php.net/note/delete/108518/useless
Del: bad code -- https://master.php.net/note/delete/108518/bad+code
Del: spam -- https://master.php.net/note/delete/108518/spam
Del: non-english -- https://master.php.net/note/delete/108518/non-english
Del: in docs -- https://master.php.net/note/delete/108518/in+docs
Del: other reasons-- https://master.php.net/note/delete/108518
Reject -- https://master.php.net/note/reject/108518
Search -- https://master.php.net/manage/user-notes.php