1 |
On Mon, Jul 2, 2018 at 10:36 AM, Jason A. Donenfeld <zx2c4@g.o> wrote: |
2 |
> Hey guys, |
3 |
> |
4 |
> While our infrastructure team has some nice technical competence, the |
5 |
> recent disaster and ongoing embarrassing aftermath has made ever more |
6 |
> urgent the need to have end-to-end signatures between developers and |
7 |
> users. While the infrastructure team seems fairly impressive at |
8 |
> deploying services and keeping the house running smoothly, I'd rather |
9 |
> we don't place additional burden on them to do everything they're |
10 |
> doing securely. Specifically, I'd like to ensure that 100% of Gentoo's |
11 |
> infrastructure can be hacked, yet not backdoor a single witting user |
12 |
> of the portage tree. Right now, as it stands, rsync distributes |
13 |
> signatures to users that are derived from some |
14 |
> infrastructure-controlled keys, not from the developers themselves. |
15 |
> |
16 |
> Proposal: |
17 |
> - Sign every file in the portage tree so that it has a corresponding |
18 |
> .asc. Repoman will need support for this. |
19 |
|
20 |
Signed hashes should be faster, no? Each directory with files could |
21 |
have a manifest. |
22 |
|
23 |
> - Ensure the naming scheme of portage files is sufficiently strict, so |
24 |
> that renaming or re-parenting signed files doesn't result in RCE. [*] |
25 |
> - Distribute said .asc files with rsync per usual. |
26 |
|
27 |
Rsync would work with this setup, but there is also webrsync-gpg in |
28 |
Portage right now. This covers the vast majority of usecases right |
29 |
now. There is often no need to sync more than once per day. |
30 |
|
31 |
Speaking of, the keys for that have lapsed. Will they be updated? |
32 |
|
33 |
Cheers, |
34 |
R0b0t1 |