summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-03 10:44:03 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-03 10:44:03 -0200
commitdbc0b92c6e32a0b9ca41e57aa58f76e61c71a9cd (patch)
tree055308e9e2665022293e2d0b164743fceed3c5b7 /lib
parentf534b40b7eb598cffcc9378c4520d5210552e0d5 (diff)
downloadkeyringer-dbc0b92c6e32a0b9ca41e57aa58f76e61c71a9cd.tar.gz
keyringer-dbc0b92c6e32a0b9ca41e57aa58f76e61c71a9cd.tar.bz2
Fix failure to properly decrypt the file in actions/decrypt (#80)
Diffstat (limited to 'lib')
-rwxr-xr-xlib/keyringer/actions/decrypt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/actions/decrypt b/lib/keyringer/actions/decrypt
index e17f0e0..7442b29 100755
--- a/lib/keyringer/actions/decrypt
+++ b/lib/keyringer/actions/decrypt
@@ -11,7 +11,7 @@ source "$LIB" read $* || exit 1
keyringer_get_file "$2"
# Decrypt
-$GPG --use-agent -d "$KEYDIR/$FILE"
+cat "$KEYDIR/$FILE" | $GPG --use-agent -d -
# Exit
exit "$?"