Hi All,
I generated a private key with:
openssl.exe req -x509 -nodes -days 365 -newkey rsa:1024 -keyout
sdgidfedapp11.corp.intuit.net.key -out
sdgidfedapp11.corp.intuit.net.crt
I can't figure out is how to use PyCrypto.RSA.construct with it
to decrypt something. This works however:
from M2Crypto import RSA
priv_key = RSA.load_key('private.key', get_password)
decrypted_key = priv_key.private_decrypt(base64.b64decode(enc_key),
RSA.pkcs1
_padding)
I am sure there is a way to do this with PyCrypto, anyone know how to
do it?
-Tim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---