ID: 34301 Updated by: [EMAIL PROTECTED] 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