From 45e3ca7d48699e3108b4b2c41db28600a4249606 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 13 Mar 2021 11:13:35 +0000 Subject: [PATCH] Manual password entry --- epicyon.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/epicyon.py b/epicyon.py index ccb9c3a3c..5e1032a8c 100644 --- a/epicyon.py +++ b/epicyon.py @@ -11,6 +11,7 @@ import shutil import sys import time import argparse +import getpass from person import getActorJson from person import createPerson from person import createGroup @@ -1793,8 +1794,10 @@ if args.notifications: sys.exit() if not args.password: - print('Specify a password with the --password option') - sys.exit() + args.password = getpass.getpass('Password: ') + if not args.password: + print('Specify a password with the --password option') + sys.exit() proxyType = None if args.tor or domain.endswith('.onion'):