Thread: [COMMITTERS] pgsql: Increase SCRAM salt length

[COMMITTERS] pgsql: Increase SCRAM salt length

From
Peter Eisentraut
Date:
Increase SCRAM salt length

The original value 12 was set based on RFC 5802 for SCRAM-SHA-1, but RFC
7677 for SCRAM-SHA-256 uses 16, so use that.  (This does not affect the
validity of already stored verifiers.)

Discussion: https://www.postgresql.org/message-id/flat/12cc9297-7e05-932f-d863-765e5626ead4%402ndquadrant.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/cf98e3837db36d985507a924e392847e2ab857d0

Modified Files
--------------
src/include/common/scram-common.h | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)