Querying gpg-agent configuration options

Werner Koch wk at gnupg.org
Thu Apr 28 09:32:11 CEST 2016

On Wed, 27 Apr 2016 18:02, eric.pruitt at gmail.com said:

> query the information from gpg-agent, it parses the configuration files
> which is not what I need. Am I missing something? If it matters, the

It parses the configuration files and also consults gpg-agent to test
which are options are enabled for use by gpgconf and what are the
current values.  To do this gpgconf uses the special gpg-agent option
'--gpgconf-list'.  This usuallay returns the correct values, unless
gpg-agent has not ben restarted after a gpg-agent.cof chnage or command
line options are used.

> version of gpgconf / GPG I'm using is 2.0.14.

If really required we could add an Assuan command to return certain
values similar to "gpg-connect-agent 'help getinfo' /bye".  But before
adding such an option I would like to learn why you need this.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-users mailing list