php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #10665 Requesting additional functions in OpenSSL module (working patch available)
Submitted: 2001-05-04 10:47 UTC Modified: 2001-05-05 04:00 UTC
From: kettler at gmx dot net Assigned: wez (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.5 OS: Linux
Private report: No CVE-ID: None
 [2001-05-04 10:47 UTC] kettler at gmx dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-04 12:48 UTC] wez@php.net
I'll review it, and probably commit it.

--Wez.
 [2001-05-04 19:54 UTC] 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-05 04:00 UTC] kettler at gmx dot net
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?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 21:01:30 2024 UTC