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 1kd1uS-0000ia-Lj for pgsql-hackers@arkaria.postgresql.org; Thu, 12 Nov 2020 02:00:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kd1uR-0005v1-KR for pgsql-hackers@arkaria.postgresql.org; Thu, 12 Nov 2020 02:00:23 +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 1kd1uR-0005uu-DN for pgsql-hackers@lists.postgresql.org; Thu, 12 Nov 2020 02:00:23 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kd1uO-0000qj-QR for pgsql-hackers@lists.postgresql.org; Thu, 12 Nov 2020 02:00:22 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 15B825C0247; Wed, 11 Nov 2020 21:00:20 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 11 Nov 2020 21:00:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=onWG5LNeSjdT7+48U0+y5Vi+OH9 /KyYX3T5iV5aeUA4=; b=p8ngwayauzr9xB37JFeKI+ZJFq73NsP5tk/C7yMq2Cg ICVGYaWtyFmhE30W3tzw/hYRMeQOORRPdT4SQ57efGsYmcTdXd93XZD7Mr9M3E4F gapNDtKPODlurPVV1LvNYGrLKXnpnmokMaP+1e3wiOcVBxe0Uy3MhWq6mwnArI4d E+VYIqzjEBNqOUasAtJrH/hqmOt298HIKr+ksTJi5VfePImY3+owYKjROAzcmf0o nah+tRrgO6opR57YY+D6rDVSFiY5+zInAiLsvlMXyOAuVvOD5aDpYUK6yReQLwRV ldL6Rl0lsYxrML+VQlVmDGGgtcmbJ33x9Hiabb0jgvg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=onWG5L NeSjdT7+48U0+y5Vi+OH9/KyYX3T5iV5aeUA4=; b=jYujGZXkQvcpxA974q02FZ ZNONwVa81ySku04Z25lQA4DGEZQ6njMwcHQr7sFC9KtzB5UOZn1RIViPJtu2s7ue OXe4OpnhoJ/swvXJtMLVhxo+viRWTSui3t9C6mvYb+CppO6wrsRwynG+oSFijkD0 8OEkmMXi3o39Ap433C6vJdZPi+iXAz+lQecjK8XwPyyMoxAs750OVTkQ0s55wQnY 73847Jl97rl+GwWwQbec0iZKZxY7thz/PRL6WVMiDhpMVmFCWjcdhTozd0Ve4DEz FbgeyqGCZ31KAhwV8j5Kyf0F1oBst5aPs5N4jtI4foZ2UlUKNbqMzxax2/rKmUdA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvuddggedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucfkphepudduuddruddtvddrudektd drudekheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 70C333063FDC; Wed, 11 Nov 2020 21:00:18 -0500 (EST) Date: Thu, 12 Nov 2020 11:00:14 +0900 From: Michael Paquier To: Postgres hackers Cc: Julien Rouhaud , Robert Haas Subject: Re: Avoiding useless SHA256 initialization with backup manifests, breaking base backups with FIPS Message-ID: <20201112020014.GC1871@paquier.xyz> References: <20201110020014.GE1887@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hYooF8G/hrfVAmum" Content-Disposition: inline In-Reply-To: <20201110020014.GE1887@paquier.xyz> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --hYooF8G/hrfVAmum Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 10, 2020 at 11:00:14AM +0900, Michael Paquier wrote: > Attached is a patch that I would like to back-patch down to v13 to > avoid this useless initialization, giving users the possibility to > take base backups with FIPS when not using a backup manifest. Without > the solution in the first paragraph, you cannot make use of backup=20 > manifests at all with OpenSSL+FIPS (one can still enforce the use of > the in-core SHA2 implementation even if building with OpenSSL), but at > least it gives an escape route with 13. Okay. Hearing nothing, I have applied that. -- Michael --hYooF8G/hrfVAmum Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl+sly4ACgkQnvQgOdby QH23Vw/8C/VmAwyugInL+AjmCbwxyD1os3YGvRySCEfmN1zoL6BP6tLtavJXg2Oy 2suVPGS+jsFAVQfV9sM1kdMDLt/VB/BeTaFahqPdoq8NnwiMJDc8azg4FssmAr/F 2cazAcfW/ezfOOh1qFmROS6O2lppWoxUkixgK9YW8RN80D7gf0Xa47r8fHVxRfS5 wGv0BaVcBmUJEYB1QQcZdqcpEHgSskq9BpFEXnZNuiKjla3gWjcl6mpmEarzw/BL Bwb8XAMpMgV5CKo35p7jsfS1SrpO+WXDyP8ejqu3YQPtsqLIrNo2vf/dFaNh4cra uF/5A2wN1uzeoMRubaO5GGAXn4wHGO/hCJRu3GZg389hKI+DBDf1O8GyUD3ucg4z 36QI26Or0fctsGlQQRioiWtoyLpESQ5oit4ZI6yyWAsXyusErBRv3lJUJCJP9DAs Kjiha6r+5KQiHNR4RcfrNSI+i9nx2iWwCCW9vlBVJCZYeMTz2vrVDUeOONeD+JbL 4eFz8qI/1R4h4sXqXs18WSTgpkcKWyObe2UHlw8NZuhogwwEOZRDAgix/A/SJQXI 1lAdFQqSXeey5YgVaTuQQ+ObOktNYTPEjlu6sgXhjRZ9PEF6dFM4JmDSi5o+3kV4 V1rn/28XOZGeDKwIH03Ko6rPbTx6aEiUqTQvps/zGPnSW8jDGSo= =MBa3 -----END PGP SIGNATURE----- --hYooF8G/hrfVAmum--