1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00
gnupg/agent
Werner Koch 9f32499f99 ssh: Add support for Putty.
* agent/gpg-agent.c [W32]: Include Several Windows header.
(opts): Change help text for enable-ssh-support.
(opts, main): Add option --enable-putty-support
(putty_support, PUTTY_IPC_MAGIC, PUTTY_IPC_MAXLEN): New for W32.
(agent_init_default_ctrl): Add and asssert call.
(putty_message_proc, putty_message_thread): New.
(handle_connections) [W32]: Start putty message thread.
* common/sysutils.c (w32_get_user_sid): New for W32 only
* tools/gpgconf-comp.c (gc_options_gpg_agent): Add
--enable-ssh-support and --enable-putty-support.  Make the
configuration group visible at basic level.
* agent/command-ssh.c (serve_mmapped_ssh_request): New for W32 only.
--

This patch enables support for Putty.  It has been tested with Putty
0.62 using an Unix created ssh key copied to the private-keys-v1.d
directory on Windows and with a manually crafted sshcontrol file.  It
also works with a smartcard key.

May thanks to gniibe who implemented a proxy in Python to test the
putty/gpg-agent communication.

Signed-off-by: Werner Koch <wk@gnupg.org>
2013-07-03 13:29:47 +02:00
..
agent.h ssh: Add support for Putty. 2013-07-03 13:29:47 +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 ssh: Add support for Putty. 2013-07-03 13:29:47 +02:00
command.c New option --ssh-fpr for the agent:KEYINFO command 2011-08-04 15:00:58 +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 ssh: Add support for Putty. 2013-07-03 13:29:47 +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 Fix realloc usage. Fixes bug#1163. 2009-12-02 19:02:33 +00: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