Gentoo Archives: gentoo-dev

From: Joshua Kinard <kumba@g.o>
To: gentoo-dev@l.g.o, "Michał Górny" <mgorny@g.o>
Cc: robbat2@g.o
Subject: Re: [gentoo-dev] [PATCH v2 07/11] glep-0063: Allow ECC, curve 25519 keys
Date: Wed, 04 Jul 2018 23:07:52
Message-Id: 46dd5e49-68b3-01ab-c142-a3e88c6426ea@gentoo.org
In Reply to: [gentoo-dev] [PATCH v2 07/11] glep-0063: Allow ECC, curve 25519 keys by "Michał Górny"
1 On 7/4/2018 6:23 AM, Michał Górny wrote:
2 > Optionally allow using ECC, curve 25519 keys. We already have
3 > developers using those keys, and given that they are supported
4 > by GnuPG 2.2, there's probably no reason to ban them. However, they're
5 > not recommended due to interoperability issues.
6 > ---
7 > glep-0063.rst | 4 ++++
8 > 1 file changed, 4 insertions(+)
9 >
10 > diff --git a/glep-0063.rst b/glep-0063.rst
11 > index 6dc4ce5..ab7cb79 100644
12 > --- a/glep-0063.rst
13 > +++ b/glep-0063.rst
14 > @@ -33,6 +33,8 @@ v1.1
15 > The larger recommendation was unjustified and resulted in people
16 > unnecessarily replacing their RSA-2048 keys.
17 >
18 > + Minimal specification has been amended to allow for ECC keys.
19 > +
20 > Motivation
21 > ==========
22 >
23 > @@ -64,6 +66,8 @@ not be used to commit.
24 >
25 > b. RSA, >=2048 bits (OpenPGP v4 key format or later only)
26 >
27 > + c. ECC, curve 25519
28 > +
29 > 3. Key expiry: 5 years maximum
30 >
31 > 4. Upload your key to the SKS keyserver rotation before usage!
32 >
33
34 Add a minimum key size here for ECC. They have different bit sizes than
35 classic DSA/RSA keys. A quick read indicates that a 224-bit ECC key is roughly
36 equivalent to a 112-bit symmetric key, which is what a 2048-bit RSA key is
37 equivalent to, so the logical minimum for ECC looks like 'nistp256'. The
38 maximum is 521-bits on ECC (nistp521).
39
40 Also move the mention of Ed25519 keys to their own bullet and clarify that they
41 don't allow for a key length, as I think that's hardcoded in some capacity.
42
43 --
44 Joshua Kinard
45 Gentoo/MIPS
46 kumba@g.o
47 rsa6144/5C63F4E3F5C6C943 2015-04-27
48 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943
49
50 "The past tempts us, the present confuses us, the future frightens us. And our
51 lives slip away, moment by moment, lost in that vast, terrible in-between."
52
53 --Emperor Turhan, Centauri Republic

Replies

Subject Author
Re: [gentoo-dev] [PATCH v2 07/11] glep-0063: Allow ECC, curve 25519 keys Kristian Fiskerstrand <k_f@g.o>