Diffusion GnuPG aba82684fe14

gpg: New option --use-keyboxd.

Authored by werner on Sep 9 2019, 2:34 PM.

Description

gpg: New option --use-keyboxd.

* g10/gpg.c (oUseKeyboxd,oKeyboxdProgram): New consts.
(opts): New options --use-keyboxd and --keyboxd-program.
(main): Implement them.
* g10/keydb.c: Move some defs out to ...
* g10/keydb-private.h: new file.
* g10/keydb.c: prefix function names with "internal" and move original
functions to ...
* g10/call-keyboxd.c: new file.  Divert to the internal fucntion if
--use-keyboxd is used.  Add a CTRL arg to most fucntions and change
all callers.
* g10/Makefile.am (common_source): Add new files.
(noinst_PROGRAMS): Do bot build gpgcompose.

Note that this is just the framework with only a basic implementation
of searching via keyboxd.

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

Details

Committed
wernerSep 9 2019, 3:01 PM
Parents
rG5e00c1773d8f: kbx: Fix keyboxd search first.
Branches
Unknown
Tags
Unknown