From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
Cc: | "Gregory Stark (as CFM)" <stark(dot)cfm(at)gmail(dot)com>, "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Raising the SCRAM iteration count |
Date: | 2023-03-25 00:56:29 |
Message-ID: | ZB5GvYpoDvRSbUqW@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Andrey Borodin | 2023-03-25 02:31:52 | Re: psql \watch 2nd argument: iteration count |
Previous Message | Jeff Davis | 2023-03-25 00:26:11 | Re: running logical replication as the subscription owner |