Werner Koch
78bb08425a
gpg: Speed up key listing in Tofu mode.
...
* g10/tofu.c (get_trust): Add arg PK. Uses this instead of a an extra
lookup of the public key by fingerrpint.
(tofu_register): Pass PK to get_trust.
(tofu_get_validity): Ditto.
*g10/tofu.c (tofu_register): Remove unused FINGERPRINT_PP.
--
With my test keybox I see a speedup of 10 times (33s to 3.1s). The
reason for this was the extra key lookup which I hacked in at some
point to make the extraction of a keyid correct also for non v4 keys.
However our caller already has the public key and thus can easily pass
it to get_trust along with the fingerprint.
Signed-off-by: Werner Koch <wk@gnupg.org>
2016-05-21 20:38:18 +02:00
..
2016-04-29 11:05:24 +02:00
2016-05-04 11:05:13 +02:00
2016-05-10 11:01:42 +02:00
2016-05-10 11:01:42 +02:00
2016-04-29 11:05:24 +02:00
2016-04-27 08:34:29 +02:00
2016-04-29 11:05:24 +02:00
2011-12-01 11:09:02 +01:00
2016-04-29 11:05:24 +02:00
2016-01-12 10:32:20 +09:00
2016-04-29 11:05:24 +02:00
2015-08-25 15:26:33 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-02-14 14:46:30 +01:00
2016-05-10 11:01:42 +02:00
2015-12-23 20:06:49 +01:00
2014-10-31 14:21:34 +01:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2015-01-22 12:06:11 +01:00
2007-07-04 19:49:40 +00:00
2016-04-29 11:05:24 +02:00
2014-11-13 12:01:42 +01:00
2016-04-29 11:05:24 +02:00
2016-05-17 19:13:19 +02:00
2015-02-04 09:15:34 +01:00
2016-05-21 12:26:44 +02:00
2016-05-21 12:26:44 +02:00
2015-02-04 09:15:34 +01:00
2016-04-05 11:18:45 +02:00
2016-05-21 20:06:59 +02:00
2016-05-21 20:06:59 +02:00
2016-05-21 12:26:44 +02:00
2012-06-05 19:29:22 +02:00
2016-05-21 11:41:49 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-05-21 11:41:49 +02:00
2016-05-21 12:26:44 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-05-21 12:26:44 +02:00
2016-04-29 11:05:24 +02:00
2015-11-17 14:53:05 +01:00
2016-04-27 08:34:29 +02:00
2016-05-21 11:41:49 +02:00
2016-04-06 11:34:11 +02:00
2016-05-21 11:41:49 +02:00
2016-05-21 20:06:59 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2000-07-31 08:04:16 +00:00
2016-04-27 08:34:29 +02:00
2016-01-22 10:54:10 +01:00
2016-04-07 13:51:26 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-05-21 11:41:49 +02:00
2016-05-21 11:41:49 +02:00
2016-05-21 11:41:49 +02:00
2016-04-29 11:05:24 +02:00
2014-01-30 18:48:37 +01:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2000-07-31 08:04:16 +00:00
2016-04-29 11:05:24 +02:00
2011-02-04 12:57:53 +01:00
2008-12-12 08:54:50 +00:00
2016-04-29 11:05:24 +02:00
2016-03-02 14:14:33 +01:00
2016-05-21 12:33:41 +02:00
2016-05-11 19:27:03 +09:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2015-12-03 12:18:32 +01:00
2015-11-17 14:53:03 +01:00
2015-09-02 15:08:57 +02:00
2015-12-03 12:18:32 +01:00
2011-02-04 12:57:53 +01:00
2016-03-08 14:08:49 +01:00
2016-04-05 11:11:11 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2015-06-04 18:08:26 +02:00
2016-05-21 12:26:44 +02:00
2016-05-03 11:26:06 +02:00
2016-04-29 11:05:24 +02:00
2016-05-21 20:38:18 +02:00
2016-05-21 12:26:44 +02:00
2016-05-21 11:41:49 +02:00
2016-05-21 12:26:44 +02:00
2016-05-21 11:41:49 +02:00
2016-04-29 11:05:24 +02:00
2014-01-29 17:45:05 +01:00