diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/keyringer/decrypt | 2 | ||||
-rwxr-xr-x | share/keyringer/encrypt | 2 | ||||
-rwxr-xr-x | share/keyringer/recrypt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/share/keyringer/decrypt b/share/keyringer/decrypt index 95ea332..ac4e25d 100755 --- a/share/keyringer/decrypt +++ b/share/keyringer/decrypt @@ -20,4 +20,4 @@ elif [ ! -f "$KEYDIR/$FILE" ]; then exit 1 fi -gpg -d $KEYDIR/$FILE +gpg --use-agent -d $KEYDIR/$FILE diff --git a/share/keyringer/encrypt b/share/keyringer/encrypt index ba3d2d0..396ad4d 100755 --- a/share/keyringer/encrypt +++ b/share/keyringer/encrypt @@ -27,7 +27,7 @@ fi # Encrypt mkdir -p $KEYDIR/`dirname $FILE` echo "Type your message and finish your input with EOF (Ctrl-D)." -gpg --armor -e -s $(keyringer_recipients $RECIPIENTS) - > $KEYDIR/$FILE +gpg --use-agent --armor -e -s $(keyringer_recipients $RECIPIENTS) - > $KEYDIR/$FILE # Stage if [ -d "$BASEDIR/.git" ]; then diff --git a/share/keyringer/recrypt b/share/keyringer/recrypt index 1b35224..cfe3534 100755 --- a/share/keyringer/recrypt +++ b/share/keyringer/recrypt @@ -25,4 +25,4 @@ elif [ ! -f "$KEYDIR/$FILE" ]; then exit 1 fi -gpg -d $KEYDIR/$FILE | gpg --armor -e -s $(keyringer_recipients $RECIPIENTS) > $KEYDIR/$FILE +gpg --use-agent -d $KEYDIR/$FILE | gpg --use-agent --armor -e -s $(keyringer_recipients $RECIPIENTS) > $KEYDIR/$FILE |