On 04/04/2019 14:03, Thomas Glanzmann wrote:
> Is there a configuration option that I can specify so that gpg gives
> up is there is no socket or no agent behind a socket instead of
> starting a new agent?

From the man page:

| --no-autostart
|       Do not start the gpg-agent or the dirmngr if it has not yet been
|       started and its service is required.  This option is mostly use‐
|       ful on machines where the connection to gpg-agent has been redi‐
|       rected to another machines.   If  dirmngr  is  required  on  the
|       remote  machine,  it  may  be  started  manually  using  gpgconf
|       --launch dirmngr.

If you want to put this in the gpg.conf configuration file, drop the two
leading dashes (this is generally the case).

HTH,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to