aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-01-29 18:52:08 +0000
committerWerner Koch <[email protected]>2019-01-29 19:19:22 +0000
commit5e5f3ca0c2e08185a236b4d04b318f81004e3223 (patch)
treedecb1c5ae124321c661b9824157e502c14ff037d /dirmngr/dirmngr.c
parentcommon: Provide some convenient OpenPGP related constants. (diff)
downloadgnupg-5e5f3ca0c2e08185a236b4d04b318f81004e3223.tar.gz
gnupg-5e5f3ca0c2e08185a236b4d04b318f81004e3223.zip
gpg: Implement searching keys via keygrip.
* kbx/keybox-defs.h (struct _keybox_openpgp_key_info): Add field grip. * kbx/keybox-openpgp.c (struct keyparm_s): New. (keygrip_from_keyparm): New. (parse_key): Compute keygrip. * kbx/keybox-search.c (blob_openpgp_has_grip): New. (has_keygrip): Call it. -- This has been marked for too long as not yet working. However, it is a pretty useful feature and will come pretty handy when looking for all keys matching one keygrip. Can be optimized a lot by storing the keygrip in the meta data. This will be done along with the upgrade of KBX for v5 fingerprints. Signed-off-by: Werner Koch <[email protected]> (cherry picked from commit c128667b3cba749dd14262e032d4c260a2b0acd3)
Diffstat (limited to 'dirmngr/dirmngr.c')
0 files changed, 0 insertions, 0 deletions