mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -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> Closes: https://github.com/gentoo/gentoo/pull/29592 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
d466b3b94a
commit
0611129171
@ -160,7 +160,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"
|
||||
;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user