From 9218a6dfa42cc9a83d754d4c47b562a31102cf30 Mon Sep 17 00:00:00 2001 From: rhatto Date: Sun, 6 Apr 2014 20:37:42 -0300 Subject: Fix recryption error when using gpg-agent in text mode --- ChangeLog | 2 ++ lib/keyringer/actions/recrypt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8e4d5c9..73849ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2014-04-06 - Silvio Rhatto + Fix recryption error when using gpg-agent in text mode (#55) + Be more verbose on recrypt errors Adding "commit" action which is a wrapper around "git commit" diff --git a/lib/keyringer/actions/recrypt b/lib/keyringer/actions/recrypt index d374308..30c9254 100755 --- a/lib/keyringer/actions/recrypt +++ b/lib/keyringer/actions/recrypt @@ -16,7 +16,7 @@ function keyringer_recrypt { keyringer_set_recipients "$FILE" # Decrypt - decrypted="$($GPG --use-agent -d "$KEYDIR/$FILE" 2> /dev/null)" + decrypted="$($GPG --use-agent -d "$KEYDIR/$FILE")" if [ "$?" != "0" ]; then echo "Decryption error on $1." -- cgit v1.2.3