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 1ktuXE-00071H-Lt for pgsql-committers@arkaria.postgresql.org; Mon, 28 Dec 2020 15:34:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ktuXD-0002xL-Hg for pgsql-committers@arkaria.postgresql.org; Mon, 28 Dec 2020 15:34:11 +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 1ktuXD-0002xE-Cg for pgsql-committers@lists.postgresql.org; Mon, 28 Dec 2020 15:34:11 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ktuX6-00008m-MM for pgsql-committers@lists.postgresql.org; Mon, 28 Dec 2020 15:34:10 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1ktuX2-0006pA-83; Mon, 28 Dec 2020 10:34:00 -0500 Date: Mon, 28 Dec 2020 10:34:00 -0500 From: Bruce Momjian To: Andrew Dunstan Cc: Michael Paquier , Tom Lane , Pavel Stehule , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Add pg_alterckey utility to change the cluster key Message-ID: <20201228153400.GB1697@momjian.us> References: <20201226152131.GL19054@momjian.us> <1284775.1609001141@sss.pgh.pa.us> <20201226171818.GO19054@momjian.us> <20201226190002.GP19054@momjian.us> <20201227174450.GC17037@momjian.us> <8213f11d-ee4a-1e60-fd66-2435407221a5@dunslane.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8213f11d-ee4a-1e60-fd66-2435407221a5@dunslane.net> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Dec 28, 2020 at 08:49:09AM -0500, Andrew Dunstan wrote: > > On 12/27/20 12:44 PM, Bruce Momjian wrote: > > > >> Based on the number of concerns raised by various people over the last > >> couple of days (including myself, one point being the refactoring of > >> the ciphers taken from pgcrypto that should have been in its own > >> commit), I agree that it would be better to revert this code for now. > > OK, I will do so in the next few hours. My followup will be to: > > > > * register it for the commit-fest so it gets cfbot and other visibility > > * modify pgcrypto to use the new AES API (the SHA512 call no longer exists) > > * develop TAP tests, though as I mentioned, they will be odd > > > > Bruce > > I think this is a wise course. > > The cfbot and the vanilla buildfarm can't test some things easily, and > this might be such a case. That's where custom buildfarm modules can > prove useful. For example, we have one that is used by rhinoceros to run > the SEPgsql tests. ISTM this might well be another case. I can work with > you to develop such a module. Oh, wow, I never considered that would be possible. I think we are OK not having automation of the Yubikey and AWS scripts, since they are small and rarely change. I think we can get the rest done with normal buildfarm members. I am going to use the pg_upgrade TAP test as an example since it has similar requirements and prior to its creation, I did my own testing of that. I am not sure how to test prompting from /dev/tty. Seems I am behind the times in learning how to write TAP tests and use the buildfarm cfbot testing properly. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee