From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7B4B015808B for ; Tue, 8 Feb 2022 06:26:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78B55E0769; Tue, 8 Feb 2022 06:26:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 04618E0769 for ; Tue, 8 Feb 2022 06:26:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 92427342CFD for ; Tue, 8 Feb 2022 06:26:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 24197287 for ; Tue, 8 Feb 2022 06:26:38 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1644301546.2b318470ffde8ffde7b105e1fce28c6ab3653715.robbat2@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: keyrings.inc.bash X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 2b318470ffde8ffde7b105e1fce28c6ab3653715 X-VCS-Branch: master Date: Tue, 8 Feb 2022 06:26:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e005d4b1-5ae8-407e-bfa5-126689c57d5d X-Archives-Hash: 60b6fa25eae163b3e28d51dc1f240bbc commit: 2b318470ffde8ffde7b105e1fce28c6ab3653715 Author: Robin H. Johnson gentoo org> AuthorDate: Tue Feb 8 06:25:38 2022 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Tue Feb 8 06:25:46 2022 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=2b318470 keyrings.inc.bash: try to prefer local keyserver for speed Signed-off-by: Robin H. Johnson gentoo.org> keyrings.inc.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/keyrings.inc.bash b/keyrings.inc.bash index d19f0ad..bf45a86 100644 --- a/keyrings.inc.bash +++ b/keyrings.inc.bash @@ -8,6 +8,10 @@ NONCOMMIT_RULE='(&(!(gentooAccess=git.gentoo.org/repo/gentoo.git))(gentooStatus= RETIRED_RULE='(!(gentooStatus=active))' export KS_GENTOO=hkps://keys.gentoo.org/ +# Use local keyserver for speedup +KS_GENTOO_LOCAL=${HOSTNAME%.gentoo.org}.keys.gentoo.org +dig $KS_GENTOO_LOCAL +short |grep -sq . && export KS_GENTOO=hkps://${KS_GENTOO_LOCAL} + #export KS_SKS=hkps://hkps.pool.sks-keyservers.net/ # Disabled pending security announcement export KS_OPENPGP=hkps://keys.openpgp.org/ # runs Hagrid export KEYSERVERS=( ) # empty by default