RE: [PHP-DEV] OpenID enabling patch for OpenSSL and PHP 5
| From: | Andi Gutmans | Date: | Fri, 09 Mar 2007 07:57:02 +0000 |
| Subject: | RE: [PHP-DEV] OpenID enabling patch for OpenSSL and PHP 5 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28305@lists.php.net to get a copy of this message | ||
Doesn't seem like this ever got commited.
Can we include this in PHP 5.2.2? It doesn't break existing APIs so I
think it's a good idea.
Andi
> -----Original Message-----
> From: Wez Furlong [mailto:wez@omniti.com]
> Sent: Saturday, February 10, 2007 6:17 AM
> To: internals@lists.php.net
> Subject: [PHP-DEV] OpenID enabling patch for OpenSSL and PHP 5
>
> I'd like to tuck the attached patch into the PHP 5 branch.
> It provides the following functions, and does not modify the
> behavior of any of the others:
>
> openssl_bignum_from_bin
> openssl_bignum_from_hex
> openssl_bignum_from_dec
> openssl_bignum_to_string
>
> openssl_dh_generate_key
> openssl_dh_compute_key
> openssl_dh_get_params
> openssl_dh_generate_parameters
>
> openssl_dsa_verify
>
> These functions allow one to implement OpenID and TypeKey
> authentication schemes without resorting to writing crypto
> code in user-space PHP--aside from the speed advantage, you
> have the benefit of using the tried and trusted OpenSSL for
> your DH kex.
>
> --Wez.
>