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 11:00:06 +0000 (11:00 +0000)
commite7fe464c25c7d8d4f54caee346e866f769faefa6
tree09631a4e00bf138693101b68fd0cd40029128bad
parent1b9bcce77073d51af5d57e6b999520d0ad9d10d8
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
Forwarded: https://github.com/ostreedev/ostree/pull/3333

Gbp-Pq: Name tests-Work-around-GPG-2.2.45-error-behaviour-when-revokin.patch
tests/test-remote-gpg-list-keys.sh