[PYTHON-CRYPTO] m2crypto-0.13 problem

Marco Bizzarri m.bizzarri at ICUBE.IT
Wed Nov 17 17:44:35 CET 2004


Robert Penz wrote:
> Marco Bizzarri writes:
>
>> Perhaps I'm completely out of the problem, but I suspect it could be a
>> problem in the format of the file... could it be that it is in der
>> rather than in pem format?
>>
>> IIRC, we had a similiar problem, and we create an ad hoc method to
>> resolve the problem...
>
>
> but how explains that that it works in the non_bio version but not in the
> bio version of the function?

My only suggestions is that in the non_bio version it does:

m2.bio_new_file(p7file, 'r')

while you do

open('filename', 'rb')

I don't know if it makes any difference, however...

Regards
Marco



More information about the python-crypto mailing list