Re: Password identifiers, protocol aging and SCRAM protocol
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: David Steele <david@pgmasters.net>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2016-03-14T16:06:07Z
Lists: pgsql-hackers
On Mon, Mar 14, 2016 at 4:32 PM, David Steele <david@pgmasters.net> wrote: > On 2/23/16 2:17 AM, Michael Paquier wrote: > >> As a continuation of the thread firstly dedicated to SCRAM: >> http://www.postgresql.org/message-id/55192AFE.6080106@iki.fi >> Here is a new thread aimed at gathering all the ideas of this previous >> thread and aimed at clarifying a bit what has been discussed until now >> regarding password protocols, verifiers, and SCRAM itself. > > > It looks like this patch set is a bit out of date. > > When applying 0004: > > $ git apply > ../other/0004-Remove-password-verifiers-for-unsupported-protocols-.patch > error: patch failed: src/bin/pg_upgrade/pg_upgrade.c:262 > error: src/bin/pg_upgrade/pg_upgrade.c: patch does not apply > > Then I tried to build with just 0001-0003: > > cd /postgres/src/include/catalog && '/usr/bin/perl' ./duplicate_oids > 3318 > 3319 > 3320 > 3321 > 3322 > make[3]: *** [postgres.bki] Error 1 > > Could you provide an updated set of patches for review? Meanwhile I am > marking this as "waiting for author". Sure. I'll provide them shortly with all the comments addressed. Up to now I just had a couple of comments about docs and whitespaces, so I didn't really bother sending a new set, but this meritates a rebase. -- 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