Hi,
I am trying to use your extension but I am getting and error in authentication.
I have converted p12 to pem with openssl to avoid error of decoding RSA.
'PKCS12 format is not supported by the PyCrypto library. '
NotImplementedError: PKCS12 format is not supported by the PyCrypto library. Try converting to a "PEM" (openssl pkcs12 -in xxxxx.p12 -nodes -nocerts > privatekey.pem) or using PyOpenSSL if native code is an option.
But then I am receiving this exception
Crypto/Signature/PKCS1_v1_5.py", line 211, in EMSA_PKCS1_V1_5_ENCODE
digestAlgo = DerSequence([hash.oid, DerNull().encode()])
AttributeError: 'SHA256' object has no attribute 'oid'
Do you know which might be the cause? Any tip?
Thank you for your work! I hope I could contribute!!
Thanks!
On Saturday, January 10, 2015 at 8:52:01 PM UTC+1, Ben Field wrote: