1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
Werner Koch 9f5578c29a agent: Fix UPDATESTARTUPTTY for ssh.
* agent/command-ssh.c (setup_ssh_env): Fix env setting.
--

gniibe reported this to gnupg-devel on 2012-07-04:

  [...]
  (2) UPDATESTARTUPTTY doesn't work to switch TTY for pinentry for
      SSH.

  [...]

  Current implementation:

      In the function start_command_handler_ssh, the logic puts
      priority on ctrl->session_env which is initialized by
      agent_init_default_ctrl.  There are always GPG_TTY and TERM
      defined, because lines around 968 in gpg-agent.c, it says:

  	/* Make sure that we have a default ttyname. */

      While UPDATESTARTUPTTY updates opt.startup_env, it doesn't
      affect at all.

  Here is a patch to point the issue.  Tested and works for me.

Signed-off-by: Werner Koch <wk@gnupg.org>
2013-08-19 11:44:59 +02:00
..
2009-05-15 11:16:28 +00:00
2013-02-08 09:20:43 +09:00
2013-02-08 09:20:43 +09:00
2012-08-24 10:34:43 +02:00
2009-06-09 19:11:28 +00:00
2009-12-21 16:19:09 +00:00
2007-07-04 19:49:40 +00:00
2009-05-15 11:16:28 +00:00
2009-05-15 11:16:28 +00:00
2013-07-01 20:31:16 +02:00
2013-07-01 20:31:16 +02:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +00:00