M2Crypto RSA.gen_key - feed a password from Python code

Posted by user307015 on Stack Overflow See other posts from Stack Overflow or by user307015
Published on 2010-04-01T15:22:45Z Indexed on 2010/04/02 4:13 UTC
Read the original article Hit count: 399

Filed under:

Hi,

RSA.gen_key function always asks for password when it's used to generate keys. Is there a way to feed it the password from the python code instead of typing it manually?

Thanks,

-R

© Stack Overflow or respective owner

Related posts about m2crypto