Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] adding app-crypt/gentoo-keys to @system
Date: Wed, 20 Feb 2019 05:00:25
Message-Id: 3529cec0-9c22-cb17-5411-04a006279b98@gentoo.org
In Reply to: Re: [gentoo-dev] adding app-crypt/gentoo-keys to @system by Matthew Thode
1 On 2/19/19 11:21 PM, Matthew Thode wrote:
2 >>
3 >> What problem would this solve? (Is adding gentoo-keys to @system the
4 >> least bad way to solve it?)
5 >>
6 >
7 > It'd allow the stage tarballs (3,4) to use webrsync-gpg to verify
8 > portage tarballs. This is useful for the initial sync (as called out in
9 > our manual). Otherwise using emerge-webrsync could be mitm'd or
10 > otherwise messed with.
11
12 Ok, then I agree with the goal if not the solution. This is a
13 portage-specific thing, namely
14
15 FEATURES=webrsync-gpg
16
17 that should be enabled by default on a stage3. (Making new users go out
18 of their way to add basic security is daft.) Portage already has
19 USE=rsync-verify, and I think we could either
20
21 a) expand the meaning of that flag to include enabling webrsync-gpg
22 by default, and to pull in gentoo-keys; or
23
24 b) add another (default-on) flag like USE=webrsync-verify to do it
25
26 That flag would be enabled by default, so gentoo-keys would be pulled in
27 as part of @system without actually being *in* the @system. Something
28 along those lines would achieve the same goal in a cleaner way.
29
30
31 > As far how we treat deps of @system packages, since this does not have
32 > any deps that should help check that box for anyone worried.
33
34 I meant the other way around. Once gentoo-keys is in @system, packages
35 will (inconsistently) omit gentoo-keys from (R)DEPEND. There's no real
36 policy or consensus on the matter, and it makes it a real PITA if we
37 ever want to remove things from @system, because lots of packages will
38 break in unpredictable ways.

Replies

Subject Author
Re: [gentoo-dev] adding app-crypt/gentoo-keys to @system Matthew Thode <prometheanfire@g.o>