pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <pgsql@j-davis.com>
To: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jeff Davis <jdavis@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add libpq parameter 'channel_binding'.
Date: Mon, 30 Sep 2019 11:14:47 -0700
Message-ID: <11a5c3b483f1c0140f9fc5cf863d8ac61a28e60a.camel@j-davis.com> (raw)
In-Reply-To: <20190930070826.GM2888@paquier.xyz>
References: <E1iCVWg-00057D-8U@gemulon.postgresql.org>
	<24857.1569775891@sss.pgh.pa.us>
	<20190929234733.GA2888@paquier.xyz>
	<20190930064539.GK2888@paquier.xyz>
	<20190930070826.GM2888@paquier.xyz>

On Mon, 2019-09-30 at 16:08 +0900, Michael Paquier wrote:
> So, something like the attached looks better to me.  Using a server
> which publishes SCRAM-SHA-256-PLUS, I get the following over SSL:
> 1) client supports channel binding:
> 1-1) channel_binding = disable => OK, with SCRAM-SHA-256 
> 1-2) channel_binding = prefer => OK, with SCRAM-SHA-256-PLUS
> 1-3) channel_binding = require => OK, with SCRAM-SHA-256-PLUS
> 2) client does not support channel binding
> 2-1) channel_binding = disable => OK, with SCRAM-SHA-256
> 2-2) channel_binding = prefer => OK, with SCRAM-SHA-256
> 2-3) channel_binding = require => failure with new error message,
> instead of the confusing one.

For 2-3, shouldn't we error at an earlier stage? The user of the client
has requested something impossible to satisfy.

Regards,
	Jeff Davis







view thread (15+ messages)  latest in thread

Message-ID: <11a5c3b483f1c0140f9fc5cf863d8ac61a28e60a.camel@j-davis.com>
Permalink:  ../11a5c3b483f1c0140f9fc5cf863d8ac61a28e60a.camel@j-davis.com/
Also on:    postgresql.org/message-id/11a5c3b483f1c0140f9fc5cf863d8ac61a28e60a.camel@j-davis.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: pgsql@j-davis.com, michael@paquier.xyz, tgl@sss.pgh.pa.us, jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add libpq parameter 'channel_binding'.
  In-Reply-To: <11a5c3b483f1c0140f9fc5cf863d8ac61a28e60a.camel@j-davis.com>

* 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