Re: m2crypto-0.13 problem

Marco Bizzarri <[email protected]>
Newsgroups gmane.comp.python.cryptography
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.