From: Taylor Blau Date: Wed, 12 Jan 2022 18:57:02 GMT Subject: Re: [PATCH v2] t/gpg: simplify test for unknown key Message-ID: In-Reply-To: <20220112120757.874714-1-fs@gigacodes.de> On Wed, Jan 12, 2022 at 01:07:57PM +0100, Fabian Stelzer wrote: > To test for a key that is completely unknown to the keyring we need one > to sign the commit with. This was done by generating a new key and not > add it into the keyring. To avoid the key generation overhead and > problems where GPG did hang in CI during it, switch GNUPGHOME to the > empty $GNUPGHOME_NOT_USED instead, therefore making all used keys unknown > for this single `verify-commit` call. > > Reported-by: Ævar Arnfjörð Bjarmason > Signed-off-by: Fabian Stelzer Reviewed-by: Taylor Blau