Thread (8 messages) 8 messages, 4 authors, 2022-01-14

Re: [PATCH v2] t/gpg: simplify test for unknown key

flat view

From: Taylor Blau <hidden>
Date: 2022-01-12 18:57:22

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 <redacted>
Signed-off-by: Fabian Stelzer <redacted>
Reviewed-by: Taylor Blau <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help