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 1tk6ir-000641-Gt for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Feb 2025 19:24:05 +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 1tk6iq-0020TQ-9S for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Feb 2025 19:24:04 +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 1tk6ip-0020TH-Vf for pgsql-hackers@lists.postgresql.org; Mon, 17 Feb 2025 19:24:03 +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 1tk6in-001PVd-1Q for pgsql-hackers@lists.postgresql.org; Mon, 17 Feb 2025 19:24:03 +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 51HJNtv9862711; Mon, 17 Feb 2025 14:23:55 -0500 From: Tom Lane To: Daniel Gustafsson cc: Mark Wong , =?utf-8?Q?=C3=81lvaro_Herrera?= , pgsql-hackers , buildfarm@enterprisedb.com Subject: Re: New buildfarm animals with FIPS mode enabled In-reply-to: <1CB7E685-9D71-4690-860F-5533119C0997@yesql.se> References: <202502171036.e333mhga2262@alvherre.pgsql> <8DBA7EE1-1B9A-4F22-A53F-1C6FB99C2F8D@gmail.com> <830661.1739809613@sss.pgh.pa.us> <1CB7E685-9D71-4690-860F-5533119C0997@yesql.se> Comments: In-reply-to Daniel Gustafsson message dated "Mon, 17 Feb 2025 20:03:39 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <862709.1739820235.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 17 Feb 2025 14:23:55 -0500 Message-ID: <862710.1739820235@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: > On 17 Feb 2025, at 17:26, Tom Lane wrote: >> I believe the main concern is OpenSSL 1.x versus 3.x, not a specific >> platform. > Isn't it postgres version mostly? We fixed so the testsuite passed on F= IPS > enabled machines by just not using anything that violates FIPS but I don= 't > remember anything OpenSSL version specific. No, there are two distinct problems: 1. We "support" FIPS in the regression tests by providing variant expected-files that represent the error messages that you'll get in FIPS mode. Currently, there's only one such variant file per test and it shows the error message spelling you get from OpenSSL 3.x. 1.x has a different spelling, cf [1]. 2. None of this support existed before PG v17. It'd be practical to crank up FIPS-mode BF animals on OpenSSL 3.x platforms so long as you make them test only branches >=3D v17. Such animals on OpenSSL 1.x will fail on all branches. Obviously, we could talk about extending the regression tests' support for these cases, but I'm really dubious that it's worth the work. regards, tom lane [1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dcixiid&dt=3D= 2025-02-13%2009%3A27%3A17