Implemented loading of json file

This commit is contained in:
2022-12-09 22:55:33 +01:00
parent 0831ab3448
commit 72765e280d
2 changed files with 18 additions and 5 deletions

View File

@@ -39,11 +39,13 @@ if __name__ == '__main__':
decrypt.setUserPassword(getpass())
print("Decrypting User File...")
try:
decrypt.decryptUserFile();
decrypt.setUserData();
break;
except:
print("Wrong password :(")
print("File encrypted :) ")
print("File decrypted :) ")
print("Please contact ")
print(decrypt.user_data)
exit()
print("Decrypting accumulated file...")
decrypt.setUserPassword(args.master_password)