summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-05-16 15:48:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-05-16 15:48:04 -0300
commite32a1a5bc4d7331e129df173260fc754ff20c0da (patch)
tree50497ce329eb530ec360a49b075d2a2210429a75
parent845e593c84661f05576f96da9e384a671ca56e53 (diff)
downloadkeyringer-e32a1a5bc4d7331e129df173260fc754ff20c0da.tar.gz
keyringer-e32a1a5bc4d7331e129df173260fc754ff20c0da.tar.bz2
Minor UI enhancements at open/edit actions
-rwxr-xr-xlib/keyringer/actions/edit5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/keyringer/actions/edit b/lib/keyringer/actions/edit
index 63017d5..3ccf977 100755
--- a/lib/keyringer/actions/edit
+++ b/lib/keyringer/actions/edit
@@ -39,7 +39,8 @@ fi
# Prompt
echo "Press any key to open the decrypted data with $APP, Ctrl-C to abort"
echo "WARNING: please make sure that $APP doesn't leak data to external applications or files"
-read key
+echo "Press ENTER to continue"
+read -s key
$APP "$TMPWORK"
# Wait for background process to finish
@@ -53,7 +54,7 @@ wait
# of the unencrypted file in the application, which can lead to information leakage if the user
# saves the file and leaves the editor.
echo "Press any key when done using the file and you're sure that $APP is closed."
-read -n 1
+read -s -n 1
# Encrypt again
export KEYRINGER_ADD_EXTENSION=false