diff options
author | root <root@localhost> | 2013-02-14 00:00:00 +0000 |
---|---|---|
committer | root <root@localhost> | 2013-02-14 00:00:00 +0000 |
commit | 3d90c4ab16805654a2e64682d94798971b80f484 (patch) | |
tree | 32b1333fc045e20f5c0eaee80e8d55577522a305 /git-remote-gcrypt | |
parent | 9efc5d82bff445062ad9e5f13e173c22a7eca40d (diff) | |
download | git-remote-gcrypt-3d90c4ab16805654a2e64682d94798971b80f484.tar.gz |
Disable keyring when using symmetric crypto
Diffstat (limited to 'git-remote-gcrypt')
-rwxr-xr-x | git-remote-gcrypt | 3 |
1 files changed, 2 insertions, 1 deletions
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 |