1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-01 16:33:02 +01:00
Werner Koch 14601eacb5 agent: Keep the session environment for restricted connections.
* agent/command-ssh.c (setup_ssh_env): Move code to ...
* agent/gpg-agent.c (agent_copy_startup_env): .. new function.  Change
calllers.
* agent/command.c (start_command_handler): Call that fucntion for
restricted connections.
--

A remote connection is and should not be able to setup the local
session environment.  However, unless --keep-display is used we would
be left without an environment and thus pinentry can't be used.  The
fix is the same as used for ssh-agent connection: We use the default
environment as used at the startup of the agent.

Signed-off-by: Werner Koch <wk@gnupg.org>
2014-12-19 13:07:09 +01:00
..
2014-09-17 15:12:08 +02:00
2014-12-02 14:13:53 +01:00
2014-09-17 15:12:08 +02:00
2014-11-11 10:13:10 +01:00
2014-12-02 14:13:53 +01:00
2007-07-04 19:49:40 +00:00
2013-11-18 14:09:47 +01:00
2007-07-04 19:49:40 +00:00