Skip to content

Commit

Permalink
Fixed re-encryption not being possible in offline mode
Browse files Browse the repository at this point in the history
Former-commit-id: f608b13
Former-commit-id: 0c5f542
  • Loading branch information
rwinkhart committed Jul 13, 2023
1 parent f930ffe commit 185baec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stweak.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def quick_unlock_config(_default):

# re-encrypt/optimize all entries
def refresh_encryption():
_directory = sshyp_data.get('SSHYNC', 'local_dir').rstrip('/')
_directory = f"{home}/.local/share/sshyp"

# warn the user of potential data loss and prompt to continue
_proceed = curses_radio(('no', 'yes'), "WARNING: proceeding with this action will remove/overwrite any directories"
Expand Down

0 comments on commit 185baec

Please sign in to comment.