Frédéric HARDY <[EMAIL PROTECTED]> writes:

> I'm using openssl with php.

I'm not familiar with the PHP interface to OpenSSL, but I may
give you some clues.

> error:0406B06E:rsa routines:RSA_padding_add_none:data too large for key size

The RSA key must be longer than the data you try to encrypt with
it.

> error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not
> 01
> error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check failed

The encrypted data is not correctly padded.

-- 
Jostein Tveit ([EMAIL PROTECTED])
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to