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 90732138239 for ; Wed, 18 Jul 2018 13:59:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CEE0E08F7; Wed, 18 Jul 2018 13:59:29 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 51495E08F7 for ; Wed, 18 Jul 2018 13:59:29 +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 76A05335C9B for ; Wed, 18 Jul 2018 13:59:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8713B375 for ; Wed, 18 Jul 2018 13:59:25 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1531922362.0ae03c7004b64ffc0592625baec4ac263f1778ad.mgorny@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: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0ae03c7004b64ffc0592625baec4ac263f1778ad X-VCS-Branch: master Date: Wed, 18 Jul 2018 13:59:25 +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-Archives-Salt: 86d6f47f-c9c3-4f2b-b046-05198c74d643 X-Archives-Hash: be50e6d7fca5fa4b710e85afabe9ff5b commit: 0ae03c7004b64ffc0592625baec4ac263f1778ad Author: Michał Górny gentoo org> AuthorDate: Wed Jul 18 13:57:44 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jul 18 13:59:22 2018 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=0ae03c70 create-dev-keyrings: Add timeout for gpg call create-dev-keyrings.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-dev-keyrings.bash b/create-dev-keyrings.bash index 7afed08..9190004 100755 --- a/create-dev-keyrings.bash +++ b/create-dev-keyrings.bash @@ -21,7 +21,7 @@ grab_keys() { local remaining=( "${@}" ) while :; do - gpg -q --recv-keys "${remaining[@]}" || : + timeout 5m gpg -q --recv-keys "${remaining[@]}" || : missing=() for key in "${remaining[@]}"; do gpg --list-public "${key}" &>/dev/null || missing+=( "${key}" )