Gentoo Archives: gentoo-dev

From: "William L. Thomson Jr." <wlt-ml@××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Prevent binary/non-compiled packages from binary package creation
Date: Thu, 10 Aug 2017 17:08:34
Message-Id: assp.03952b3015.20170810130820.58a3ca70@o-sinc.com
In Reply to: Re: [gentoo-dev] Prevent binary/non-compiled packages from binary package creation by "Sam Jorna (wraeth)"
1 On Thu, 10 Aug 2017 13:33:54 +1000
2 "Sam Jorna (wraeth)" <wraeth@g.o> wrote:
3 >
4 > This is no greater risk than syncing from a potentially compromised
5 > mirror. You would use a mirror you trust and, similarly (perhaps even
6 > more so) you would use a binhost you trust.
7
8 Getting a bit ridiculous now. Let me get my tin foil hat.
9
10 So your suggesting Gentoo mirrors are could be compromised? Your saying
11 that Gentoo repo gets compromised. Which then leaks out onto mirrors. If
12 a mirror is compromised, clearly it would not match up to other mirrors
13 or the master Gentoo repo. All with no one in the world noticing. Not a
14 likely scenario.
15
16 Lets go down this rabbit hole. Lets say Gentoo repo was compromised.
17 You simply look at upstream sources and their hashes. If Gentoo
18 mirrored sources do not match up to upstream. Then you know something
19 is wrong.
20
21 Thus you have many ways to verify, pull from mirror, compare to mirror,
22 compared to master Gentoo repo, compare to upstream. None of that can
23 be done with a binpkg. There are no public binhost. There is no
24 official Gentoo binhost. That is something people setup.
25
26 They may trust their own binhost. But to imply that is more trust
27 worthy than public stuff that is in more than one verifiable location
28 against 3rd parties. That logic does not hold up.
29
30 > It does raise the idea of some form of signing of the Packages file,
31 > similar to gpg-signed portage snapshots, but that's moving well beyond
32 > the scope of this thread.
33
34 That still would never give you any 3rd party verification. Why do we
35 not self sign certificates? Why are those not trusted? Trust tends to
36 come from 3rd parties.
37
38 Even GPG relies on a WOT, without that its pointless. An unsigned GPG
39 key is pretty worthless. Signing stuff with that means nothing.
40
41 --
42 William L. Thomson Jr.

Replies