RE: 7. RE: how to disable pinentry (Smith, Cathy)

2015-02-25 Thread Rob Fries
...@pnnl.gov] Sent: Wednesday, February 25, 2015 3:21 PM To: Rob Fries; 'gnupg-users@gnupg.org' Subject: RE: 7. RE: how to disable pinentry (Smith, Cathy) Rob Thanks. I got an error when trying to do this. I created the gpg-agent.conf file in my home directory and added the directiv

7. RE: how to disable pinentry (Smith, Cathy)

2015-02-25 Thread Rob Fries
Hi Cathy, We use /usr/libexec/gpg-preset-passphrase to set our passphrase. /usr/libexec/gpg-preset-passphrase -cP "$passphrase" $keygrip You would need to add this to your .gpg-agent.conf: allow-preset-passphrase you will need to get the KEYGRIP. The easiest way I found is: gpg2 --finger

RE: gpg-connect-agent querying max-cache-ttl

2015-01-12 Thread Rob Fries
> Have you considered these two options: > 1) gpgconf says the ttl is a 32-bit unsigned number. Have you tried entering > the value 4294967295 and making a mental note to rethink that strategy when > your system reaches an uptime of more than 136 years? (I got the impression > you didn't have t

RE: gpg-connect-agent querying max-cache-ttl

2015-01-12 Thread Rob Fries
Peter, Thanks for the reply, but this is what Patrick and I discussed of ticket. > You're mistaken; it's as Patrick said through gpgconf, the program to > programmatically query the configuration. But I am not looking for the value in the "configuration", I am looking for the "time remaining"

RE: gpg-connect-agent querying max-cache-ttl

2015-01-12 Thread Rob Fries
After some off list communication, I wanted to circle back here with my findings. To recap, and perhaps more clearly: I am attempting to query from gpg-agent the time remaining before a passphrase expires for a key due to the max-cache-ttl setting. I believe the proper way to do this would be

gpg-connect-agent querying max-cache-ttl

2015-01-09 Thread Rob Fries
Hi, I have done a lot of searching and have not found much to cover my use case. Please direct me to any previous discussions if there are any! Basically, I have stand alone system where files are automatically encrypted and decrypted for processing. This is currently setup using quintuple-agen