Werner Koch
79f08fb069
gpg: Add signature cache support to the keybox.
...
* g10/keydb.c (parse_keyblock_image): Add arg SIGSTATUS.
(keydb_get_keyblock): Handle it.
(build_keyblock_image): Add arg SIGSTATUS.
(keydb_insert_keyblock): Handle it.
* kbx/keybox-blob.c (pgp_create_sig_part): Add arg SIGSTATUS.
(_keybox_create_openpgp_blob): Ditto.
* kbx/kbxutil.c (import_openpgp): Adjust for above change.
* kbx/keybox.h (KEYBOX_FLAG_SIG_INFO): New.
* kbx/keybox-search.c (_keybox_get_flag_location): Handle new flag.
(keybox_get_keyblock): Add arg R_SIGSTATUS.
* kbx/keybox-update.c (keybox_insert_keyblock): Add arg SIGSTATUS.
--
With this change a key listing using the keybox format is now double
as fast as using a keyring. The memory use dropped as well. Measured
with about 1500 keys.
2012-12-28 17:17:56 +01:00
..
2011-03-03 12:40:54 +01:00
2011-08-10 14:11:30 +02:00
2012-06-05 19:29:22 +02:00
2011-11-06 17:01:31 +01:00
2011-02-08 21:11:19 +01:00
2011-03-08 12:23:59 +01:00
2012-11-16 10:41:22 +01:00
2011-12-01 11:09:02 +01:00
2011-09-20 09:54:27 +02:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2012-06-05 19:29:22 +02:00
2011-09-20 09:54:27 +02:00
2012-06-05 19:29:22 +02:00
2011-04-29 12:01:52 +02:00
2011-04-28 10:51:14 +02:00
2012-06-05 19:29:22 +02:00
2012-06-05 19:29:22 +02:00
2007-07-04 19:49:40 +00:00
2012-06-05 19:29:22 +02:00
2011-02-04 12:57:53 +01:00
2011-09-20 19:24:52 +02:00
2012-12-28 14:05:27 +01:00
2012-12-27 15:04:42 +01:00
2011-02-04 12:57:53 +01:00
2012-12-27 15:04:42 +01:00
2012-06-05 19:29:22 +02:00
2012-12-20 12:37:01 +01:00
2011-02-04 12:57:53 +01:00
2012-12-28 17:17:56 +01:00
2012-12-27 15:04:42 +01:00
2012-06-05 19:29:22 +02:00
2012-06-05 19:29:22 +02:00
2011-03-03 13:01:03 +01:00
2012-05-24 10:13:39 +02:00
2012-06-05 19:29:22 +02:00
2010-04-23 11:36:59 +00:00
2011-01-10 14:30:17 +01:00
2012-11-29 13:09:46 -05:00
2012-05-08 18:18:32 +02:00
2012-06-05 19:29:22 +02:00
2012-12-27 15:04:42 +01:00
2011-02-04 12:57:53 +01:00
2012-06-05 19:29:22 +02:00
2012-06-05 19:29:22 +02:00
2000-07-31 08:04:16 +00:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-07-18 10:57:33 +02:00
2011-09-20 19:24:52 +02:00
2012-06-05 19:29:22 +02:00
2010-04-23 11:36:59 +00:00
2012-12-19 11:21:26 +01:00
2011-06-13 14:54:40 +02:00
2011-02-02 17:40:32 +01:00
2012-06-05 19:29:22 +02:00
2011-02-04 12:57:53 +01:00
2012-05-08 18:18:32 +02:00
2000-07-31 08:04:16 +00:00
2011-09-20 19:24:52 +02:00
2011-02-04 12:57:53 +01:00
2008-12-12 08:54:50 +00:00
2012-05-08 18:18:32 +02:00
2011-02-04 12:57:53 +01:00
2012-08-24 09:44:33 +02:00
2011-08-10 14:11:30 +02:00
2012-12-19 12:40:21 +01:00
2011-02-04 12:57:53 +01:00
2011-09-20 19:24:52 +02:00
2011-02-04 12:57:53 +01:00
2012-06-05 19:29:22 +02:00
2012-06-05 19:29:22 +02:00
2012-01-20 16:50:42 -05:00
2007-11-19 16:03:50 +00:00
2012-08-24 09:42:31 +02:00
2012-01-20 16:50:42 -05:00
2012-06-05 19:29:22 +02:00