mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 08:37:14 -04:00
Re-implemented re-encryption termination warning
Former-commit-id: 328eb0038e909a9831edce0f1b978323c491f4f5 Former-commit-id: 337b2de2b370e6d410a14f5cffcea6d1b3b26034
This commit is contained in:
@@ -244,6 +244,11 @@ def refresh_encryption():
|
|||||||
from shutil import move, rmtree
|
from shutil import move, rmtree
|
||||||
from sshyp import decrypt, encrypt
|
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
|
# remove existing conflicts
|
||||||
for _extension in ('.new', '.old'):
|
for _extension in ('.new', '.old'):
|
||||||
if exists(f"{_directory}{_extension}"):
|
if exists(f"{_directory}{_extension}"):
|
||||||
|
|||||||
Reference in New Issue
Block a user