Re: Raising the SCRAM iteration count

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Raising the SCRAM iteration count
Дата
Msg-id ZB5GvYpoDvRSbUqW@paquier.xyz
обсуждение исходный текст
Ответ на Re: Raising the SCRAM iteration count  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: Raising the SCRAM iteration count  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
On Fri, Mar 24, 2023 at 09:56:29AM +0100, Daniel Gustafsson wrote:
> I've actually ripped out the test in question in the attached v9 to have it
> ready and building green in CFbot.

While reading through v9, I have noticed a few things.

+-- Changing the SCRAM iteration count
+SET scram_iterations = 1024;
+CREATE ROLE regress_passwd9 PASSWORD 'alterediterationcount';

Perhaps scram_iterations should be reset once this CREATE ROLE is run
to not impact any tests after that?

+/*
+ * The number of iterations to use when generating new secrets.
+ */
+int            scram_sha_256_iterations;

This variable in auth-scram.c should be initialized to
SCRAM_SHA_256_DEFAULT_ITERATIONS.

+use IPC::Run qw(pump finish timer);

This can be removed.
--
Michael

Вложения

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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: running logical replication as the subscription owner
Следующее
От: Andrey Borodin
Дата:
Сообщение: Re: psql \watch 2nd argument: iteration count