From: Silvio Rhatto Date: Fri, 3 Nov 2017 12:44:03 +0000 (-0200) Subject: Fix failure to properly decrypt the file in actions/decrypt (#80) X-Git-Tag: 0.5.2~3 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dbc0b92c6e32a0b9ca41e57aa58f76e61c71a9cd;p=keyringer.git Fix failure to properly decrypt the file in actions/decrypt (#80) --- 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 "$?"