tags:

views:

21

answers:

1

Hi all. I am using this "key = RSA.gen_key(2048, 65537,genPass)" for RSA key generation, It is asking to enter a passphrase. How can i generate it without passphrase from user?and put some known passphrase automaticlly? Thanks.

A: 

If you got the RSA module from PyPi then it should be

import rsa
rsa.gen_keys(<key size in bits>)
jellybean
i need to insert passphrase (not from user,but automatically)
michael