Re: [REVIEW]: Password identifiers, protocol aging and SCRAM protocol
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Valery Popov <v.popov@postgrespro.ru>
Cc: Dmitry Dolgov <9erthalion6@gmail.com>, PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2016-03-02T11:55:17Z
Lists: pgsql-hackers
On Wed, Mar 2, 2016 at 5:43 PM, Valery Popov <v.popov@postgrespro.ru> wrote: > >>> <para> >>> <varname>db_user_namespace</> causes the client's and >>> server's user name representation to differ. >>> Authentication checks are always done with the server's user name >>> so authentication methods must be configured for the >>> server's user name, not the client's. Because >>> <literal>md5</> uses the user name as salt on both the >>> client and server, <literal>md5</> cannot be used with >>> <varname>db_user_namespace</>. >>> </para> > > Also in doc/src/sgml/ref/create_role.sgml is should be instead of > <term>PASSWORD VERIFIERS ( <replaceable > class="PARAMETER">verifier_type</replaceable> = '<replaceable > class="PARAMETER">password</replaceable>'</term> > like this > <term><literal>PASSWORD VERIFIERS</> ( <replaceable > class="PARAMETER">verifier_type</replaceable> = '<replaceable > class="PARAMETER">password</replaceable>'</term> So the <literal> markup is missing. Thanks. I am taking note of it. -- Michael
Commits
-
Support SCRAM-SHA-256 authentication (RFC 5802 and 7677).
- 818fd4a67d61 10.0 landed
-
Refactor SHA2 functions and move them to src/common/.
- 273c458a2b3a 10.0 landed
-
Replace isMD5() with a more future-proof way to check if pw is encrypted.
- dbd69118c05d 10.0 landed
-
Remove bogus notice that older clients might not work with MD5 passwords.
- 7e3ae5455948 9.2.20 landed
- 470af1f41c8b 9.3.16 landed
- ada2cdb61015 9.4.11 landed
- 65a7f190b253 9.5.6 landed
- 7546c135dc30 9.6.2 landed
- 31c54096a18f 10.0 landed
-
Refactor the code for verifying user's password.
- e7f051b8f9a6 10.0 landed
-
Replace PostmasterRandom() with a stronger source, second attempt.
- fe0a0b5993df 10.0 landed
-
Remove support for (insecure) crypt authentication.
- 53a5026b5cb3 8.4.0 cited