pgsql: Increase SCRAM salt length
Started by Peter Eisentrautalmost 9 years ago1 messagescomitters
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: /messages/by-id/12cc9297-7e05-932f-d863-765e5626ead4@2ndquadrant.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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers