Your message dated Sat, 12 Apr 2025 16:28:11 +0200 with message-id <[email protected]> and subject line Re: Bug#403833: gpg-agent: enhance --write-env-file to append $HOST to filename has caused the Debian Bug report #403833, regarding gpg-agent: enhance --write-env-file to append $HOST to filename to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 403833: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403833 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: gnupg-agent Version: 2.0.0-5.2 Severity: minor Please enhance the --write-env-file to append current host to the filename: now : $HOME/.gpg-agent-info proposed: $HOME/.gpg-agent-info-<hostname> The motivation is that hosts usually use NFS mounted home directories and reading the current $HOME/.gpg-agent-info will not work in another host. Host X +----- host A | /home ---+----- Host B | +----- Host C If user log into all hosts: ssh user@hostA ssh user@hostB ssh user@hostC The initialization code in ~/.profile could work if --write-env-file wrote host specific files: $HOME/.gpg-agent-info-hostA $HOME/.gpg-agent-info-hostB $HOME/.gpg-agent-info-hostC It would be even better if the host portion used FDQN instead of the hostname(1). -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.18-3-686 Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US) Versions of packages gnupg-agent depends on: ii libc6 2.3.6.ds1-9 GNU C Library: Shared libraries ii libgcrypt11 1.2.3-2 LGPL Crypto library - runtime libr ii libgpg-error0 1.4-2 library for common error values an ii libpth20 2.0.7-4 The GNU Portable Threads Versions of packages gnupg-agent recommends: ii gnupg 1.4.6-1 GNU privacy guard - a free PGP rep ii gnupg2 2.0.0-5.2 GNU privacy guard - a free PGP rep pn pinentry-curses | pinentry <none> (no description available) -- no debconf information
--- End Message ---
--- Begin Message ---Version: 2.1.0-1 On 2006-12-20 Jari Aalto <[email protected]> wrote: > Package: gnupg-agent > Version: 2.0.0-5.2 > Severity: minor > Please enhance the --write-env-file to append current host to the filename: > now : $HOME/.gpg-agent-info > proposed: $HOME/.gpg-agent-info-<hostname> [...] --write-env-file has been gone a long time: 9c380384dafb213334f8834178c5ceb0bf33db6e Author: Werner Koch <[email protected]> 2014-10-03 11:58:58 Committer: Werner Koch <[email protected]> 2014-10-03 11:58:58 Parent: 688a903b4b3ad348c0d09e9d3fab8a12f4f94311 (gpg: Fix regression removing SHA256.) Child: b15d5d42adf31c0797797ebe19c471ab6f52c668 (po: Update German translation.) Branches: STABLE-BRANCH-2-2, master, remotes/origin/STABLE-BRANCH-2-2 and many more (91) Follows: gnupg-2.1.0-beta834 Precedes: gnupg-2.1.0-beta864 Remove support for the GPG_AGENT_INFO envvar. * agent/agent.h (opt): Remove field use_standard_socket. * agent/command.c (cmd_killagent): Always allow killing. * agent/gpg-agent.c (main): Turn --{no,}use-standard-socket and --write-env-file into dummy options. Always return true for --use-standard-socket-p. Do not print the GPG_AGENT_INFO envvar setting or set that envvar. (create_socket_name): Simplify by removing non standard socket support. (check_for_running_agent): Ditto. * common/asshelp.c (start_new_gpg_agent): Remove GPG_AGENT_INFO use. * common/simple-pwquery.c (agent_open): Ditto. * configure.ac (GPG_AGENT_INFO_NAME): Remove. * g10/server.c (gpg_server): Do not print the AgentInfo comment. * g13/server.c (g13_server): Ditto. * sm/server.c (gpgsm_server): Ditto. * tools/gpgconf.c (main): Simplify by removing non standard socket support. -- The indented fix to allow using a different socket than the one in the gnupg home directory is to change Libassuan to check whether the socket files exists as a regualr file with a special keyword to redirect to another socket file name.
--- End Message ---

