PHP 4.0 Bug #10665 Updated: Requesting additional functions in OpenSSL module (working patch available)
| From: | kettler at gmx dot net | Date: | Sat, 05 May 2001 08:00:54 +0000 |
| Subject: | PHP 4.0 Bug #10665 Updated: Requesting additional functions in OpenSSL module (working patch available) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53990@lists.php.net to get a copy of this message | ||
ID: 10665
User Update by: kettler@gmx.net
Old-Status: Feedback
Status: Closed
Bug Type: Feature/Change Request
Description: Requesting additional functions in OpenSSL module (working patch available)
Yes, CVS version works fine (and is compatible with my existing scripts).
Now I don't have to apply that many patches to the next version of PHP ;-)
PS: It is possible to add my name to CREDITS (not required, but would be nice) or would that be
cheeky?
Previous Comments:
---------------------------------------------------------------------------
[2001-05-04 19:54:05] wez@php.net
It's now in CVS; please verify that it works and I'll close this report.
Thanks for the patch!
--Wez.
---------------------------------------------------------------------------
[2001-05-04 12:48:31] wez@php.net
I'll review it, and probably commit it.
--Wez.
---------------------------------------------------------------------------
[2001-05-04 10:47:13] kettler@gmx.net
I'd like to use more of the RSA functions that OpenSSL provides. What I needed most was the
possibility to encrypt something with your private key directly. I've made a patch that works
fine for me and might be of use to others, too. I only tested it with OpenSSL 0.9.6a.
As the patch is 7kb, I just put the link to it here: http://global.team17.com/php-4.0.5-rsa.patch
The new functions are:
openssl_private_encrypt
openssl_private_decrypt
openssl_public_encrypt
openssl_public_decrypt
Cheers,
Sascha Kettler
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10665