Change agent-socket path

Eric Pruitt eric.pruitt at
Fri Jul 1 03:23:32 CEST 2016

On Fri, Jul 01, 2016 at 01:58:20AM +0200, Wolf wrote:
> I'm in need of changing the path to the agent socket, but I cannot find
> a way to do so.

For GPG 1.x, you can change this by setting the GPG_AGENT_INFO
environment variable or by using the --gpg-agent-info flag. Both of
these are documented in further detail in "man gpg." In GPG 2.x,
--gpg-agent-info is no longer used, but I think GPG_AGENT_INFO still
works; see "man gpg2" for more info.


More information about the Gnupg-users mailing list