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 1p3UoG-0002xu-Bc for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Dec 2022 04:16:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p3UoC-0001V9-W7 for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Dec 2022 04:16:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p3UoB-0001TJ-H4 for pgsql-hackers@lists.postgresql.org; Fri, 09 Dec 2022 04:16:24 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p3Uo3-0004kC-Vv for pgsql-hackers@postgresql.org; Fri, 09 Dec 2022 04:16:22 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 216FE320090B; Thu, 8 Dec 2022 23:16:13 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 08 Dec 2022 23:16:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1670559372; x=1670645772; bh=ir6aSsuHF5 cWcWZ193CGVo7cbYa81EdQ9bgF3X4WFYQ=; b=YDmFwry2zgp3xVGRtuXnPQKiUm NxYmLIpipXw5M0zR0How6q3fMytp8hGoxEpFRwkZGL1T35RfgSpoq8UmEvAji0vZ uv8R7Y0Qarwiogoew0mQllJ03+XrKqEZnzHca2JHorMvRNbu7fZoAZoyTBkNqB2l UNw3ESlRAt+7UBcdcvI3nkmjIsV7s7NB9kYYiXdKwNhTppdIOVcZg6MDQ9iMapnt ns59EhgNQ6yUet8w/OfwZaWxZnAqLCFmB2heEaojd35AbY0HN1tB8GQROG7sow1G 2f1b078PKbtvPv/6R7J1BPeE6BCLfGCB3ri0xfF/j3z7JcvtykVNVwpvtI2w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1670559372; x=1670645772; bh=ir6aSsuHF5cWcWZ193CGVo7cbYa8 1EdQ9bgF3X4WFYQ=; b=EfeWRfFdWKvjRhclk3x60hwgndiTOQy0qHIYjamnMRA5 Ijjd/9Seq0+uZrKa+SlA1lhMYvzTKyJMAwpjejDaL57Prc/nj8vv4MQdF7VHPvNK fDpwbdz6168KQT4x6n6mchyllY/b3VogrtLKGnwdveHbbp/A9U/OH9M8PFBnV0VV D5AatJhu+gIvgoqfTwwL1SGqDugLDz1lPMYfDnWLgNzPk+cYEyO9jX2HCKk4cq5a ioooNMxuI8siZyriNz5SU3GNqcIjFmCqJ7x7SltT7pBIsQRqfy0OpwxSaDsPwK/c W45rmucasZ+rzWqoJt+cUXwKk4oY4ZoGnq61MhlsJQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddugdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeg geffhfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 8 Dec 2022 23:16:11 -0500 (EST) Date: Fri, 9 Dec 2022 13:16:08 +0900 From: Michael Paquier To: Peter Eisentraut Cc: pgsql-hackers Subject: Re: Allow tests to pass in OpenSSL FIPS mode Message-ID: References: <647f6cc1-473d-f788-ade0-c09201e5ab6a@enterprisedb.com> <3c36b798-fbb2-9246-fafd-4e4b2f546de8@enterprisedb.com> <6885f06b-79a4-8ded-2261-85a7be68ef4c@enterprisedb.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jx9zy5hfGSR2FmvZ" Content-Disposition: inline In-Reply-To: <6885f06b-79a4-8ded-2261-85a7be68ef4c@enterprisedb.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --jx9zy5hfGSR2FmvZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Dec 07, 2022 at 03:14:09PM +0100, Peter Eisentraut wrote: > Here is the next step. To contain the scope, I focused on just "make check" > for now. This patch removes all incidental calls to md5(), replacing them > with sha256(), so that they'd pass with or without FIPS mode. (Two tests > would need alternative expected files: md5 and password. I have not > included those here.) Yeah, fine by me to do that step-by-step. > Some tests inspect the actual md5 result strings or build statistics based > on them. I have tried to carefully preserve the meaning of the original > tests, to the extent that they could be inferred, in some cases adjusting > example values by matching the md5 outputs to the equivalent sha256 outputs. > Some cases are tricky or mysterious or both and could use another look. incremental_sort mostly relies on the plan generated, so the change should be rather straight-forward I guess, though there may be a side effect depending on costing. Hmm, it does not look like stats_ext would be an issue as it checks the stats correlation of the attributes for mcv_lists_arrays. largeobject_1.out has been forgotten in the set requiring a refresh. -- Michael --jx9zy5hfGSR2FmvZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmOStogACgkQnvQgOdby QH0LCQ//dAqAkb7vtdeB7aSyO+e19mfg+YhSKV/3i5/ZppI29fOMFDLRsH8N8mmA j0X/p5V0DvP0fTjPHF/AjfnJFZ9rQAeENQwBHk5LDHSl81BwyLg5/3yM8GJxvUeb 5yHZEqmH0LxOxP+dr2T7Yo48ZSCmdAlJJnytYBHIY08e4IjDqeGuZZSbWn6O5Fje A+azkLMHhmBFMQsx0VoVuiQZIDsx2g8XpXPAmHmo5aP46jNSRYW6Ot2r/Rmu7TaX Xnp+Cu8oumZQnNR57OqHpQ2F0DrK6dXdL+IGzAMYpEUA/RTVFXp59OjYkRRR4jGn d+t7vtPOyaGJ1zeH4Fg2YVN5PlOmCnuRTS4h5/mx6ECnTd2Il3aOOH/+uFTv6eGv cnG3OTgO2TDpuxCsOrhjViwv7rRSCJWMhIKOH6Xvyl/y1w7YKXFWfUHT+3jPzg9g BvalcbQ8JlDr45xCix8N1GdFKVAx8z7mW0aOtZWKq2Dp6/PeJS56Pjy9asznAUPG 3Uf9I5AvxY6U6ijgzqtYCc2CbXd4hHVPVsLS3sPl/oulo+9PCrig5tBQ7wnQb1qJ 3hf3DOx/qqpQcQsAralvIDrlnfNxEsYdqUwRobziQ491DZI6ZbCu4s7o+xcakr9K waweY9b9woS7BKwdN8neDWQtdMXykUqnqsHJeTJ12XA3lt2aq/M= =4Ril -----END PGP SIGNATURE----- --jx9zy5hfGSR2FmvZ--