aboutsummaryrefslogtreecommitdiff
path: root/share/keyringer/edit
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-22 13:05:22 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-22 13:05:22 -0200
commitff19dbc8518d5e7f7a6535f7bf651a245de51d35 (patch)
treeb8ec6552c494e01333422033a2b3860ccb3f1710 /share/keyringer/edit
parent4d5b7821417d853b6a86fc794cc684ecc846ad6a (diff)
downloadkeyringer-ff19dbc8518d5e7f7a6535f7bf651a245de51d35.tar.gz
keyringer-ff19dbc8518d5e7f7a6535f7bf651a245de51d35.tar.bz2
Custom keyid support
Diffstat (limited to 'share/keyringer/edit')
-rwxr-xr-xshare/keyringer/edit4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/keyringer/edit b/share/keyringer/edit
index 47945f3..73a59d9 100755
--- a/share/keyringer/edit
+++ b/share/keyringer/edit
@@ -17,7 +17,7 @@ echo "Make sure that $BASEDIR is atop of an encrypted volume."
keyringer_set_tmpfile edit
# Decrypt the information to the file
-gpg --yes -o "$TMPWORK" --use-agent -d "$KEYDIR/$FILE"
+$GPG --yes -o "$TMPWORK" --use-agent -d "$KEYDIR/$FILE"
# Prompt
echo "Press any key to open the decrypted data in $EDITOR, Ctrl-C to abort"
@@ -25,7 +25,7 @@ read key
"$EDITOR" "$TMPWORK"
# Encrypt again
-gpg --yes -o "$KEYDIR/$FILE" --use-agent --armor -e -s $(keyringer_recipients "$RECIPIENTS") "$TMPWORK"
+$GPG --yes -o "$KEYDIR/$FILE" --use-agent --armor -e -s $(keyringer_recipients "$RECIPIENTS") "$TMPWORK"
# Remove temp file
keyringer_unset_tmpfile "$TMPWORK"