mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-03 07:37:16 -04:00
Fixed quick-unlock configuration looking for an integer as input
This commit is contained in:
+3
-3
@@ -306,9 +306,9 @@ def tweak(): # runs configuration wizard
|
|||||||
open(f"{path.expanduser('~/.config/sshyp/devices/')}{_device_id}", 'w')
|
open(f"{path.expanduser('~/.config/sshyp/devices/')}{_device_id}", 'w')
|
||||||
|
|
||||||
# quick-unlock configuration
|
# quick-unlock configuration
|
||||||
print(f"{_divider}\nthis allows you to use a shorter version of your gpg key password and\n"
|
print(f"{_divider}this allows you to use a shorter version of your gpg key password and\n"
|
||||||
f"requires a constant connection to your sshyp server to authenticate\n")
|
f"requires a constant connection to your sshyp server to authenticate")
|
||||||
_sshyp_data += [int(input('\nenable quick-unlock? (y/N) ').lower())]
|
_sshyp_data += [input('\nenable quick-unlock? (y/N) ').lower()]
|
||||||
if _sshyp_data[3] == 'y':
|
if _sshyp_data[3] == 'y':
|
||||||
print(f"\nquick-unlock has been enabled client-side - in order for this device to be able to read "
|
print(f"\nquick-unlock has been enabled client-side - in order for this device to be able to read "
|
||||||
f"entries,\nyou must first login to the sshyp server and run:\n\nsshyp whitelist setup "
|
f"entries,\nyou must first login to the sshyp server and run:\n\nsshyp whitelist setup "
|
||||||
|
|||||||
Reference in New Issue
Block a user