pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Álvaro Hernández Tortosa <aht@8kdata.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: PostgreSQL JDBC List <pgsql-jdbc@postgresql.org>
Subject: Re: [HACKERS] Channel binding support for SCRAM-SHA-256
Date: Tue, 06 Jun 2017 12:21:02 -0400
Message-ID: <20003.1496766062@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoYH=T1Hp9p0n3aT6b=A5kjtTb1GmwXDiGTtoLz3coWe9Q@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>
	<CAB7nPqR4BJdCrC79Sixqh28Dh3dbojVP-sxJ65c_21cinkjiJg@mail.gmail.com>
	<CA+TgmoZu1qgz4UTYxa8SP0yEj4VkjwoBFTuyeErOmcVEuxA8uw@mail.gmail.com>
	<CAB7nPqR19npZMhbiUGymin30fi-F2pHjCASrfrA8JT-dEB6Lsg@mail.gmail.com>
	<CA+TgmoYH=T1Hp9p0n3aT6b=A5kjtTb1GmwXDiGTtoLz3coWe9Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Robert Haas <robertmhaas@gmail.com> writes:
> I don't think it's true that we force the latest TLS version to be
> used.  The comment says:

>         /*
>          * We use SSLv23_method() because it can negotiate use of the highest
>          * mutually supported protocol version, while alternatives like
>          * TLSv1_2_method() permit only one specific version.  Note
> that we don't
>          * actually allow SSL v2 or v3, only TLS protocols (see below).
>          */

> IIUC, this is specifically so that we don't force the use of TLS 1.2
> or TLS 1.1 or TLS 1.0.

Right.  IIUC, there's no way (at least in older OpenSSL versions) to say
directly "we only want TLS >= 1.0", so we have to do it like this.
I found a comment on the web saying "SSLv23_method would be better named
AutoNegotiate_method", which seems accurate.

			regards, tom lane


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



view thread (75+ messages)  latest in thread

Message-ID: <20003.1496766062@sss.pgh.pa.us>
Permalink:  ../20003.1496766062@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20003.1496766062@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, michael.paquier@gmail.com, sfrost@snowman.net, aht@8kdata.com, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] Channel binding support for SCRAM-SHA-256
  In-Reply-To: <20003.1496766062@sss.pgh.pa.us>
  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> <CAB7nPqR4BJdCrC79Sixqh28Dh3dbojVP-sxJ65c_21cinkjiJg@mail.gmail.com> <CA+TgmoZu1qgz4UTYxa8SP0yEj4VkjwoBFTuyeErOmcVEuxA8uw@mail.gmail.com> <CAB7nPqR19npZMhbiUGymin30fi-F2pHjCASrfrA8JT-dEB6Lsg@mail.gmail.com> <CA+TgmoYH=T1Hp9p0n3aT6b=A5kjtTb1GmwXDiGTtoLz3coWe9Q@mail.gmail.com> <20003.1496766062@sss.pgh.pa.us>

* 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