]> Nutra Git (v1) - gamesguru/git-remote-gcrypt.git/commitdiff
stop using --fast-list as it sometimes omits fingerprints
authorJoey Hess <joey@kitenet.net>
Thu, 26 Sep 2013 19:45:07 +0000 (15:45 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 26 Sep 2013 19:45:07 +0000 (15:45 -0400)
Closes https://github.com/blake2-ppc/git-remote-gcrypt/issues/8

git-remote-gcrypt

index 67b0f67c9eb214d1ee2bb78324b3de5fb68b8763..73a6847885e77e39e4fd108e03b5799403263140 100755 (executable)
@@ -407,8 +407,7 @@ read_config()
 
        for recp_ in $conf_part
        do
-               filter_to @r_keyinfo "pub*" \
-                       "$(gpg --with-colons --fast-list -k "$recp_")"
+               filter_to @r_keyinfo "pub*" "$(gpg --with-colons -k "$recp_")"
                isnull "$r_keyinfo" || isnonnull "${r_keyinfo##*"$Newline"*}" ||
                echo_info "WARNING: '$recp_' matches multiple keys, using one"
                r_keyinfo=${r_keyinfo%%"$Newline"*}