commit:     0ca34743fdd8b38a9ede7c88ff654d404d54b023
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 16 03:16:49 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 16 03:45:28 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=0ca34743

cnf: enable verify-signature by default in binrepos.conf

Special-casing with [gentoo] and friends as in 
cc5b1dd99e79b14347715da29c4838b59c06fa18
doesn't work perfectly because users will get noise like:

> !!! Missing sync-uri setting for binrepo gentoobinhost

if they have no matching 'real' binrepos.conf entry for it with sync-uri
and friends.

We could either add a `stub` option to these or special-case the warning
to ignore when only `verify-signature` is set but neither option seems
great. Making this the default for all binrepos is something we should
do anyway.

Bug: https://bugs.gentoo.org/945384
Bug: https://bugs.gentoo.org/969086
Signed-off-by: Sam James <sam <AT> gentoo.org>

 cnf/binrepos.conf | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/cnf/binrepos.conf b/cnf/binrepos.conf
index 03ea617902..6b5520ec78 100644
--- a/cnf/binrepos.conf
+++ b/cnf/binrepos.conf
@@ -1,8 +1,2 @@
-[gentoo]
-verify-signature = true
-
-[gentoo-x86-64-v3]
-verify-signature = true
-
-[gentoobinhost]
+[DEFAULT]
 verify-signature = true

Reply via email to