Re: Reliably determining that the agent is available and starting it if not

2013-02-22 Thread Werner Koch
On Fri, 22 Feb 2013 01:21, cr...@2ndquadrant.com said: > I expected it to be simple to make sure that the a GPG agent (either the > "gpg-agent" program or something like Gnome's built-in agent) were Oh please don't use the latter, that is the cuase for a many problems. You may use gpg-connect-ag

Re: Reliably determining that the agent is available and starting it if not

2013-02-21 Thread Doug Barton
On 02/21/2013 06:32 PM, Craig Ringer wrote: On 02/22/2013 09:18 AM, Doug Barton wrote: I have the following script that does this for you in a Unix'y environment, assuming your DE doesn't already handle it: What I'm hoping for is something I can use in a utility script, so that the user doesn'

Re: Reliably determining that the agent is available and starting it if not

2013-02-21 Thread Craig Ringer
On 02/22/2013 09:18 AM, Doug Barton wrote: > I have the following script that does this for you in a Unix'y > environment, assuming your DE doesn't already handle it: What I'm hoping for is something I can use in a utility script, so that the user doesn't have to mess with their (likely distro-spe

Reliably determining that the agent is available and starting it if not

2013-02-21 Thread Craig Ringer
Hi all I'm scripting gpg to batch re-encrypt some files, and I've run into a surprising problem I was hoping for some advice on. I expected it to be simple to make sure that the a GPG agent (either the "gpg-agent" program or something like Gnome's built-in agent) were available and usable by gpg

Re: Reliably determining that the agent is available and starting it if not

2013-02-21 Thread Doug Barton
I have the following script that does this for you in a Unix'y environment, assuming your DE doesn't already handle it: https://dougbarton.us/PGP/gpg-agent.html hth, Doug ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mail

Re: Reliably determining that the agent is available and starting it if not

2013-02-21 Thread Craig Ringer
Oh, I should've mentioned that I also asked here: http://serverfault.com/questions/481103/gpg-agent-says-agent-exists-but-gpg-says-agent-doesnt-exist/481312#481312 -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services _