From 4f8d088d0ec75e1a5ede75082c2e430556af56d7 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sun, 18 Jun 2023 00:26:51 -0400 Subject: [PATCH] Removed unused option for su-security Former-commit-id: d25ab089e078069b95a75482bab21999376e04c1 Former-commit-id: e02925d1e8446b4196bd529b092119e6039cdaa0 --- lib/stweak.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/stweak.py b/lib/stweak.py index 160e6a5..71357b4 100644 --- a/lib/stweak.py +++ b/lib/stweak.py @@ -372,7 +372,6 @@ def global_menu(_device_type, _top_message): _options.extend(['change gpg key', 're-configure ssh(ync)', 'change device name', '[OPTIONAL, RECOMMENDED] set custom text editor', '[OPTIONAL] enable/disable quick-unlock', - '[OPTIONAL, NOT IMPLEMENTED] su security mode', '[OPTIONAL] re-encrypt/optimize entries', '[OPTIONAL, NOT IMPLEMENTED] extensions and updates']) else: @@ -414,7 +413,7 @@ def global_menu(_device_type, _top_message): 'function,\nyou must first log in to the sshyp server and run:\n\nsshyp tweak\n\n' 'from there you can create a quick-unlock pin and add this device to the ' 'whitelist\n') - elif _choice == 7: + elif _choice == 6: _success = refresh_encryption() if _success == 1: _term_message = "\na backup of your previous entry directory has been created:\n\n" \ @@ -422,7 +421,7 @@ def global_menu(_device_type, _top_message): elif _success == 2: _term_message = '\n\u001b[38;5;9merror: re-encryption failed: ' \ 'entry directory not found\u001b[0m\n' - elif _choice > 5 and _choice != 7: # TODO update once displayed options are all implemented + elif _choice > 6: # TODO update once displayed options are all implemented _exit_signal = True curses_terminate(_term_message) except KeyboardInterrupt: