php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #34301 ext/openssl: Add signing algorithm selection
Submitted: 2005-08-30 03:11 UTC Modified: 2006-10-28 01:00 UTC
From: diogoko at gmail dot com Assigned: pajoye (profile)
Status: No Feedback Package: Feature/Change Request
PHP Version: 4CVS-2005-08-30 (CVS) OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: diogoko at gmail dot com
New email:
PHP Version: OS:

 

 [2005-08-30 03:11 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-21 00:43 UTC] pajoye@php.net
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.
 [2006-10-28 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 23:01:28 2024 UTC