Re: [PHP-DEV] ECDSA support in the openssl extension

2012-03-21 Thread Johannes Schlüter
On Wed, 2012-03-21 at 18:44 +0500, Alexey Shein wrote: > > Btw is 5.3 branch in development state or only maintenance? If new > > feature could be added to the 5.3 branch. I preferred upgrade from > > 5.3.10 to 5.3.11 instead of 5.3.10 -> 5.4. > > > > Can't say for sure, it's better ask maintainer

Re: [PHP-DEV] ECDSA support in the openssl extension

2012-03-21 Thread Pierre Joye
hi! On Tue, Mar 20, 2012 at 11:34 PM, Sergey Ryazanov wrote: > Is any chance that EVP_PKEY_EC check would be added in the next > release? Could I do something to speed up ECDSA adding process? Sure thing! I won't have the time to do it soonish but if you can provide a patch or a pull request (w

Re: [PHP-DEV] ECDSA support in the openssl extension

2012-03-21 Thread David Soria Parra
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/21/2012 02:44 PM, Alexey Shein wrote: > 21 марта 2012 г. 12:43 пользователь Sergey Ryazanov > написал: >> 21 марта 2012 г. 10:27 пользователь Alexey Shein >> написал: >>> 21 марта 2012 г. 3:34 пользователь Sergey Ryazanov >>> написал: H

Re: [PHP-DEV] ECDSA support in the openssl extension

2012-03-21 Thread Antony Dovgal
On 03/21/2012 02:34 AM, Sergey Ryazanov wrote: After some time of digging I discover that this error is rises in the php_openssl_is_private_key() in the openssl.c file. This function simply don't includes check for EVP_PKEY_EC. All signature related actions are performed by OpenSSL library by sel

Re: [PHP-DEV] ECDSA support in the openssl extension

2012-03-21 Thread Alexey Shein
21 марта 2012 г. 12:43 пользователь Sergey Ryazanov написал: > 21 марта 2012 г. 10:27 пользователь Alexey Shein написал: >> 21 марта 2012 г. 3:34 пользователь Sergey Ryazanov >> написал: >>> Hello all. >>> >>> Openssl starting from version 0.9.8 supports the ECDSA signature >>> algorithm. Return

Re: [PHP-DEV] ECDSA support in the openssl extension

2012-03-21 Thread Sergey Ryazanov
21 марта 2012 г. 10:27 пользователь Alexey Shein написал: > 21 марта 2012 г. 3:34 пользователь Sergey Ryazanov > написал: >> Hello all. >> >> Openssl starting from version 0.9.8 supports the ECDSA signature >> algorithm. Return value of the openssl_get_md_methods() also includes >> "ecdsa-with-SH

Re: [PHP-DEV] ECDSA support in the openssl extension

2012-03-20 Thread Alexey Shein
21 марта 2012 г. 3:34 пользователь Sergey Ryazanov написал: > Hello all. > > Openssl starting from version 0.9.8 supports the ECDSA signature > algorithm. Return value of the openssl_get_md_methods() also includes > "ecdsa-with-SHA1" string. But if I call openssl_sign() with EC key > then I have a