Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v2] glep-0063: Add section about the Gentoo keyserver
Date: Thu, 17 Dec 2020 20:21:54
Message-Id: fa51015f8921bacb06dfd45e068c7b6a33be9a4d.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH v2] glep-0063: Add section about the Gentoo keyserver by Mike Gilbert
1 On Thu, 2020-12-17 at 15:15 -0500, Mike Gilbert wrote:
2 > On Thu, Dec 17, 2020 at 3:03 PM Aaron W. Swenson
3 > <titanofold@g.o> wrote:
4 > >
5 > > On Thu, Dec 17, 2020 at 01:12:16PM -0500, Mike Gilbert wrote:
6 > > > Signed-off-by: Mike Gilbert <floppym@g.o>
7 > > > ---
8 > > >
9 > > > v2: Added "This upload is required in addition to uploading the
10 > > > SKS pool."
11 > > >
12 > > > glep-0063.rst | 24 ++++++++++++++++++++----
13 > > > 1 file changed, 20 insertions(+), 4 deletions(-)
14 > > >
15 > > > diff --git a/glep-0063.rst b/glep-0063.rst
16 > > > index 82541bd..ec465db 100644
17 > > > --- a/glep-0063.rst
18 > > > +++ b/glep-0063.rst
19 > > > @@ -7,10 +7,10 @@ Author: Robin H. Johnson <robbat2@g.o>,
20 > > >         Michał Górny <mgorny@g.o>
21 > > > Type: Standards Track
22 > > > Status: Final
23 > > > -Version: 2.1
24 > > > +Version: 2.2
25 > > > Created: 2013-02-18
26 > > > -Last-Modified: 2019-11-07
27 > > > -Post-History: 2013-11-10, 2018-07-03, 2018-07-21, 2019-02-24
28 > > > +Last-Modified: 2020-12-17
29 > > > +Post-History: 2013-11-10, 2018-07-03, 2018-07-21, 2019-02-24,
30 > > > 2020-12-17
31 > > > Content-Type: text/x-rst
32 > > > ---
33 > > >
34 > > > @@ -28,6 +28,9 @@ OpenPGP key management policies for the Gentoo
35 > > > Linux distribution.
36 > > > Changes
37 > > > =======
38 > > >
39 > > > +v2.2
40 > > > +  Added "Gentoo Keyserver" section under "Gentoo Infrastructure"
41 > > > chapter.
42 > > > +
43 > > > v2.1
44 > > >   A requirement for an encryption key has been added, in order to
45 > > > extend
46 > > >   the GLEP beyond commit signing and into use of OpenPGP for dev-
47 > > > to-dev
48 > > > @@ -135,8 +138,11 @@ their primary key).
49 > > >
50 > > > 5. Encrypted backup of your secret keys.
51 > > >
52 > > > +Gentoo Infrstructure
53 > > > +====================
54 > > > +
55 > > > Gentoo LDAP
56 > > > -===========
57 > > > +-----------
58 > > >
59 > > > All Gentoo developers must list the complete fingerprint for
60 > > > their primary
61 > > > keys in the "``gpgfingerprint``" LDAP field. It must be exactly
62 > > > 40 hex digits,
63 > > > @@ -147,6 +153,16 @@ of the fingerprint field. In any place that
64 > > > presently displays
65 > > > the "``gpgkey``" field, the last 16 hex digits of the fingerprint
66 > > > should
67 > > > be displayed instead.
68 > > >
69 > > > +Gentoo Keyserver
70 > > > +----------------
71 > > > +
72 > > > +Gentoo infrastructure uses a keyserver that is isolated from the
73 > > > SKS pool.
74 > > > +This keyserver is restricted to accepting uploads from
75 > > > authorized Gentoo hosts.
76 > > > +A script is provided on dev.gentoo.org to allow developers to
77 > > > upload their
78 > > > +keys. This upload is required in addition to uploading to the
79 > > > SKS pool.
80 > > > +
81 > > > +``gpg --export KEYID | ssh dev.gentoo.org
82 > > > /usr/local/bin/openpgp-key-upload``
83 > > > +
84 > > > Backwards Compatibility
85 > > > =======================
86 > > >
87 > > > --
88 > > > 2.30.0.rc0
89 > > >
90 > > >
91 > >
92 > > Thanks for doing this! You beat me to the punch. I was going to try
93 > > getting to
94 > > it tomorrow.
95 > >
96 > > It may be good to also change step 7 under "Bare minimum
97 > > requirements" to read:
98 > >
99 > >      7. Upload your key to the Gentoo Keyserver before usage!
100 > >
101 > > It'd give skimmers a trigger to look for the Gentoo keyserver info.
102 >
103 > Sure, happy to make that change.
104 >
105 > > We might want to add "Upload to the SKS or some other public PGP
106 > > pool" under
107 > > "Recommendations", but that's probably beyond the scope of the
108 > > document now.
109 >
110 > I think it makes sense to move the SKS instruction to the
111 > recommendations section.
112 >
113 > > Lastly, should we have a link to the step-by-step guide? [1]
114 > >
115 > > [1]:
116 > > https://wiki.gentoo.org/wiki/Project:Infrastructure/Generating_GLEP_63_based_OpenPGP_keys
117 >
118 > I'm not sure I like the idea of referring the user to a wiki article
119 > in the GLEP. What do others think of this?
120 >
121 > If others agree, please propose some language/location to insert it,
122 > or send a patch of your own (feel free to use my patch as a starting
123 > point).
124 >
125
126 I think we should actually have some dedicated info page purely for
127 Infra keyserver. Possibly by replacing the index of
128 https://keys.gentoo.org. Infra will look into it.
129
130 --
131 Best regards,
132 Michał Górny