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 1uC4Z5-00A5Yc-BR for pgsql-hackers@arkaria.postgresql.org; Mon, 05 May 2025 22:45:35 +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 1uC4Z2-005pSP-TR for pgsql-hackers@arkaria.postgresql.org; Mon, 05 May 2025 22:45:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uC4Z2-005pSH-Jo for pgsql-hackers@lists.postgresql.org; Mon, 05 May 2025 22:45:32 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uC4Yz-000KYj-2h for pgsql-hackers@postgresql.org; Mon, 05 May 2025 22:45:31 +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 545MjOe83058991; Mon, 5 May 2025 18:45:24 -0400 From: Tom Lane To: Thomas Munro cc: Andrew Dunstan , PostgreSQL-development , Jacob Champion Subject: Re: disabled SSL log_like tests In-reply-to: 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> Comments: In-reply-to Thomas Munro message dated "Tue, 06 May 2025 07:39:09 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3058989.1746485124.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 05 May 2025 18:45:24 -0400 Message-ID: <3058990.1746485124@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > If you run the not-yet-enabled-by-default OpenBSD CI task on master, > ssl/001_ssltests fails in "intermediate client certificate is > untrusted", recently uncommented by commit e0f373ee. Yeah, I see that too. But I also see three failures in 002_scram.pl, which presumably were there before e0f373ee. (Tested on OpenBSD 7.6 and 7.7.) The buildfarm's OpenBSD animals haven't caught this because they don't run this test suite :-(. Yes they build with --with-openssl, but one of them lacks --enable-tap-tests and the other two aren't filling PG_TEST_EXTRA. The SCRAM failures are a bit discouraging ... [18:16:33.259](0.565s) not ok 26 - SCRAM with SSL and channel_binding=3Dre= quire, server certificate uses 'rsassaPss' [18:16:33.261](0.002s) = [18:16:33.261](0.000s) # Failed test 'SCRAM with SSL and channel_binding= =3Drequire, server certificate uses 'rsassaPss'' # at t/002_scram.pl line 161. [18:16:33.262](0.001s) # got: '2' # expected: '0' [18:16:33.264](0.002s) not ok 27 - SCRAM with SSL and channel_binding=3Dre= quire, server certificate uses 'rsassaPss': no stderr [18:16:33.265](0.001s) = [18:16:33.265](0.000s) # Failed test 'SCRAM with SSL and channel_binding= =3Drequire, server certificate uses 'rsassaPss': no stderr' # at t/002_scram.pl line 161. [18:16:33.266](0.001s) # got: 'psql: error: connection to server = at "127.0.0.1", port 10442 failed: SSL error: sslv3 alert handshake failur= e' # expected: '' [18:16:33.268](0.002s) not ok 28 - SCRAM with SSL and channel_binding=3Dre= quire, server certificate uses 'rsassaPss': log matches [18:16:33.269](0.001s) = [18:16:33.269](0.000s) # Failed test 'SCRAM with SSL and channel_binding= =3Drequire, server certificate uses 'rsassaPss': log matches' # at /home/tgl/pgsql/src/test/ssl/../../../src/test/perl/PostgreSQL/Test= /Cluster.pm line 2607. [18:16:33.270](0.001s) # '2025-05-05 18:16:33.222 EDT [7= 1478] [unknown] LOG: connection received: host=3Dlocalhost port=3D42632 # 2025-05-05 18:16:33.244 EDT [71478] [unknown] LOG: could not accept SSL= connection: missing rsa certificate # ' # doesn't match '(?^:connection authenticated: identity=3D"ssltestuser= " method=3Dscram-sha-256)' regards, tom lane