1 |
Dnia 2015-08-15, o godz. 11:51:01 |
2 |
Andrew Savchenko <bircoph@g.o> napisał(a): |
3 |
|
4 |
> On Sat, 15 Aug 2015 09:53:37 +0200 Michał Górny wrote: |
5 |
> > Dnia 2015-08-15, o godz. 10:50:02 |
6 |
> > Andrew Savchenko <bircoph@g.o> napisał(a): |
7 |
> > |
8 |
> > > Hi, |
9 |
> > > |
10 |
> > > On Fri, 14 Aug 2015 10:54:57 -0400 Rich Freeman wrote: |
11 |
> > > > On Fri, Aug 14, 2015 at 8:45 AM, Kristian Fiskerstrand <k_f@g.o> wrote: |
12 |
> > > > > They will be OpenPGP signed by a releng key during thickening and |
13 |
> > > > > portage will auto-verify it using gkeys once things are in place. As |
14 |
> > > > > such checksum for ebuilds and other files certainly needs to be part |
15 |
> > > > > of the manifest, otherwise it can open up for malicious alterations of |
16 |
> > > > > these files. |
17 |
> > > > > |
18 |
> > > > |
19 |
> > > > As much as I'd love to see it all folded into git, the reality is also |
20 |
> > > > that git signatures are only bound to files by a series of sha1 |
21 |
> > > > hashes, and sha1 is not a strong hash function. Git really ought to |
22 |
> > > > move to sha256 at some point, preferably in a manner that makes it |
23 |
> > > > expandable in the future to other hash functions. But, this isn't a |
24 |
> > > > high-priority for upstream. |
25 |
> > > > |
26 |
> > > > The same limitation is true of any git gpg signature, including tag |
27 |
> > > > signatures. It is all held together by sha1. The manifest system is |
28 |
> > > > much stronger. |
29 |
> > > |
30 |
> > > OK, if manifests are that important, why not generate full manifest |
31 |
> > > during repoman commit? If we do not tamper with $Id$, the only file |
32 |
> > > outside of this manifest will be ChangeLog generated during rsync |
33 |
> > > propagation. Then we have following options: |
34 |
> > > - do not sing ChangeLog: even if it will be tampered, little harm |
35 |
> > > can be done, since it doesn't affect live system or build process; |
36 |
> > > - sign ChangeLog with releng key; |
37 |
> > > - sign developer-signed manifest + ChangeLog with releng key. Thus |
38 |
> > > we'll have double signature for most important files. |
39 |
> > |
40 |
> > How about we switch back to CVS if we're going to kill git anyway? It'd |
41 |
> > at least save our time wasted by these pointless discussions. |
42 |
> |
43 |
> I don't understand your point. Please explain. |
44 |
> |
45 |
> I see nobody here talking about killing git. I see people concerned |
46 |
> that git is not cryptographically secure enough, thus looking for |
47 |
> gpg-signed manifests or other solutions. |
48 |
|
49 |
I see you talking about introducing whole new bucket of merge |
50 |
conflicts. |
51 |
|
52 |
-- |
53 |
Best regards, |
54 |
Michał Górny |
55 |
<http://dev.gentoo.org/~mgorny/> |