ssh-agent has a "-a" option, but gpg-agent doesn't have anything similar. gpg-
agent doesn't even use $TMPDIR (as many applications do) when not using standard
socket, but has /tmp hard-coded. The choice between just /tmp or $GNUPG_HOME is
limiting. I suggest using $TMPDIR, or providing an option. The relevant code is
shown with "grep -r /tmp".
Description
Description
Details
Details
- Version
- 2.0.17
Event Timeline
Comment Actions
This has been changed in the current version:
/* Prepend the tmp directory to the template. */ p = getenv ("TMPDIR"); if (!p || !*p) p = "/tmp";
An option to specify the socket name does not make sense because other tools
need to find gpg-agent. Further, 2.1 uses a standard socket in the home
directory by default.
Comment Actions
Ok, using TMPDIR is great. I hope that 2.1 still provides the --no-use-standard-
socket option. Stating that "an option to specify the socket name does not make
sense because other tools need to find gpg-agent" doesn't make sense, unless gpg-
agent stopped providing $GPG_AGENT_INFO.