#34301 [Opn->Fbk]: ext/openssl: Add signing algorithm selection
| From: | pajoye@php.net | Date: | Sat, 21 Oct 2006 00:43:49 +0000 |
| Subject: | #34301 [Opn->Fbk]: ext/openssl: Add signing algorithm selection | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103831@lists.php.net to get a copy of this message | ||
ID: 34301
Updated by: pajoye@php.net
Reported By: diogoko at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Feature/Change Request
PHP Version: 4CVS-2005-08-30 (CVS)
-Assigned To:
+Assigned To: pajoye
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Algorithm selection support has been added, please try 5.2.
Previous Comments:
------------------------------------------------------------------------
[2005-08-30 03:11:45] diogoko at gmail dot com
Description:
------------
Add a signature_algo parameter to the openssl_sign and openssl_verify
functions. This parameter would specify the digest algorithm to be used
when signing or verifying a signature.
Currently, both functions are limited to the sha1 digest algorithm,
even thought the OpenSSL C library supports at least other three
algorithms (md2, md4, md5).
Actually, openssl_sign seems to have all that is needed to support a
(somehow currently ignored) signature_algo parameter, as can be seen in
the CVS. On the other hand, openssl_verify is hardcoded to only use
sha1.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34301&edit=1