- Maniphest Tasks
- T5936: gpg: Support specifiying user ID to revoke as UID hash for --quick-revoke-uid
Run gpg's --quick-revoke-uid command with verbatim user IDs and with UID hashes.
The rest of the code looks fine.
There is an easier way to do this. See for example agent/command.c:parse_keygrip. The extended error messages are not required but using hex2bin makes sense to me.
The changes have been applied with Werner's suggested improvement with revision rG35b17550706c: gpg: Look up user ID to revoke by UID hash