tests: Work around GPG 2.2.45 error behaviour when revoking an expired key
authorSimon McVittie <smcv@debian.org>
Thu, 31 Oct 2024 10:54:13 +0000 (10:54 +0000)
committerSimon McVittie <smcv@debian.org>
Thu, 31 Oct 2024 10:54:23 +0000 (10:54 +0000)
commit1d916231a42703efba9a9906b3e02bf4aacccd1c
tree4c7dce481262611e80c78ea954b2b2acbc47de2d
parenta35094a5cda6de2733c932c2054d2302f9a113af
tests: Work around GPG 2.2.45 error behaviour when revoking an expired key

In GPG 2.2.45, a diagnostic message about the only trusted key having
already expired causes this import to produce exit status 2, but the
import still succeeds (the key is still revoked).

Bug: https://dev.gnupg.org/T7351
Bug-Debian: https://bugs.debian.org/1086140
tests/test-remote-gpg-list-keys.sh