Diffusion GnuPG 8a556c23a297

kbx: Change keyboxd to work only with one database.

Authored by werner on Dec 10 2019, 9:35 AM.

Description

kbx: Change keyboxd to work only with one database.

* kbx/frontend.c (the_database): New var.
(db_desc_t): Remove.
(kbxd_add_resource): Renamed to ...
(kbxd_set_database): this.  Simplify.
(kbxd_search): Change to use only one database.
(kbxd_store): Ditto.
(kbxd_delete): Ditto.

The original implementation was way to complicated and would have only
brought back the problems deciding which database to use for each key.
The new scheme used one configured database and only that. That
database needs to be set right at the start.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerDec 23 2019, 12:40 PM
Parents
rGb2a2df174b21: scd: Enhance KEYINFO command to limit listing with capability.
Branches
Unknown
Tags
Unknown