mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common: New common option no-autostart.
* common/comopt.c (opts): Add "no-autostart". (parse_comopt): Set it. * common/comopt.h (comopt): Add no_autostart. * g10/gpg.c (main): Take care of the new option. * sm/gpgsm.c (main): Ditto. * tools/gpg-connect-agent.c (INCLUDED_BY_MAIN_MODULE): Add. (main): Parse common options and handle new option. * tools/gpg-card.c (main): Ditto. (cmd_yubikey): Fix minor error reporting issue. * common/util.h (GNUPG_MODULE_NAME_CARD): New const. * common/homedir.c (gnupg_module_name): Support it. -- Having a global option makes it easier to use disable autostart on a server which is required to use a remote gpg-agent reliable.
This commit is contained in:
parent
bca00f1fba
commit
203dcc19eb
8 changed files with 39 additions and 2 deletions
|
@ -40,6 +40,7 @@ struct
|
|||
{
|
||||
char *logfile; /* Socket used by daemons for logging. */
|
||||
int use_keyboxd; /* Use the keyboxd as storage backend. */
|
||||
int no_autostart; /* Do not start gpg-agent. */
|
||||
char *keyboxd_program; /* Use this as keyboxd program. */
|
||||
} comopt;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue