* 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>
> 
> 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 [EMAIL PROTECTED]                           
>    ssh [EMAIL PROTECTED]                           
>    ssh [EMAIL PROTECTED]
> 
> 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).

I'm not sure why you don't just use
--write-env-file=$HOME/.gpg-agent-info-$(hostname)? Why force the
filename? Or do you mean that the default file (ie when you don't
specify --write-env-file explicitly) should have the
hostname appended? Because that makes more sense to me.

-- 
Eric Dorland <[EMAIL PROTECTED]>
ICQ: #61138586, Jabber: [EMAIL PROTECTED]
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6

Attachment: signature.asc
Description: Digital signature

Reply via email to