Update passwordalchemy.py

main
witchdocsec 2024-05-29 02:59:47 +01:00 committed by GitHub
parent 50f9442763
commit 62d5e72bc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class mainfuncs:
def fetch(args):
#send to db library fetch function
ccred=lib.db.fetch(args.domain)
with open(args.privatekey) as pemfile:
with open(args.privatekey, "r") as pemfile:
#load rsa private key
privkey=rsa.PrivateKey._load_pkcs1_pem(pemfile.read())
#print credential