Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uChHK-0013Al-Ft for pgsql-hackers@arkaria.postgresql.org; Wed, 07 May 2025 16:05:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uChGJ-00EuHA-NM for pgsql-hackers@arkaria.postgresql.org; Wed, 07 May 2025 16:04:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uChGJ-00EuH2-EB for pgsql-hackers@lists.postgresql.org; Wed, 07 May 2025 16:04:47 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uChGG-000emo-2Q for pgsql-hackers@postgresql.org; Wed, 07 May 2025 16:04:47 +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 547G4d7w3320405; Wed, 7 May 2025 12:04:40 -0400 From: Tom Lane To: Daniel Gustafsson cc: Thomas Munro , Andrew Dunstan , PostgreSQL Hackers , Jacob Champion Subject: Re: disabled SSL log_like tests In-reply-to: <3004EFB2-8FFA-429A-AC5E-E3F40E002A94@yesql.se> References: <984fca80-85a8-4c6f-a5cc-bb860950b435@dunslane.net> <2199758.1744901785@sss.pgh.pa.us> <1ce11d3f-624c-4003-a032-1b10cc138305@dunslane.net> <2814408.1745005558@sss.pgh.pa.us> <2859105.1745015195@sss.pgh.pa.us> <1120735.1745350422@sss.pgh.pa.us> <3058990.1746485124@sss.pgh.pa.us> <3227092.1746580691@sss.pgh.pa.us> <3248136.1746592452@sss.pgh.pa.us> <3004EFB2-8FFA-429A-AC5E-E3F40E002A94@yesql.se> Comments: In-reply-to Daniel Gustafsson message dated "Wed, 07 May 2025 08:54:48 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3320403.1746633879.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 07 May 2025 12:04:39 -0400 Message-ID: <3320404.1746633879@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: >> On 7 May 2025, at 06:34, Tom Lane wrote: >> I couldn't help noticing that the backtraces went through >> lib/libssl/tls13_legacy.c, which doesn't give a warm feeling >> about how supported they think our usage is (and perhaps also >> explains why they didn't detect this bug themselves). > Since we no longer support 1.0.2 we can apply something like the (lightl= y > tested) attached which should be a no-op as we already use TLS_method() = but via > an alias. Yeah, I saw that SSLv23_method() was merely an alias for TLS_method() in LibreSSL as well. That means unfortunately that your proposal is just cosmetic and doesn't get us out of using code that they're calling "legacy". I wonder what it would take to get to the "modern" code paths. regards, tom lane