Make quick-unlock pin-length configuration helptext more clear

This commit is contained in:
2024-01-07 18:00:11 -05:00
parent 8ec2b31c23
commit c85640804a
+4 -2
View File
@@ -365,8 +365,10 @@ def whitelist_setup():
_half_length = int(len(_gpg_password_temp) / 2)
try:
_short_password_length = int(curses_text(f"quick unlock pin length ({_half_length}):\n\n\n\n\n(ctrl+g/enter "
"to confirm)\n\npin must be half the length of the gpg passphrase "
"or less\n\ncannot be a negative number"))
"to confirm)\n\nnote: do NOT enter your desired pin - this is simply "
"an integer used to determine the length of the auto-generated pin"
"\n\npin must be half the length of the gpg passphrase or less and "
"cannot be a negative number"))
if not 0 <= _short_password_length <= _half_length:
_short_password_length = _half_length
except ValueError: