From c85640804a9dac5779916fcb86334799fec81947 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sun, 7 Jan 2024 18:00:11 -0500 Subject: [PATCH] Make quick-unlock pin-length configuration helptext more clear --- lib/stweak.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/stweak.py b/lib/stweak.py index 1a797e2..7940423 100644 --- a/lib/stweak.py +++ b/lib/stweak.py @@ -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: