RSA in python

plahey at alumni.caltech.edu plahey at alumni.caltech.edu
Fri Feb 17 14:41:18 EST 2006


stupid question, but did you try:

rsa = M2Crypto.RSA.load_pub_key( file("pubkey.pem") )

It is not clear from the documentation what they want for "file" (and
because Python has no type declarations, you are left to guess...).

May not work... just thought I would ask.




More information about the Python-list mailing list