Req #61421 [NEW]: Missing SHA256,SHA512 families of signature algorithms
| From: | zedwoodnoreply at gmail dot com | Date: | Fri, 16 Mar 2012 19:35:05 +0000 |
| Subject: | Req #61421 [NEW]: Missing SHA256,SHA512 families of signature algorithms | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-168558@lists.php.net to get a copy of this message | ||
From:
Operating system: Ubuntu Linux
PHP version: 5.4.0
Package: OpenSSL related
Bug Type: Feature/Change Request
Bug description:Missing SHA256,SHA512 families of signature algorithms
Description:
------------
openssl_verify() takes as a parameter a signature algorithm. The current
list of values is here
http://us3.php.net/manual/en/openssl.signature-algos.php
The SHA256 and SHA512 families algorithms have been supported in openssl
for quite some time. RipeMD160 is also not included.
Test script:
---------------
http://pastebin.com/qdCyC0Pe
Expected result:
----------------
verified
Actual result:
--------------
PHP Notice: Use of undefined constant OPENSSL_ALGO_SHA256 - assumed
'OPENSSL_ALGO_SHA256' in verify_sig.php on line 18
notverified
--
Edit bug report at https://bugs.php.net/bug.php?id=61421&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61421&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61421&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61421&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=61421&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61421&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=61421&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=61421&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=61421&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=61421&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=61421&r=support
Expected behavior: https://bugs.php.net/fix.php?id=61421&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=61421&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=61421&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=61421&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61421&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61421&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=61421&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=61421&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=61421&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=61421&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=61421&r=mysqlcfg