ID: 10681
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Network related
Operating system: Linux
PHP Version: 4.0 Latest CVS (05/05/2001)
Description: Fix for #9698 breaks more than it fixes
Sure. Here it is:
http://global.team17.com/php4-unsigned.patch
Works
From: [EMAIL PROTECTED]
Operating system: Linux
PHP version: 4.0 Latest CVS (05/05/2001)
PHP Bug Type: Network related
Bug description: Fix for #9698 breaks more than it fixes
That script run with PHP 4.0.5 prints:
208.247.106.187
d0f76abb
whereas with the latest CVS vers
ncrypt
openssl_public_decrypt
Cheers,
Sascha Kettler
---
Full Bug description available at: http://bugs.php.net/?id=10665
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL P
> On Fri, May 04, 2001 at 09:09:51PM +0100, Wez Furlong wrote:
> > On 2001-05-04 20:47:25, "Stig Venaas" <[EMAIL PROTECTED]> wrote:
> > > Even though it is 4 functions, I think users will find it easier to
> > > work with functions called openssl_public_encrypt,
> > > openssl_private_decrypt etc.
> > I've used SSLeay back in 1996 once, and then a few weeks ago for my
> patch.
> > You don't need to be an openssl expert, but as with all cryptography you
> > should have some basic understanding before using it.
>
> which is why i'm still confused on how you intend to get any of the
> openssl
> On 2001-05-04 20:47:25, "Stig Venaas" <[EMAIL PROTECTED]> wrote:
> > Even though it is 4 functions, I think users will find it easier to
> > work with functions called openssl_public_encrypt,
> > openssl_private_decrypt etc. It also separates them from possible
> > symmetric enryption later on.
> On 2001-05-04 20:21:28, "Sascha Kettler" <[EMAIL PROTECTED]> wrote:
> > Sounds ok, although I wouldn't call it openssl_key_* but openssl_asym_*
> > similar.
>
> Yeah, that sounds better.
>
> > I don't know what people would prefer:
[...]
> Even though it is 4 functions, I think users will find it easier to
> work with functions called openssl_public_encrypt,
> openssl_private_decrypt etc. It also separates them from possible
> symmetric enryption later on.
>
> How about returning the result like this:
>
> string openssl_pu
> On 2001-05-04 18:22:03, "Sascha Kettler" <[EMAIL PROTECTED]> wrote:
> > You won't need to pass the algorithm by an arg, as the key already
> contains
> > the algorithm identification (pkey->type). I haven't used any DSA
> encryption
> >
> On 2001-05-04 17:59:03, "Stig Venaas" <[EMAIL PROTECTED]> wrote:
> > followed up on that. It would be good if you and Sascha Kettler could
> > agree on how the API should be
>
> How about:
>
> openssl_key_encrypt(
> string data, // to enc
> On 2001-05-04 17:59:03, "Stig Venaas" <[EMAIL PROTECTED]> wrote:
> > This sounds good, please have a look at bug report 10665 by
> > [EMAIL PROTECTED], he has implemented RSA encryption, and [EMAIL PROTECTED]
> > followed up on that. It would be good if you
-rsa.patch
The new functions are:
openssl_private_encrypt
openssl_private_decrypt
openssl_public_encrypt
openssl_public_decrypt
Cheers,
Sascha Kettler
--
Edit Bug report at: http://bugs.php.net/?id=10665&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubsc
ID: 10538
User Update by: [EMAIL PROTECTED]
Old-Status: Assigned
Status: Closed
Bug Type: mcrypt related
Description: mcrypt_generic_init truncates key/iv upon first '\0'
Seems to be a duplicate of Bug #8839 and it is already fixed in CVS.
Previous Comments:
-
From: [EMAIL PROTECTED]
Operating system: Mandrake 7.2, Linux 2.2.19ow1
PHP version: 4.0.4pl1
PHP Bug Type: mcrypt related
Bug description: mcrypt_generic_init truncates key/iv upon first '\0'
Same happens in mcrypt_ecb, mcrypt_cbc, mcrypt_cfb and mcrypt_ofb too.
Script sh
ID: 10518
User Update by: [EMAIL PROTECTED]
Status: Assigned
Bug Type: mcrypt related
Description: mcrypt_generic is padding input when using cfb and ofb modes
Same bug also in php_mcrypt_do_crypt, here's the new patch:
--- php-4.0.4pl1/ext/mcrypt/mcrypt.cWed Nov 22 22:40:15 2000
+++ php-
From: [EMAIL PROTECTED]
Operating system: Mandrake 7.2, Linux 2.2.19ow1
PHP version: 4.0.4pl1
PHP Bug Type: mcrypt related
Bug description: mcrypt_generic is padding input when using cfb and ofb modes
When encrypting using a block cipher and cfb or ofb mode the
mcrypt_gener
16 matches
Mail list logo