]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Fix recryption error when using gpg-agent in text mode
authorrhatto <rhatto@ratatosk.fluxo.info>
Sun, 6 Apr 2014 23:37:42 +0000 (20:37 -0300)
committerrhatto <rhatto@ratatosk.fluxo.info>
Sun, 6 Apr 2014 23:37:42 +0000 (20:37 -0300)
ChangeLog
lib/keyringer/actions/recrypt

index 8e4d5c91037d2e63dc4bc3e2b1dc4f7416c3210a..73849ef06190099cee9b57997eb770538b76e986 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-04-06 - Silvio Rhatto <rhatto@riseup.net>
 
+       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"
index d374308a9c115c9619fabc619a8fffde65b03a3f..30c925493dc758495cc17d156b36ad6c82cc3798 100755 (executable)
@@ -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."