[PATCH] kbx: Call skipfnc callback to filter out keys

Damien Goutte-Gattat dgouttegattat at incenp.org
Fri Jan 16 16:56:35 CET 2015


* kbx/keybox-search.c (blob_get_keyid): New.
(keybox-search): Call skipfnc callback function.
--

This patch (tentatively) fixes
GnuPG-bug-id: 1794

The keybox_search function in kbx/keybox-search.c currently ignores the 
skipfnc callback, but the validate_key_list function in g10/trustdb.c 
uses such a callback to exclude ultimately trusted keys.

---
  kbx/keybox-search.c | 33 ++++++++++++++++++++++++++++++---
  1 file changed, 30 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-kbx-Call-skipfnc-callback-to-filter-out-keys.patch
Type: text/x-patch
Size: 1450 bytes
Desc: not available
URL: </pipermail/attachments/20150116/06129370/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20150116/06129370/attachment.sig>


More information about the Gnupg-devel mailing list