Re: Replacing the EDH SKIP primes - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Replacing the EDH SKIP primes
Date
Msg-id CAA877DE-B524-4A94-8579-5FFD1F32F208@yesql.se
Whole thread Raw
In response to Re: Replacing the EDH SKIP primes  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Replacing the EDH SKIP primes  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers

> On 04 Jul 2019, at 02:58, Michael Paquier <michael@paquier.xyz> wrote:
>
>> On Wed, Jul 03, 2019 at 08:56:42PM +0200, Daniel Gustafsson wrote:
>> Agreed, I’ve updated the patch with a comment on this formulated such that it
>> should stand the test of time even as OpenSSL changes etc.
>
> I'd like to think that we had rather mention the warning issue
> explicitely, so as people don't get surprised, like that for example:
>
> *  This is the 2048-bit DH parameter from RFC 3526.  The generation of the
> *  prime is specified in RFC 2412, which also discusses the design choice
> *  of the generator.  Note that when loaded with OpenSSL this causes
> *  DH_check() to fail on with DH_NOT_SUITABLE_GENERATOR, where leaking
> *  a bit is preferred.
>
> Now this makes an OpenSSL-specific issue pop up within a section of
> the code where we want to make things more generic with SSL, so your
> simpler version has good arguments as well.
>
> I have just rechecked the shape of the key, and we have an exact
> match.

LGTM, thanks.

cheers ./daniel



pgsql-hackers by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: UCT (Re: pgsql: Update time zone data files to tzdata release 2019a.)
Next
From: Michael Paquier
Date:
Subject: Re: Refactoring base64 encoding and decoding into a safer interface