1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-13 00:09:51 +02:00
gnupg/kbx
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
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
kbxutil.c gpg: Add signature cache support to the keybox. 2012-12-28 17:17:56 +01:00
keybox-blob.c gpg: Add signature cache support to the keybox. 2012-12-28 17:17:56 +01:00
keybox-defs.h gpg: Add signature cache support to the keybox. 2012-12-28 17:17:56 +01:00
keybox-dump.c kbxutil: Improve format of the Sig-Expire lines. 2012-12-28 17:07:37 +01:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c gpg: First working support for keyboxes. 2012-12-28 14:05:27 +01:00
keybox-init.c gpg: First patches to support a keybox storage backend. 2012-12-27 15:04:42 +01:00
keybox-openpgp.c kbxutil: Print algo number and fold similar lines. 2012-12-28 13:45:41 +01:00
keybox-search-desc.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-search.c gpg: Add signature cache support to the keybox. 2012-12-28 17:17:56 +01:00
keybox-update.c gpg: Add signature cache support to the keybox. 2012-12-28 17:17:56 +01:00
keybox-util.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox.h gpg: Add signature cache support to the keybox. 2012-12-28 17:17:56 +01:00
Makefile.am Nuked almost all trailing white space. 2011-02-04 12:57:53 +01: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