From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1360862-garchives=archives.gentoo.org@lists.gentoo.org> 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D3707158087 for <garchives@archives.gentoo.org>; Mon, 24 Jan 2022 02:07:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB31F2BC00B; Mon, 24 Jan 2022 02:07:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 29A672BC00B for <gentoo-commits@lists.gentoo.org>; Mon, 24 Jan 2022 02:07:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 BB778342FAD for <gentoo-commits@lists.gentoo.org>; Mon, 24 Jan 2022 02:07:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D6A1E2A3 for <gentoo-commits@lists.gentoo.org>; Mon, 24 Jan 2022 02:07:20 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1642990031.1837b14d69ed663f62c33ba258b531fd41f8adb7.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/quickpkg X-VCS-Directories: bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1837b14d69ed663f62c33ba258b531fd41f8adb7 X-VCS-Branch: master Date: Mon, 24 Jan 2022 02:07:20 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f8d95cf3-9f6c-44f2-8ae3-c4d97547b45c X-Archives-Hash: 23f2a194706809b7c9c84f80c439b846 commit: 1837b14d69ed663f62c33ba258b531fd41f8adb7 Author: Sheng Yu <syu.os <AT> protonmail <DOT> com> AuthorDate: Mon Jan 24 01:56:46 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jan 24 02:07:11 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=1837b14d quickpkg: check gpg status Closes: https://bugs.gentoo.org/831944 Signed-off-by: Sheng Yu <syu.os <AT> protonmail.com> Closes: https://github.com/gentoo/portage/pull/784 Signed-off-by: Sam James <sam <AT> gentoo.org> bin/quickpkg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/quickpkg b/bin/quickpkg index 7733bc833..27dda85ed 100755 --- a/bin/quickpkg +++ b/bin/quickpkg @@ -285,8 +285,9 @@ def quickpkg_main(options, args, eout): portage.settings.features.remove('xattr') portage.settings.lock() - gpg = GPG(portage.settings) - gpg.unlock() + if portage.settings.get("BINPKG_GPG_SIGNING_KEY", None): + gpg = GPG(portage.settings) + gpg.unlock() infos = {} infos["successes"] = []