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 c128667b3cba749dd14262e032d4c260a2b0acd3)
2019-01-29 20:19:22 +01:00
..
2018-04-20 11:00:00 +02:00
2014-12-14 12:15:21 +01:00
2006-11-14 10:23:21 +00:00
2017-07-24 10:43:27 +02:00
2011-12-01 11:09:02 +01:00
2014-11-04 21:47:03 +01:00
2016-09-20 09:32:25 +09:00
2013-04-17 11:26:27 +02:00
2016-12-13 17:30:55 +01:00
2018-07-03 11:56:04 +02:00
2018-04-25 15:25:26 +02:00
2015-03-04 15:10:52 +01:00
2017-07-24 10:43:27 +02:00
2003-01-09 13:24:01 +00:00
2016-09-20 09:56:22 +09:00
2010-06-10 10:39:44 +00:00
2004-12-21 19:05:15 +00:00
2004-12-21 19:05:15 +00:00
2006-06-20 17:47:10 +00:00
2007-07-04 19:49:40 +00:00
2011-08-12 14:40:47 +02:00
2007-03-08 18:31:56 +00:00
2014-07-03 11:03:22 +02:00
2014-06-25 11:15:45 +02:00
2016-02-16 13:01:17 +01:00
2018-05-07 08:07:07 +02:00
2018-12-11 18:14:38 +01:00
2019-01-22 10:15:36 +01:00
2018-03-23 09:06:20 +01:00
2017-10-20 08:56:39 +02:00
2016-11-05 12:02:19 +01:00
2017-12-08 07:40:06 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-12-13 17:30:55 +01:00
2007-05-08 13:59:41 +00:00
2016-09-20 16:15:19 +09:00
2006-08-21 20:20:23 +00:00
2018-05-07 08:07:07 +02:00
2016-07-06 19:35:15 +02:00
2012-11-30 12:43:34 -05:00
2016-09-17 16:00:37 +09:00
2014-10-17 13:32:16 +02:00
2016-09-20 09:56:22 +09:00
2008-06-25 11:14:48 +00:00
2012-11-30 12:47:49 -05:00
2018-06-06 17:26:20 +02:00
2006-08-18 13:05:39 +00:00
2019-01-29 20:19:22 +01:00
2016-09-20 16:15:19 +09:00
2011-08-12 14:40:47 +02:00
2018-06-06 17:26:20 +02:00
2017-02-21 13:11:46 -05:00
2018-05-07 08:07:07 +02:00
2017-02-21 13:11:46 -05:00
2010-07-23 16:16:14 +00:00
2006-12-06 16:38:34 +00:00
2017-08-28 11:18:26 +02:00
2018-12-05 08:47:09 +01:00
2017-07-05 11:01:36 +02:00