[PATCH] gnupg-2.0.1 - gpg-agent-info option fixup

Werner Koch wk at gnupg.org
Tue Jan 30 09:01:58 CET 2007


On Mon, 29 Jan 2007 23:23, alon.barlev at gmail.com said:

> gnupg-2.01 ignores gpg-agent-info option.
> This should fix this.

This was on purpose.  --gpg-agent-info was a hack useful while
developong gpg-agent.  It should not be used anymore.  Using the
GPG_AGENT_INFO environment variable directly is better.  gpg 1.4 will
continue to support it but gpg2 won't support it.  

gpg2 will print a warning if this option has been used.

The rationale for this is that the environment variable is the main
anchor to keep all the GnupG modules together.  Requiring all modules
to have an extra --gpg-agent-info option is error prone and confusing.



Salam-Shalom,

   Werner




More information about the Gnupg-devel mailing list