1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-12 21:58:50 +01:00
gnupg/kbx
Werner Koch 5e5f3ca0c2
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 <wk@gnupg.org>
(cherry picked from commit c128667b3c)
2019-01-29 20:19:22 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
kbxutil.c gpg: Implement searching keys via keygrip. 2019-01-29 20:19:22 +01:00
keybox-blob.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
keybox-defs.h gpg: Implement searching keys via keygrip. 2019-01-29 20:19:22 +01:00
keybox-dump.c kbx: Unify blob reading functions. 2017-04-01 11:10:47 +02:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c kbx: Unify blob reading functions. 2017-04-01 11:10:47 +02:00
keybox-init.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keybox-openpgp.c gpg: Implement searching keys via keygrip. 2019-01-29 20:19:22 +01:00
keybox-search-desc.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keybox-search.c gpg: Implement searching keys via keygrip. 2019-01-29 20:19:22 +01:00
keybox-update.c kbx: Unify blob reading functions. 2017-04-01 11:10:47 +02:00
keybox-util.c kbx: Simplify by removing custom memory functions. 2017-12-22 12:55:46 +01:00
keybox.h kbx: Simplify by removing custom memory functions. 2017-12-22 12:55:46 +01:00
Makefile.am Remove -I option to common. 2017-03-07 20:25:54 +09:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
mkerrors Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00