Re: Raising the SCRAM iteration count

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: "Jonathan S. Katz" <jkatz@postgresql.org>, Andres Freund <andres@anarazel.de>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-03-08T08:21:20Z
Lists: pgsql-hackers
On Wed, Mar 08, 2023 at 09:07:36AM +0100, Daniel Gustafsson wrote:
> No, I just did not think it was possible to feed input to the interactive
> \password prompt with a normal pg_regress SQL file test.  If you are able to do
> that I'd love to see an example.
> 
> AFAIK a TAP test with psql_interactive is the only way to do this so that's
> what I've implemented.

Bah, of course.  I was really not following your point here, sorry for
the noise.  Better to call it a day..
--
Michael

Commits

  1. Test SCRAM iteration changes with psql \password

  2. Make SCRAM iteration count configurable