Re: User functions for building SCRAM secrets - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: User functions for building SCRAM secrets
Date
Msg-id ZDiMv+R3a+q/lpZA@paquier.xyz
Whole thread Raw
In response to Re: User functions for building SCRAM secrets  (Magnus Hagander <magnus@hagander.net>)
Responses Re: User functions for building SCRAM secrets
List pgsql-hackers
On Tue, Apr 11, 2023 at 11:27:17AM +0200, Magnus Hagander wrote:
> Having the function always generate a random salt seems more
> reasonable though, and would perhaps be something that helps in some
> of the cases? It won't help with the password policy one, as it's too
> secure for that, but it would help with the postgres-is-the-client
> one?

While this is still hot..  Would it make sense to have a
scram_salt_length GUC to control the length of the salt used when
generating the SCRAM secret?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: [PATCH] Add `verify-system` sslmode to use system CA pool for server cert
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Add `verify-system` sslmode to use system CA pool for server cert