Page MenuHome GnuPG

gpgme_op_revuid silently fails to remove the last UID
Closed, DuplicatePublic


The documentation says:

Note that the engine won't allow to revoke the last valid user ID. To
change a user ID is better to first add the new user ID, then revoke
the old one, and finally publish the key.

And indeed, it does not allow me to revoke the last UID, *but* it fails
silently. I think it should return an error in this case.

(Interestingly, the underlying mechanism, gpg --quick-revoke-uid, *does* allow
me to revoke the last uid. See T2960).



Event Timeline

justus added projects: Bug Report, gpgme.
justus added a subscriber: justus.
marcus added a subscriber: marcus.

Turns out that 2963 fixed this at the same time.