Home GnuPG
Diffusion GnuPG 203dcc19eb48

common: New common option no-autostart.

Description

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.

Details

Provenance
wernerAuthored on Aug 22 2022, 12:01 PM
Parents
rGbca00f1fba02: dirmngr: Fix NTBTLS include for test
Branches
Unknown
Tags
Unknown

Event Timeline

It turned out that this is pretty important if you use a current version of scute; That one uses gpg-connect-agent to list all smartcards. And gpg-connect-agent will start and take over a remote socket used for the card.