Re: [PATCH] add ssl_protocols configuration option

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] add ssl_protocols configuration option
Дата
Msg-id 26789.1413746321@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] add ssl_protocols configuration option  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: [PATCH] add ssl_protocols configuration option
Re: [PATCH] add ssl_protocols configuration option
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Sun, Oct 19, 2014 at 6:17 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> And in the end, if we set values like this from PG --- whether
>> hard-wired or via a GUC --- the SSL library people will have exactly
>> the same perspective with regards to *our* values.  And not without
>> reason; we were forcing very obsolete settings up till recently,
>> because nobody had looked at the issue for a decade.  I see no reason
>> to expect that that history won't repeat itself.

> The best part would be if we could just leave it up to the SSL
> library, but at least the openssl one doesn't have an API that lets us
> do that, right? We *have* to pick something...

As far as protocol version goes, I think our existing coding basically
says "prefer newest available version, but at least TLS 1.0".  I think
that's probably a reasonable approach.

If the patch exposed a GUC that set a "minimum" version, rather than
calling out specific acceptable protocols, it might be less risky.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: get_actual_variable_range vs idx_scan/idx_tup_fetch
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [PATCH] add ssl_protocols configuration option