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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1E548138334 for ; Tue, 9 Apr 2019 19:17:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3CF7E0896; Tue, 9 Apr 2019 19:17:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD778E0896 for ; Tue, 9 Apr 2019 19:17:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6BABF335D1B for ; Tue, 9 Apr 2019 19:17:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8082543 for ; Tue, 9 Apr 2019 19:17:47 +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: <1554837459.1fa53c0dc35bed7d40cb872566fd4919a1cba3c7.robbat2@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: create-dev-keyrings.bash X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 1fa53c0dc35bed7d40cb872566fd4919a1cba3c7 X-VCS-Branch: master Date: Tue, 9 Apr 2019 19:17:47 +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: 49af8bf6-ccfe-40a4-acde-1c4fa190acd6 X-Archives-Hash: 9ad0b0e6c1ffea5910f9f2eda955f9ce commit: 1fa53c0dc35bed7d40cb872566fd4919a1cba3c7 Author: Robin H. Johnson gentoo org> AuthorDate: Tue Apr 9 19:17:39 2019 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Tue Apr 9 19:17:39 2019 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=1fa53c0d create-dev-keyrings: only send keys we have Signed-off-by: Robin H. Johnson gentoo.org> create-dev-keyrings.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/create-dev-keyrings.bash b/create-dev-keyrings.bash index 9e88d8d..2f68985 100755 --- a/create-dev-keyrings.bash +++ b/create-dev-keyrings.bash @@ -58,7 +58,8 @@ grab_keys() { # push_keys ... push_keys() { - local remaining=( "${@}" ) + # Only send keys that we have + local remaining=( $(gpg --with-colon --list-public "${@}" | sed -n '/^pub/{n; /fpr/p }' |cut -d: -f10) ) timeout 5m gpg --keyserver $KS_GENTOO -q --send-keys "${remaining[@]}" || : #timeout 5m gpg --keyserver $KS_SKS -q --send-keys "${remaining[@]}" || : }