Crypto.PublicKey.RSA.error: Plaintext too large

Peter Hansen peter at engcorp.com
Tue Aug 3 19:03:12 EDT 2004


Ajay Brar wrote:

> Peter Hansen wrote:
>> Ajay Brar wrote:
>>> I am getting an error - Crypto.PublicKey.RSA.error: Plaintext too 
>>> large - when verifying the signature of a document. ...
>>
>> Carriage Return/Line Feed problems?  Or trailing newline problems?
> 
> thats what i am going to investigate now. But even if there were 
> trailing newline or carriage return characters, shouldn't the verify 
> return false instead of giving the error.

I couldn't say, not having used that particular API.  What does
the documentation say it should do?  Always return just True or
False?  Does it not make reference to this type of error?

-Peter



More information about the Python-list mailing list