mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
tools: New option --keyboxd for gpg-connect-agent.
* configure.ac: New option --keyboxd-pgm. (KEYBOXD_NAME, KEYBOXD_DISP_NAME): New ac_defines. * common/util.h: Add substitutes for new error codes. (GNUPG_MODULE_NAME_KEYBOXD): New. * common/homedir.c (gnupg_module_name): Support GNUPG_MODULE_NAME_KEYBOXD. * common/asshelp.c (SECS_TO_WAIT_FOR_KEYBOXD): New. (wait_for_sock): Support keyboxd. (start_new_service): Ditto. (start_new_keyboxd): New. * tools/gpg-connect-agent.c: New options --keyboxd and --keyboxd-program. (start_agent): Implement new option. -- This change allows us to test the new keyboxd using our standard helper. It also provides the necessary code to start keyboxd on the fly. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
e22ebf3570
commit
0611f548bc
7 changed files with 111 additions and 13 deletions
|
@ -1115,6 +1115,13 @@ gnupg_module_name (int which)
|
|||
X(bindir, "dirmngr", DIRMNGR_NAME);
|
||||
#endif
|
||||
|
||||
case GNUPG_MODULE_NAME_KEYBOXD:
|
||||
#ifdef GNUPG_DEFAULT_KEYBOXD
|
||||
return GNUPG_DEFAULT_KEYBOXD;
|
||||
#else
|
||||
X(bindir, "keyboxd", KEYBOXD_NAME);
|
||||
#endif
|
||||
|
||||
case GNUPG_MODULE_NAME_PROTECT_TOOL:
|
||||
#ifdef GNUPG_DEFAULT_PROTECT_TOOL
|
||||
return GNUPG_DEFAULT_PROTECT_TOOL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue