From b36318ddfa467f2a65f6755bb5490a3f3527d0d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 30 Oct 2025 16:22:59 +0100 Subject: [PATCH] verify-sig.eclass: Respect GNUPG envvar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Respect GNUPG envvar for direct "gpg" invocations, to match the gemato behavior. Signed-off-by: Michał Górny Part-of: https://github.com/gentoo/gentoo/pull/44387 Signed-off-by: Michał Górny --- eclass/verify-sig.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass index 9d9be4e377f12..ba1086d6641c1 100644 --- a/eclass/verify-sig.eclass +++ b/eclass/verify-sig.eclass @@ -279,7 +279,7 @@ verify-sig_verify_message() { # https://bugs.gentoo.org/854492 local -x TMPDIR=/tmp gemato gpg-wrap -K "${key}" "${extra_args[@]}" -- \ - gpg --verify --output="${output_file}" "${file}" || + "${GNUPG:-gpg}" --verify --output="${output_file}" "${file}" || die "PGP signature verification failed" ;; signify)