>Could you try that in a console:
>import OpenSSL.crypto
>OpenSSL.crypto.load_pkcs12(open(CERT_PATH).read(), '')

>if that doesn't work I'll call it without the second argument

Here's the result : 

*******************************************************************************************

Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenSSL.crypto
>>> OpenSSL.crypto.load_pkcs12(open('/home/user/xmpp_lab_test.p12').read(), '')
<PKCS12 object at 0x7f48788485a0>
*******************************************************************************************


So opening with an empty 'string' works fine. So the password argument can 
default to '' rather than None.

Thanks.
_______________________________________________
Gajim-devel mailing list
Gajim-devel@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/gajim-devel

Reply via email to