Re: password_encryption default

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: password_encryption default
Дата
Msg-id 52ebc049-d2eb-dfe0-0ae2-6e166f16f280@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: password_encryption default  ("Jonathan S. Katz" <jkatz@postgresql.org>)
Ответы Re: password_encryption default  (Michael Paquier <michael@paquier.xyz>)
Re: password_encryption default  ("Jonathan S. Katz" <jkatz@postgresql.org>)
Список pgsql-hackers
On 2020-05-25 17:57, Jonathan S. Katz wrote:
> I took a look over, it looks good. One question on the initdb.c diff:
> 
> -    if (strcmp(authmethodlocal, "scram-sha-256") == 0 ||
> -        strcmp(authmethodhost, "scram-sha-256") == 0)
> -    {
> -        conflines = replace_token(conflines,
> -                                  "#password_encryption = md5",
> -                                  "password_encryption = scram-sha-256");
> -    }
> -
> 
> Would we reverse this, i.e. if someone chooses authmethodlocal to be
> "md5", we would then set "password_encryption = md5"?

Yeah, I was too enthusiastic about removing that.  Here is a better patch.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Andy Fan
Дата:
Сообщение: Make the qual cost on index Filter slightly higher than qual cost onindex Cond.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: some grammar refactoring