lovely. so the key problem here is similar to what I described in #723763 which is that gpg --list-secret-keys is moronic and doesn't show revoked public keys in the secret keys listing. In other words, to properly detect this use case, I would need to run gpg twice to list the secret keys, which i find horrible.
<sigh> a. -- I would defend the liberty of consenting adult creationists to practice whatever intellectual perversions they like in the privacy of their own homes; but it is also necessary to protect the young and innocent. - Arthur C. Clarke
pgptCEvzpAIPB.pgp
Description: PGP signature