#50974 [NEW]: A public key can't be extracted from a private one

From: Date: Tue, 09 Feb 2010 16:09:57 +0000
Subject: #50974 [NEW]: A public key can't be extracted from a private one
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3845@lists.php.net to get a copy of this message
From: willy dot weisz at univie dot ac dot at Operating system: irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: A public key can't be extracted from a private one Description: ------------ The manual page says that the parameter "certificate" can be a private key (alternative 3). This is pure nonsense: A public key can't be extracted from a private key (nor is it possible the other way round), that would make the concept of Public Key Cryptography absurd. This is a bug report against the manual page, not the code!!! Reproduce code: --------------- --- From manual page: function.openssl-pkey-get-public#Parameters --- Expected result: ---------------- A correct manual page. Actual result: -------------- A manual page with an absurd alternative 3 for the parameter "certificate". -- Edit bug report at http://bugs.php.net/?id=50974&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50974&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50974&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50974&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50974&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50974&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50974&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50974&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50974&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50974&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50974&r=support Expected behavior: http://bugs.php.net/fix.php?id=50974&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50974&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50974&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50974&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50974&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50974&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50974&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50974&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50974&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50974&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50974&r=mysqlcfg

« previous php.doc.bugs (#3845) next »