Re: Letting the client choose the protocol to use during a SASL exchange

Simon Riggs <simon@2ndquadrant.com>

From: Simon Riggs <simon@2ndquadrant.com>
To: Álvaro Hernández Tortosa <aht@8kdata.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Michael Paquier <michael.paquier@gmail.com>, PostgreSQL mailing lists <pgsql-hackers@postgresql.org>, Heikki Linnakangas <hlinnaka@iki.fi>
Date: 2017-04-06T22:29:42Z
Lists: pgsql-hackers
On 6 April 2017 at 16:15, Álvaro Hernández Tortosa <aht@8kdata.com> wrote:

>     Per the SCRAM RFC, it is the server who advertises and the client who picks.

Yes, but what does the RFC say about how to handle servers with an pg_hba.conf?

How and what will we advertise?

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Commits

  1. Improve the SASL authentication protocol.

  2. Refactor libpq authentication request processing.

  3. Minor cleanup of backend SCRAM code.