commit:     e2636b51ef8d6a4245cdf5e481f28565c9b242f0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 13 06:38:22 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 13 06:38:22 2019 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=e2636b51

keyrings: Fetch all signatures properly

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 keyrings.inc.bash | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/keyrings.inc.bash b/keyrings.inc.bash
index 05d40ae..39a0aec 100644
--- a/keyrings.inc.bash
+++ b/keyrings.inc.bash
@@ -34,7 +34,9 @@ grab_keys() {
        [ "${#KEYSERVERS[@]}" -eq 0 ] && return
        while :; do
                for ks in "${KEYSERVERS[@]}" ; do
-                       timeout ${KEYSERVER_TIMEOUT} gpg --keyserver "$ks" -q 
--recv-keys "${remaining[@]}" || :
+                       timeout ${KEYSERVER_TIMEOUT} gpg \
+                               --keyserver-options 
no-import-clean,no-self-sigs-only \
+                               --keyserver "$ks" -q --recv-keys 
"${remaining[@]}" || :
                done
                missing=()
                for key in "${remaining[@]}"; do

Reply via email to