Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joXzh-00071u-LG for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Jun 2020 19:57:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1joXzg-000519-Ia for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Jun 2020 19:57:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joXzg-000512-Bj for pgsql-hackers@lists.postgresql.org; Thu, 25 Jun 2020 19:57:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joXze-0006TR-8m for pgsql-hackers@postgresql.org; Thu, 25 Jun 2020 19:57:07 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 05PJv0712290554; Thu, 25 Jun 2020 15:57:00 -0400 From: Tom Lane To: Robert Haas cc: Michael Paquier , Daniel Gustafsson , Peter Eisentraut , pgsql-hackers Subject: Re: should libpq also require TLSv1.2 by default? In-reply-to: References: <4FBC50DB-599A-42AA-90C8-3051E3A748BB@yesql.se> <64437c39-c5fb-d799-f3d3-b638e34c1dd2@2ndquadrant.com> <003BDF1F-FC7A-4901-BBC0-33A44FE07A89@yesql.se> <20200625015026.GE130132@paquier.xyz> Comments: In-reply-to Robert Haas message dated "Thu, 25 Jun 2020 15:41:55 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2290552.1593115020.1@sss.pgh.pa.us> Date: Thu, 25 Jun 2020 15:57:00 -0400 Message-ID: <2290553.1593115020@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Robert Haas writes: > I wonder how much of a problem this really is. Yeah. I find Robert's points about that pretty persuasive: by now needing to connect to a server without TLSv1.2 support, *and* needing to do so with SSL on, ought to be a tiny niche use case (much smaller than the number of people who would like a more secure default). If we can make the error message about this be reasonably clear then I don't have an objection to changing libpq's default. regards, tom lane