Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIDcY-0004CY-L4 for pgsql-jdbc@arkaria.postgresql.org; Tue, 06 Jun 2017 12:30:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dIDcY-0005zR-7Y for pgsql-jdbc@arkaria.postgresql.org; Tue, 06 Jun 2017 12:30:02 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dIDc1-0003WR-Ox; Tue, 06 Jun 2017 12:29:29 +0000 Received: from tamriel.snowman.net ([72.66.115.51]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIDby-0005V9-CZ; Tue, 06 Jun 2017 12:29:28 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 96B185F795; Tue, 6 Jun 2017 08:29:25 -0400 (EDT) Date: Tue, 6 Jun 2017 08:29:25 -0400 From: Stephen Frost To: Michael Paquier Cc: Robert Haas , Tom Lane , =?iso-8859-1?Q?=C1lvaro_Hern=E1ndez?= Tortosa , "pgsql-hackers@postgresql.org" , PostgreSQL JDBC List Subject: Re: [HACKERS] Channel binding support for SCRAM-SHA-256 Message-ID: <20170606122925.GO3151@tamriel.snowman.net> References: <20170531034941.GH3151@tamriel.snowman.net> <20170531235922.GR3151@tamriel.snowman.net> <20170601155042.GG3151@tamriel.snowman.net> <20170602010826.GP3151@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zkh9oPGaAQgjFp5e" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-117-generic (x86_64) X-Uptime: 08:28:37 up 28 days, 13:01, 11 users, load average: 0.05, 0.10, 0.13 User-Agent: Mutt/1.5.21 (2010-09-15) 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 --zkh9oPGaAQgjFp5e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael, * Michael Paquier (michael.paquier@gmail.com) wrote: > On Fri, Jun 2, 2017 at 10:25 AM, Robert Haas wrot= e: > > On Thu, Jun 1, 2017 at 9:13 PM, Michael Paquier > > wrote: > >> It seems to me that any testing in this area won't fly high as long as > >> there is no way to enforce the list of TLS implementations that a > >> server allows. There have been discussions about being able to control > >> that after the OpenSSL vulnerabilities that were protocol-specific and > >> there were even patches adding GUCs for this purpose. At the end, > >> everything has been rejected as Postgres enforces the use of the > >> newest one when doing the SSL handshake. > > > > TLS implementations, or TLS versions? What does the TLS version have > > to do with this issue? >=20 > I really mean *version* here. Unlike OpenSSL, the Windows TLS > implementation does not offer an API to choose the latest TLS version > available: > https://msdn.microsoft.com/en-us/library/windows/desktop/aa380513(v=3Dvs.= 85).aspx > It is up to the server and the client to negotiate that, so it seems > to me that we want some control in this area, which would be important > for testing as well because the TLS finish message differs a bit > across versions, in length mainly. On top of that per the aggressive > updates that Windows does from time to time they may as well forcibly > expose users to a broken TLS implementation... > MacOS has something similar to OpenSSL, with > SSLGetProtocolVersionMax(), which is nice. We mainly need to know what version was used, right..? Isn't that available? Thanks! Stephen --zkh9oPGaAQgjFp5e Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJZNqAkAAoJEO1sijiDR2RVWboP/i0S2YWKh4B6KlOvuPcNLge1 3w3vZjQhKyCM+strq7uJdj/l6ZwCyKy8DGCkyX/a412g3u5dFamCARsw2jCHSkIk 0mYnABlsrpSdB0BqfkWOszaBMDC6I6kFd7PTrwIxzZoI7aAYQ7MTF8D3KFQG4Vjo Q+mMCSKrQpRaJMemtSOXdAjRO1BbVVL8qshlZLAWLkD0ituuQYCq8ZFD47/aY8U6 zWUsza+EdqnxoT+47voXcD/m8860Kz/hGz6NMiYGccQmflI+ukDoUP8EVpKcrrj+ 3b7KRIZhWkeiOyi/OLwqnX44BnalHEGEwZiUYex08u7BtfvockkJTyyRzfkgpl+A OfIDfzSFkXiLX0Ct00qy78a7RQAfU6hMCLp4GLPzvzW9Eo7cWmZIPRDmi3UNa+mc zmNk8kTuGYSpG0vSBFt/yj+htNq88a8Rvjman8ZdbhdSPWDrA6Caf2XVOfuOnM9S RQnA8i6z1bGKo7HnkVq6WsjmJR7ZrGS19ySO76iEA/zV4u4lbrUFpXNvJiXrM/vL yhjL09lZp5USlWwVvyu5EHzDm/eRUfsojrHzDIgxv+disIRugp4LdSJXUK+agWFy sQJXGmV/3w4pRJVsORV0PHAJMUFAnGbOF775+8h/+jT+erEWtJcVYnShff4Xedhh ivhuJefI7R9KxVT0HST1 =EwmI -----END PGP SIGNATURE----- --zkh9oPGaAQgjFp5e--