From 3d90c4ab16805654a2e64682d94798971b80f484 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 14 Feb 2013 00:00:00 +0000 Subject: [PATCH] Disable keyring when using symmetric crypto --- git-remote-gcrypt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git-remote-gcrypt b/git-remote-gcrypt index 1f1e644..2bdfbfb 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -177,7 +177,8 @@ CLEARSIGN() DECRYPT() { (printf "%s" "$MASTERKEY" | \ - gpg -q --batch --passphrase-fd 0 --output - -d /dev/fd/3) 3<&0 + gpg -q --batch --no-default-keyring --keyring /dev/null \ + --passphrase-fd 0 --output - -d /dev/fd/3) 3<&0 } # Append $2 to $1 with a newline separator