forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfe77741
committed
Increase SCRAM salt length
The original value 12 was set based on RFC 5802 for SCRAM-SHA-1, but RFC7677 for SCRAM-SHA-256 uses 16, so use that. (This does not affect thevalidity of already stored verifiers.)Discussion:https://www.postgresql.org/message-id/flat/12cc9297-7e05-932f-d863-765e5626ead4%402ndquadrant.com1 parent1177ab1 commitfe77741
1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
32 |
| - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 |
| |
34 |
| - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
35 | 42 |
| |
36 | 43 |
| |
37 | 44 |
| |
|
0 commit comments
Comments
(0)