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>
To: Stephen Frost <sfrost@snowman.net>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Álvaro Hernández Tortosa <aht@8kdata.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: [JDBC] Channel binding support for SCRAM-SHA-256
Date: Tue, 12 Sep 2017 10:38:12 -0400
Message-ID: <93ad98a7-5f0c-3153-6015-9376326c5cb7@2ndquadrant.com> (raw)
In-Reply-To: <CAB7nPqRnemzvQ_-o3D9Y=6E+uSYnvj_aqLR1Z-QhC3Fk1K=W2A@mail.gmail.com>
References: <20170530151432.GW3151@tamriel.snowman.net>
	<CAB7nPqQx+A9gYeQz20XS1roje0BwY3MS=3gN0UbOQFiPi_Uzxw@mail.gmail.com>
	<20170530170036.GZ3151@tamriel.snowman.net>
	<CA+TgmoY66SofTi87W-X6OgK6DzfVO2RhQr91Ley5dzg-JgYfTw@mail.gmail.com>
	<20170531034941.GH3151@tamriel.snowman.net>
	<CA+TgmoZ_RVwKjLCJzCdv-_QpxrQZOSGipXBwT_iX5kpNHbT1_g@mail.gmail.com>
	<20170531235922.GR3151@tamriel.snowman.net>
	<CA+TgmoaVZuuOqnKGiB4oMF8kWsohEQF1jMgfy4b=-mPzoq0kdQ@mail.gmail.com>
	<20170601155042.GG3151@tamriel.snowman.net>
	<CA+TgmobTz6cftKYsg2xMdFsC=PxGFysbvd06s=NedgMUV8E82w@mail.gmail.com>
	<20170602010826.GP3151@tamriel.snowman.net>
	<CAB7nPqQOFSn-PYpEXawFx5Gh0CSwX6kPR4ib+T5qmd7OVsV=PA@mail.gmail.com>
	<CAB7nPqTRUji5Lz8Rwg0MV9yYV8VQHbkCqG6Gmi36Dw+U72E7Ng@mail.gmail.com>
	<CAB7nPqT5ov4roTKdvAAq4UhJ=QFeNT6QfmFjx4osY6x3MTf_zA@mail.gmail.com>
	<CAB7nPqRnemzvQ_-o3D9Y=6E+uSYnvj_aqLR1Z-QhC3Fk1K=W2A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 9/10/17 22:37, Michael Paquier wrote:
> On Mon, Aug 21, 2017 at 9:51 PM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> On Tue, Jun 20, 2017 at 1:11 PM, Michael Paquier
>> <michael.paquier@gmail.com> wrote:
>>> With the tests directly in the patch, things are easy to run. WIth
>>> PG10 stabilization work, of course I don't expect much feedback :)
>>> But this set of patches looks like the direction we want to go so as
>>> JDBC and libpq users can take advantage of channel binding with SCRAM.
>>
>> Attached is a new patch set, rebased as of c6293249.
> 
> And again a new set to fix the rotten bits caused by 85f4d63.

It seems we should start by sorting out the mechanism by which the
client can control what authentication mechanisms it accepts.  In your
patch set you introduce a connection parameter saslname.  I think we
should expand that to non-SASL mechanisms and have it be some kind of
whitelist or blacklist.  It might be reasonable for a client to require
"gssapi" or "cert" for example or do an exclusion like "!password !md5
!ldap".

Thoughts?

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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (75+ messages)  latest in thread

Message-ID: <93ad98a7-5f0c-3153-6015-9376326c5cb7@2ndquadrant.com>
Permalink:  ../93ad98a7-5f0c-3153-6015-9376326c5cb7@2ndquadrant.com/
Also on:    postgresql.org/message-id/93ad98a7-5f0c-3153-6015-9376326c5cb7@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, sfrost@snowman.net, robertmhaas@gmail.com, tgl@sss.pgh.pa.us, aht@8kdata.com, pgsql-hackers@postgresql.org
  Subject: Re: [JDBC] Channel binding support for SCRAM-SHA-256
  In-Reply-To: <93ad98a7-5f0c-3153-6015-9376326c5cb7@2ndquadrant.com>
  References: <20170530151432.GW3151@tamriel.snowman.net> <CAB7nPqQx+A9gYeQz20XS1roje0BwY3MS=3gN0UbOQFiPi_Uzxw@mail.gmail.com> <20170530170036.GZ3151@tamriel.snowman.net> <CA+TgmoY66SofTi87W-X6OgK6DzfVO2RhQr91Ley5dzg-JgYfTw@mail.gmail.com> <20170531034941.GH3151@tamriel.snowman.net> <CA+TgmoZ_RVwKjLCJzCdv-_QpxrQZOSGipXBwT_iX5kpNHbT1_g@mail.gmail.com> <20170531235922.GR3151@tamriel.snowman.net> <CA+TgmoaVZuuOqnKGiB4oMF8kWsohEQF1jMgfy4b=-mPzoq0kdQ@mail.gmail.com> <20170601155042.GG3151@tamriel.snowman.net> <CA+TgmobTz6cftKYsg2xMdFsC=PxGFysbvd06s=NedgMUV8E82w@mail.gmail.com> <20170602010826.GP3151@tamriel.snowman.net> <CAB7nPqQOFSn-PYpEXawFx5Gh0CSwX6kPR4ib+T5qmd7OVsV=PA@mail.gmail.com> <CAB7nPqTRUji5Lz8Rwg0MV9yYV8VQHbkCqG6Gmi36Dw+U72E7Ng@mail.gmail.com> <CAB7nPqT5ov4roTKdvAAq4UhJ=QFeNT6QfmFjx4osY6x3MTf_zA@mail.gmail.com> <CAB7nPqRnemzvQ_-o3D9Y=6E+uSYnvj_aqLR1Z-QhC3Fk1K=W2A@mail.gmail.com> <93ad98a7-5f0c-3153-6015-9376326c5cb7@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