Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIHEE-0001u8-KA for pgsql-jdbc@arkaria.postgresql.org; Tue, 06 Jun 2017 16:21:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dIHEE-00013q-6c for pgsql-jdbc@arkaria.postgresql.org; Tue, 06 Jun 2017 16:21:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dIHED-00012q-CJ; Tue, 06 Jun 2017 16:21:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dIHEA-0005IX-Fi; Tue, 06 Jun 2017 16:21:08 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v56GL2B4020004; Tue, 6 Jun 2017 12:21:03 -0400 From: Tom Lane To: Robert Haas cc: Michael Paquier , Stephen Frost , =?UTF-8?Q?=C3=81lvaro_Hern=C3=A1ndez_Tortosa?= , "pgsql-hackers@postgresql.org" , PostgreSQL JDBC List Subject: Re: [HACKERS] Channel binding support for SCRAM-SHA-256 In-reply-to: References: <20170530151432.GW3151@tamriel.snowman.net> <20170530170036.GZ3151@tamriel.snowman.net> <20170531034941.GH3151@tamriel.snowman.net> <20170531235922.GR3151@tamriel.snowman.net> <20170601155042.GG3151@tamriel.snowman.net> <20170602010826.GP3151@tamriel.snowman.net> Comments: In-reply-to Robert Haas message dated "Tue, 06 Jun 2017 11:35:49 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20002.1496766062.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 06 Jun 2017 12:21:02 -0400 Message-ID: <20003.1496766062@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Robert Haas 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 hig= hest > * 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 >=3D 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 --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc