Update passwordalchemy.py
parent
b3851a91ee
commit
728ee67f9d
|
@ -9,7 +9,7 @@ class mainfuncs:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def genkeys(args):
|
def genkeys(args):
|
||||||
#generate keypair
|
#generate keypair
|
||||||
(pubkey, privkey) = rsa.newkeys(900)
|
(pubkey, privkey) = rsa.newkeys(2048)
|
||||||
#if a key is already present
|
#if a key is already present
|
||||||
if args.oldprivatekey:
|
if args.oldprivatekey:
|
||||||
with open(args.oldprivatekey,"r") as pemfile:
|
with open(args.oldprivatekey,"r") as pemfile:
|
||||||
|
|
Loading…
Reference in New Issue