mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
verify-sig.eclass: Accept 1-out-of-n sigs on multisig files
If a distfile has multiple detached signatures, pass verification if at least one of them can be verified rather than requiring all of them. This is particularly helpful for upstreams where the whole set of release keys is hard to come by. Closes: https://bugs.gentoo.org/873211 Closes: https://github.com/gentoo/gentoo/pull/29224 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -146,7 +146,7 @@ verify-sig_verify_detached() {
|
||||
# https://bugs.gentoo.org/854492
|
||||
local -x TMPDIR=/tmp
|
||||
gemato openpgp-verify-detached -K "${key}" \
|
||||
"${extra_args[@]}" \
|
||||
"${extra_args[@]}" --no-require-all-good \
|
||||
"${sig}" "${file}" ||
|
||||
die "PGP signature verification failed"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user