pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Álvaro Hernández Tortosa <aht@8kdata.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: [JDBC] [HACKERS] Channel binding support for SCRAM-SHA-256
Date: Tue, 28 Nov 2017 11:10:25 -0500
Message-ID: <2751aafc-8341-1c3d-c3e2-5abed914a6a4@2ndquadrant.com> (raw)
In-Reply-To: <CAB7nPqS1ZekH6wCzyD_jHZBXmo6=0B6JBBTbwaKJg0j07osdog@mail.gmail.com>
References: <20170530151432.GW3151@tamriel.snowman.net>
	<CAB7nPqT5ov4roTKdvAAq4UhJ=QFeNT6QfmFjx4osY6x3MTf_zA@mail.gmail.com>
	<CAB7nPqRnemzvQ_-o3D9Y=6E+uSYnvj_aqLR1Z-QhC3Fk1K=W2A@mail.gmail.com>
	<f74525e4-6c53-c653-6860-a8cc8d7c8ad9@2ndquadrant.com>
	<CAB7nPqS5o3__QE2NGqYRoQDKoiWYxzst55hi9JWWU6iBVaPAbw@mail.gmail.com>
	<CAB7nPqTdWXvMOGGyPD4dsgcTB6sTCLUf9G+emD_oM2FuJ72KFA@mail.gmail.com>
	<CAB7nPqQbxmAB1_1twHHnEYfvdCvFetb=A+MSJvpjrCL-56jycA@mail.gmail.com>
	<7fe055c6-0885-833b-054d-124e3c3acdf9@2ndquadrant.com>
	<CAB7nPqR0gdahOGJPnsuZv5tMeX+AbwrvRF1CXofqqk94aRrN+Q@mail.gmail.com>
	<887b6fb7-15fe-239e-2aad-5911d2b0945b@2ndquadrant.com>
	<CAB7nPqQiYEXthThDY8+ye=B-zYam7cE+daFYPOmY8hwVSZxGjw@mail.gmail.com>
	<b657ef4c-ce91-7a11-039b-7d97cd950289@2ndquadrant.com>
	<CAB7nPqS8UVX5FMSg23wKsAMeK6yNbpQGaAci9t1jbHFGr-EvQg@mail.gmail.com>
	<CAB7nPqQZZeyRjGGR1oK+hdFnoOWZ6VdSeCteqXvRAUnDe1uEXg@mail.gmail.com>
	<CAB7nPqS1ZekH6wCzyD_jHZBXmo6=0B6JBBTbwaKJg0j07osdog@mail.gmail.com>

On 11/26/17 06:59, Michael Paquier wrote:
> On Tue, Nov 21, 2017 at 1:36 PM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> So attached are rebased patches:
>> - 0001 to introduce the connection parameter saslchannelbinding, which
>> allows libpq to enforce the type of channel binding used during an
>> exchange.
>> - 0002 to add tls-endpoint as channel binding type, which is where 0001 shines.
> 
> Attached is a rebased patch set, documentation failing to compile. I
> am moving at the same time this patch set to the next commit fest.

I think these are SCRAM channel bindings, not SASL channel bindings, so
the parameter should be named accordingly.

I also wonder whether there should be a mechanism to turn off channel
binding from the client.  Right now, there is no way to test the
non-PLUS mechanism in an SSL build.

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




view thread (75+ messages)  latest in thread

Message-ID: <2751aafc-8341-1c3d-c3e2-5abed914a6a4@2ndquadrant.com>
Permalink:  ../2751aafc-8341-1c3d-c3e2-5abed914a6a4@2ndquadrant.com/
Also on:    postgresql.org/message-id/2751aafc-8341-1c3d-c3e2-5abed914a6a4@2ndquadrant.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 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-jdbc@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, michael.paquier@gmail.com, aht@8kdata.com, pgsql-hackers@postgresql.org
  Subject: Re: [JDBC] [HACKERS] Channel binding support for SCRAM-SHA-256
  In-Reply-To: <2751aafc-8341-1c3d-c3e2-5abed914a6a4@2ndquadrant.com>
  References: <20170530151432.GW3151@tamriel.snowman.net> <CAB7nPqRnemzvQ_-o3D9Y=6E+uSYnvj_aqLR1Z-QhC3Fk1K=W2A@mail.gmail.com> <f74525e4-6c53-c653-6860-a8cc8d7c8ad9@2ndquadrant.com> <CAB7nPqS5o3__QE2NGqYRoQDKoiWYxzst55hi9JWWU6iBVaPAbw@mail.gmail.com> <CAB7nPqTdWXvMOGGyPD4dsgcTB6sTCLUf9G+emD_oM2FuJ72KFA@mail.gmail.com> <CAB7nPqQbxmAB1_1twHHnEYfvdCvFetb=A+MSJvpjrCL-56jycA@mail.gmail.com> <7fe055c6-0885-833b-054d-124e3c3acdf9@2ndquadrant.com> <CAB7nPqR0gdahOGJPnsuZv5tMeX+AbwrvRF1CXofqqk94aRrN+Q@mail.gmail.com> <887b6fb7-15fe-239e-2aad-5911d2b0945b@2ndquadrant.com> <CAB7nPqQiYEXthThDY8+ye=B-zYam7cE+daFYPOmY8hwVSZxGjw@mail.gmail.com> <b657ef4c-ce91-7a11-039b-7d97cd950289@2ndquadrant.com> <CAB7nPqS8UVX5FMSg23wKsAMeK6yNbpQGaAci9t1jbHFGr-EvQg@mail.gmail.com> <CAB7nPqQZZeyRjGGR1oK+hdFnoOWZ6VdSeCteqXvRAUnDe1uEXg@mail.gmail.com> <CAB7nPqS1ZekH6wCzyD_jHZBXmo6=0B6JBBTbwaKJg0j07osdog@mail.gmail.com> <2751aafc-8341-1c3d-c3e2-5abed914a6a4@2ndquadrant.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