Re: Raising the SCRAM iteration count

Поиск
Список
Период
Сортировка
Искать
От
Daniel Gustafsson
Тема
Re: Raising the SCRAM iteration count
Дата
Msg-id
43717B6D-9227-4561-9255-A0F2EF612AAA@yesql.se
Ответ на
Список
Дерево обсуждения
Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Heikki Linnakangas <hlinnaka@iki.fi>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
Re: Raising the SCRAM iteration count Andres Freund <andres@anarazel.de>
Re: Raising the SCRAM iteration count "Jonathan S. Katz" <jkatz@postgresql.org>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count "Jonathan S. Katz" <jkatz@postgresql.org>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count "Jonathan S. Katz" <jkatz@postgresql.org>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count "Gregory Stark (as CFM)" <stark.cfm@gmail.com>
Re: Raising the SCRAM iteration count "Gregory Stark (as CFM)" <stark.cfm@gmail.com>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
Re: Raising the SCRAM iteration count "Jonathan S. Katz" <jkatz@postgresql.org>
Re: Raising the SCRAM iteration count Daniel Gustafsson <daniel@yesql.se>
Re: Raising the SCRAM iteration count Michael Paquier <michael@paquier.xyz>
> On 27 Feb 2023, at 08:06, Michael Paquier  wrote:

> +       conn->scram_sha_256_iterations = atoi(value);
> +   }
> This should match on "scram_iterations", which is the name of the
> GUC.

Fixed.

> Would the long-term plan be to use multiple variables in conn if
> we ever get to : that would require more parsing?

I personally don't think we'll see more than 2 or at most 3 values so parsing
that format shouldn't be a problem, but it can always be revisited if/when we
get there.

> Perhaps there should be a test with \password to make sure that libpq
> gets the call when the GUC is updated by a SET command?

That would indeed be nice, but is there a way to do this without a complicated
pump TAP expression?  I was unable to think of a way but I might be missing
something?

--
Daniel Gustafsson

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Jelte Fennema
Дата:
FAQ