From ba1e2734be2a7f0bf791ce3069d29a14472dd416 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sat, 8 Jul 2023 21:58:50 -0400 Subject: [PATCH] Re-implemented re-encryption termination warning Former-commit-id: 328eb0038e909a9831edce0f1b978323c491f4f5 Former-commit-id: 337b2de2b370e6d410a14f5cffcea6d1b3b26034 --- lib/stweak.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/stweak.py b/lib/stweak.py index ab46155..9cf8371 100644 --- a/lib/stweak.py +++ b/lib/stweak.py @@ -244,6 +244,11 @@ def refresh_encryption(): from shutil import move, rmtree from sshyp import decrypt, encrypt + # prompt for unlock and display do not close warning + decrypt(None) + curses_radio(['okay'], 'entry optimization may take some time - select "okay" to start - ' + 'do not terminate this process!') + # remove existing conflicts for _extension in ('.new', '.old'): if exists(f"{_directory}{_extension}"):