Update passwordalchemy.py
parent
50f9442763
commit
62d5e72bc9
|
@ -45,7 +45,7 @@ class mainfuncs:
|
||||||
def fetch(args):
|
def fetch(args):
|
||||||
#send to db library fetch function
|
#send to db library fetch function
|
||||||
ccred=lib.db.fetch(args.domain)
|
ccred=lib.db.fetch(args.domain)
|
||||||
with open(args.privatekey) as pemfile:
|
with open(args.privatekey, "r") as pemfile:
|
||||||
#load rsa private key
|
#load rsa private key
|
||||||
privkey=rsa.PrivateKey._load_pkcs1_pem(pemfile.read())
|
privkey=rsa.PrivateKey._load_pkcs1_pem(pemfile.read())
|
||||||
#print credential
|
#print credential
|
||||||
|
|
Loading…
Reference in New Issue