Bug#403833: gpg-agent: enhance --write-env-file to append $HOST to filename

Jari Aalto jari.aalto at cante.net
Wed Dec 20 00:43:49 CET 2006


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 at hostA                           
   ssh user at hostB                           
   ssh user at 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




More information about the Gnupg-devel mailing list