[Gajim-devel] Re : Re : Re : Re : PKCS12 with password
Saleem Edah-Tally
nmset at yahoo.com
Tue Jul 26 22:33:36 CEST 2011
>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.
More information about the Gajim-devel
mailing list