Thanks. I have gpg 1.4.11 on a Mac. I ended up using the `--multifile` option, without starting gpg-agent directly. It seems to do exactly what I want (presumably doing some caching in the background for me).
One small issue, which I can't see from the man page: is there a way to specify the passphrase cache time? I was decrypting a large number of files (> 12,000), and about half way through I was asked for my passphrase again. I assume the cache had expired. On Fri, May 20, 2011 at 1:27 AM, Grant Olson <k...@grant-olson.net> wrote: > On 5/19/2011 7:07 AM, Chris Poole wrote: >> Hi >> >> I often decrypt several files in quick succession (with a simple script). >> >> Is it possible to have gpg remember my passphrase, only very >> temporarily? (Perhaps for 10 seconds or so.) >> >> I've looked into gpg-agent, and tried using the --use-agent option >> with gpg, but I can't find much documentation on the matter, or even >> whether or not this is the best approach. >> > > Yes you want to use gpg-agent. What OS are you on? You might need to > install gpg2 if you're on Linux or Mac. > > -- > Grant > > > _______________________________________________ > Gnupg-users mailing list > Gnupg-users@gnupg.org > http://lists.gnupg.org/mailman/listinfo/gnupg-users > > _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users