diff options
author | Ingo Klöcker <[email protected]> | 2022-04-21 14:43:50 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2022-04-26 09:48:47 +0000 |
commit | 35b17550706c8b7479ae96654feb97c05263cfc9 (patch) | |
tree | b185f1674e2ee4ccbcbeccd80dcb2d2903f1f821 /kbx/backend-support.c | |
parent | tests: Avoid auto-removal when test fails. (diff) | |
download | gnupg-35b17550706c8b7479ae96654feb97c05263cfc9.tar.gz gnupg-35b17550706c8b7479ae96654feb97c05263cfc9.zip |
gpg: Look up user ID to revoke by UID hash
* g10/keyedit.c (find_userid_by_namehash, find_userid): New.
(keyedit_quick_revuid): Use find_userid() instead of iterating over the
nodes of the keyblock.
* tests/openpgp/quick-key-manipulation.scm: Add test for revoking a
user ID specified by its hash.
--
This makes it possible to specify the user ID to revoke as UID hash when
calling --quick-revoke-uid.
GnuPG-bug-id: 5936
Diffstat (limited to 'kbx/backend-support.c')
0 files changed, 0 insertions, 0 deletions