pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Accept SCRAM channel binding enabled clients
Date: Fri, 08 Dec 2017 15:22:48 +0000
Message-ID: <E1eNKUC-0006F5-7y@gemulon.postgresql.org> (raw)

Accept SCRAM channel binding enabled clients

Add support to the SCRAM exchange for clients that support channel
binding, such as PostgreSQL version 11 and beyond.  If such a client
encounters a PostgreSQL 10 server that does not support channel binding,
it will send a channel binding flag 'y', meaning the client supports
channel binding but thinks the server does not.  But PostgreSQL 10
erroneously did not accept that flag.  This would cause connections to
fail if a version 11 client connects to a version 10 server with SCRAM
authentication over SSL.

Author: Michael Paquier <michael.paquier@gmail.com>

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/218b024a7ec866ec62abb5c2fb4eb9108bb5fc0f

Modified Files
--------------
src/backend/libpq/auth-scram.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)



Message-ID: <E1eNKUC-0006F5-7y@gemulon.postgresql.org>
Permalink:  ../E1eNKUC-0006F5-7y@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eNKUC-0006F5-7y@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Accept SCRAM channel binding enabled clients
  In-Reply-To: <E1eNKUC-0006F5-7y@gemulon.postgresql.org>
  References: <E1eNKUC-0006F5-7y@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox