]> granicus.if.org Git - postgresql/commit
Increase SCRAM salt length
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 24 Aug 2017 18:04:28 +0000 (14:04 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 24 Aug 2017 18:04:28 +0000 (14:04 -0400)
commitfe7774144d5c3f3a2941a2ca51e61352e4005991
treef244c24fe34e3fdd61b794b0d07927b0dae17878
parent1177ab1dabf72bafee8f19d904cee3a299f25892
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
src/include/common/scram-common.h