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

2012-03-21 Thread Alexey Shein
21 марта 2012 г. 3:34 пользователь Sergey Ryazanov ryazanov@gmail.com написал: 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

Re: [PHP-DEV] Q: ZEND_HANDLE_STREAM and wincache extension on PHP 5.4

2012-03-21 Thread Dmitry Stogov
Hi Eric, Sorry, I don't read @internals every day. Please CC me if you need quick answer. Really I don't see the reason why wincache stores the PHP file source. Storing compiled opcodes must be enough. To avoid re-reading of already cached file. opcode cache should override

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

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

Re: [PHP-DEV] [PATCH] readline extension bug fixes and enhancements

2012-03-21 Thread Osama Abu Elsorour
Hello On Mar 20, 2012, at 9:43 PM, Johannes Schlüter wrote: Have you read Nikita's and my comments on your mail from last week? I just did. There was a problem with my mailing list subscription (wasn't confirmed) so I thought it didn't go through. But the good thing is that I had ported

Re: [PHP-DEV] Q: ZEND_HANDLE_STREAM and wincache extension on PHP 5.4

2012-03-21 Thread Gustavo Lopes
On Wed, 21 Mar 2012 07:46:31 +0100, Dmitry Stogov dmi...@zend.com wrote: Anyway, I don't see a way to fix PHP to support custom streams without BC break, because zend_streams doesn't provide handlers for seeking. Couldn't you at least check whether e.g. the closer function pointer is

Re: [PHP-DEV] TSRMLS_* keywords in PHP source

2012-03-21 Thread Yannick Komotir
Hi, You can find some additional information in this blog post http://blog.golemon.com/2006/06/what-heck-is-tsrmlscc-anyway.html Regards, 2012/3/19 Barbu Paul Gheorghe paullik.p...@gmail.com Hello! What role does the keywords TSRMLS_CC, TSRMLS_DC, TSRMLS_D have when passed along with a

[PHP-DEV] Re: com php-src: Fixed bug #61461 (missing checks around malloc() calls).: NEWS sapi/cli/php_cli_server.c

2012-03-21 Thread David Soria Parra
On 2012-03-21, Ilia Alshanetsky il...@php.net wrote: Commit:9dcfb8c73fd639485182497ae5a8fc7d7ca7eb11 Author:Ilia Alshanetsky ili...@php.net Tue, 20 Mar 2012 21:07:08 -0400 Parents: f3f76e5e8af265cd59d8edb7fb0827be6abc9a5a Branches: PHP-5.4 Please merge this into master in

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

2012-03-21 Thread Alexey Shein
21 марта 2012 г. 12:43 пользователь Sergey Ryazanov ryazanov@gmail.com написал: 21 марта 2012 г. 10:27 пользователь Alexey Shein con...@gmail.com написал: 21 марта 2012 г. 3:34 пользователь Sergey Ryazanov ryazanov@gmail.com написал: Hello all. Openssl starting from version 0.9.8

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

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 ryazanov@gmail.com написал: 21 марта 2012 г. 10:27 пользователь Alexey Shein con...@gmail.com написал: 21 марта 2012 г. 3:34 пользователь Sergey

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 ryazanov@gmail.com 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

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 maintainers, I've