Re: [HACKERS] PostgreSQL - Weak DH group

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] PostgreSQL - Weak DH group
Дата
Msg-id CAB7nPqQ-Ad_Q12FXqVC4-3-CbidXmo9uFBeZ2jPoCb29yB3dgQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] PostgreSQL - Weak DH group  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: [HACKERS] PostgreSQL - Weak DH group  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Thu, Jul 13, 2017 at 5:32 PM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> I rebased the patch, did some other clean up of error reporting, and added a
> GUC along those lines, as well as docs. How does this look?
>
> It's late in the release cycle, but it would be nice to sneak this into v10.
> Using weak 1024 bit DH parameters is arguably a security issue; it was
> originally reported as such. There's a work-around for older versions:
> generate custom 2048 bit parameters and place them in a file called
> "dh1024.pem", but that's completely undocumented.
>
> Thoughts?

The patch looks in good shape to me.
#include "utils/memutils.h"

-static int    my_sock_read(BIO *h, char *buf, int size);
That's unnecessary noise.

+ *    Very uncool. Alternatively, the system could refuse to start
+ *    if a DH parameters if not specified, but this would tend to
+ *    piss off DBAs.
"is not specified".

> Objections to committing this now, instead of waiting for v11?

But I am -1 for the sneak part. It is not the time to have a new
feature in 10, the focus is to stabilize.
-- 
Michael



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: [HACKERS] WIP Patch: Pgbench Serialization and deadlock errors
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: [HACKERS] Re: [BUGS] BUG #14634: On Windows pg_basebackup should write tar tostdout in binary mode