Use getpass for whitelist setup passphrase input

Former-commit-id: cf2b51588b2f79183e2bd263b4c3fa76d99b2b4e
Former-commit-id: 03b555137cbf646bbb22893d414a43fb3cd4753a
This commit is contained in:
2023-06-15 09:23:37 -04:00
parent 7fc84d5f9b
commit ebb12e731f
+2 -1
View File
@@ -402,7 +402,8 @@ def sync():
# PORT START WHITELIST-SERVER
# takes input from the user to set up quick-unlock password
def whitelist_setup():
_gpg_password_temp = str(input('\nfull gpg passphrase: '))
from getpass import getpass
_gpg_password_temp = str(getpass(prompt='\nfull gpg passphrase: '))
_half_length = int(len(_gpg_password_temp)/2)
try:
_short_password_length = int(input(f"\nquick unlock pin length (must be half the length of gpg password or "