1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00
gnupg/agent
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
..
agent.h agent: Extend cmd KEYINFO to return data from sshcontrol. 2013-08-08 21:44:52 +02:00
cache.c Fix bug #1053 2009-05-15 11:16:28 +00:00
call-pinentry.c agent: kill pinentry by SIGINT, fixing a bug to be killed by SIGINT. 2013-02-04 09:07:22 +09:00
call-scd.c scd: Rename 'keypad' to 'pinpad'. 2013-02-08 09:20:43 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-02 19:28:02 +01:00
command-ssh.c agent: Fix UPDATESTARTUPTTY for ssh. 2013-08-19 11:44:59 +02:00
command.c agent: Extend cmd KEYINFO to return data from sshcontrol. 2013-08-08 21:44:52 +02:00
divert-scd.c scd: Rename 'keypad' to 'pinpad'. 2013-02-08 09:20:43 +09:00
findkey.c agent: Fix wrong use of gcry_sexp_build_array 2012-11-02 16:32:15 +01:00
genkey.c Fix typos spotted during translations 2012-08-24 10:34:43 +02:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:17:04 +02:00
gpg-agent.c agent: Make --allow-mark-trusted the default. 2013-07-03 15:20:25 +02:00
keyformat.txt Add more passphrase policy rules. 2007-08-28 17:48:13 +00:00
learncard.c app-openpgp changes 2009-06-09 19:11:28 +00:00
Makefile.am w32: Add icons and version information. 2013-05-07 21:17:04 +02:00
minip12.c A bunch of minor changes 2009-12-21 16:19:09 +00:00
minip12.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
pkdecrypt.c Fix bug #1053 2009-05-15 11:16:28 +00:00
pksign.c Fix bug #1053 2009-05-15 11:16:28 +00:00
preset-passphrase.c w32: Almost everywhere include winsock2.h before windows.h. 2013-04-23 18:06:46 +02:00
protect-tool.c Implement dynamic S2K count computation for GPGSM 2009-12-14 20:18:53 +00:00
protect.c ssh: Support ECDSA keys. 2013-07-01 20:31:16 +02:00
t-protect.c ssh: Support ECDSA keys. 2013-07-01 20:31:16 +02:00
trans.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
trustlist.c agent: Make --allow-mark-trusted the default. 2013-07-03 15:20:25 +02:00
w32main.c Fixed segv in gpg-agent (command marktrusted). 2008-05-27 12:03:50 +00:00
w32main.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00