diff options
author | Joey Hess <joey@kitenet.net> | 2013-09-26 15:45:07 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-09-26 15:45:07 -0400 |
commit | 6a0204ead701904418528fe9c3bf93ae15aa3402 (patch) | |
tree | fb7b30a669baaa055b7401de666202b17225c800 | |
parent | 36b808723aea6c8c509d6c974072a6de69692f60 (diff) | |
download | git-remote-gcrypt-6a0204ead701904418528fe9c3bf93ae15aa3402.tar.gz |
stop using --fast-list as it sometimes omits fingerprints
Closes https://github.com/blake2-ppc/git-remote-gcrypt/issues/8
-rwxr-xr-x | git-remote-gcrypt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt index 67b0f67..73a6847 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -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"*} |