Follow-up about querying gpg-agent configuration options

2016-06-12 Thread Kenny Evitt
Back in April there was a thread with the subject "Querying gpg-agent configuration options". One of the last posts in that thread was as follows: >On Wed, 27 Apr 2016 18:02, eric.pruitt [at] gmail said: > >> query the information from gpg-agent, it parses the config

Re: Querying gpg-agent configuration options

2016-04-28 Thread Werner Koch
On Wed, 27 Apr 2016 18:02, eric.pru...@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

Re: Querying gpg-agent configuration options

2016-04-27 Thread Eric Pruitt
On Wed, Apr 27, 2016 at 11:32:21AM +0200, Werner Koch wrote: > You may read the options from gpg-agent.conf using: > > gpgconf --list-options gpg-agent \ > | awk -F: '$1=="default-cache-ttl" {print $0}' > > which result in an output like this (line wrapped): > > default-cache-ttl:24:0:expire

Re: Querying gpg-agent configuration options

2016-04-27 Thread Werner Koch
On Tue, 26 Apr 2016 23:31, eric.pru...@gmail.com said: > particular, I would like to query the running agent to see what values > are being used for default-cache-ttl and max-cache-ttl. I have reviewed You may read the options from gpg-agent.conf using: gpgconf --list-options gpg-agent \ |

Re: Querying gpg-agent configuration options

2016-04-26 Thread Paul R. Ramer
On 04/26/2016 07:20 PM, Eric Pruitt wrote: > On Tue, Apr 26, 2016 at 07:13:29PM -0700, Paul R. Ramer wrote: >> I didn't see any indication of such a feature from the man page, but you >> could just look at the gpg-agent.conf file. > > It's not that simple. I would also need to account for flags

Re: Querying gpg-agent configuration options

2016-04-26 Thread Eric Pruitt
On Tue, Apr 26, 2016 at 07:13:29PM -0700, Paul R. Ramer wrote: > I didn't see any indication of such a feature from the man page, but you > could just look at the gpg-agent.conf file. It's not that simple. I would also need to account for flags passed into the application via the command line

Re: Querying gpg-agent configuration options

2016-04-26 Thread Paul R. Ramer
On 04/26/2016 02:31 PM, Eric Pruitt wrote: > Is it possible to query the configuration of a running gpg-agent? In > particular, I would like to query the running agent to see what > values are being used for default-cache-ttl and max-cache-ttl. I have > reviewed the documentation for

Querying gpg-agent configuration options

2016-04-26 Thread Eric Pruitt
Is it possible to query the configuration of a running gpg-agent? In particular, I would like to query the running agent to see what values are being used for default-cache-ttl and max-cache-ttl. I have reviewed the documentation for gpg-connect-agent and its commands but haven't found what I'm