Open jku opened 5 months ago
$ gpg --version
gpg (GnuPG) 2.2.40
libgcrypt 1.10.3
...
Odd. Seems to work on ubuntu CI. Unfortunately, we don't log the gpg version in the tests (anymore?). It also works for me locally on my mac:
gpg --version
gpg (GnuPG) 2.4.5
libgcrypt 1.10.3
Tests started succeeding again after I disconnected my yubikey.
So this is no longer that urgent.... but gpg sees two potential private keys (test key and yubikey) during the test and the default key selection fails because the test never configures default key. I think the test should either not test "default key" or should actually configure gpg so that there is a default key
The GPG tests that try to use "default key" fail for me locally.
EDIT: this happens when a yubikey happens to be connected: gpg sees two options (yubikey and the test key) and since the test does not actually set a default key, gpg does not know what to do...
We should either stop testing "default key" or actually set the default in the tests