gnupg/kbx
Werner Koch 935edf88ab kbx: Let keydb_search skip unwanted blobs.
* kbx/keybox.h (keybox_blobtype_t): New.
* kbx/keybox-defs.h (BLOBTYPE_*): Replace by KEYBOX_BLOBTYPE_*.
* kbx/keybox-search.c (keybox_search): Add arg want_blobtype and skip
non-matching blobs.
* sm/keydb.c (keydb_search): Pass KEYBOX_BLOBTYPE_X509 to keybox_search.
* g10/keydb.c (keydb_search): Pass KEYBOX_BLOBTYPE_PGP to keybox_search.
--

Without this fix a listing of all keys would fail because the wrong
blob type would be returned for the gpg or gpgsm.

Signed-off-by: Werner Koch <wk@gnupg.org>
2014-10-31 12:15:34 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Prepare for newer automake versions. 2013-06-27 09:27:32 +02:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
kbxutil.c Switch to the libgpg-error provided estream. 2014-08-26 17:47:54 +02:00
keybox-blob.c kbx: Let keydb_search skip unwanted blobs. 2014-10-31 12:15:34 +01:00
keybox-defs.h kbx: Let keydb_search skip unwanted blobs. 2014-10-31 12:15:34 +01:00
keybox-dump.c kbx: Let keydb_search skip unwanted blobs. 2014-10-31 12:15:34 +01:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c kbx: Let keydb_search skip unwanted blobs. 2014-10-31 12:15:34 +01:00
keybox-init.c gpg: Take care to use pubring.kbx if it has ever been used. 2014-10-09 19:10:32 +02:00
keybox-openpgp.c kbx: Add experimental support for EDDSA. 2014-05-07 12:39:43 +02:00
keybox-search-desc.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-search.c kbx: Let keydb_search skip unwanted blobs. 2014-10-31 12:15:34 +01:00
keybox-update.c kbx: Let keydb_search skip unwanted blobs. 2014-10-31 12:15:34 +01:00
keybox-util.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox.h kbx: Let keydb_search skip unwanted blobs. 2014-10-31 12:15:34 +01:00
mkerrors Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00