gpg-agent write-env-file

I have used Thunderbird/Enigmail successfully on fedora for a while. I use the following line in my .tcshrc file to bypass passphrase requests:

gpg-agent --daemon --write-env-fil “${HOME}/.gpg-agent-info” --ignore-cache-for-signing --default-cache-ttl 14400 --max-cache-ttl 14400

Recently I’ve been asked to install Thunderbird/Enigmail/Gpg4win on a Windows 7 machine. Not
an OS I use often. Even so, they work as expected.

I’ve found c:\users\foobar\appdata\roaming\gnupg\gpg-agent.conf . “ignore-cache-for-signing” seems to work. Instead of a passphrase request I get a key not found error. Seems like just an environmental variable needs to be set.

But I don’t know how or necessarily even where to configure the “write-env-fil” option. Can I add it to gpg-agent.conf? The install is vanilla. What is the syntax of write-env-file or equivalent in Windows 7?

I suspect this is a pretty lame question, but I can’t find the answer. Thanks for any help.

  • TenForty