NB! This project is outdated and unmaintained, please refer to the OpenSC WindowsInstaller instead!
| r86 | r98 | |
|---|---|---|
| 1 | diff -urNp putty-0.58 |
|
| 2 | --- putty-0.58 |
|
| 1 | diff -urNp putty-0.58.org/config.c putty-0.58+smartcard/config.c | |
| 2 | --- putty-0.58.org/config.c 2005-04-05 22:37:51.000000000 +0300 | |
| 3 | 3 | +++ putty-0.58+smartcard/config.c 2005-06-06 12:50:58.000000000 +0300 |
| 4 | 4 | @@ -1685,6 +1685,21 @@ void setup_config_box(struct controlbox |
| … | … | |
| 59 | 59 | |
| 60 | 60 | if (!midsession) { |
| 61 | diff -urNp putty-0.58 |
|
| 62 | --- putty-0.58 |
|
| 61 | diff -urNp putty-0.58.org/libpkcs11.c putty-0.58+smartcard/libpkcs11.c | |
| 62 | --- putty-0.58.org/libpkcs11.c 1970-01-01 02:00:00.000000000 +0200 | |
| 63 | 63 | +++ putty-0.58+smartcard/libpkcs11.c 2008-03-15 20:32:06.000000000 +0200 |
| 64 | 64 | @@ -0,0 +1,268 @@ |
| … | … | |
| 331 | 331 | +} |
| 332 | 332 | +#endif |
| 333 | diff -urNp putty-0.58 |
|
| 334 | --- putty-0.58 |
|
| 333 | diff -urNp putty-0.58.org/local_cmd.c putty-0.58+smartcard/local_cmd.c | |
| 334 | --- putty-0.58.org/local_cmd.c 1970-01-01 02:00:00.000000000 +0200 | |
| 335 | 335 | +++ putty-0.58+smartcard/local_cmd.c 2008-03-15 20:34:20.000000000 +0200 |
| 336 | 336 | @@ -0,0 +1,69 @@ |
| … | … | |
| 404 | 404 | + |
| 405 | 405 | + |
| 406 | diff -urNp putty-0.58 |
|
| 407 | --- putty-0.58 |
|
| 406 | diff -urNp putty-0.58.org/mac/Makefile.mpw putty-0.58+smartcard/mac/Makefile.mpw | |
| 407 | --- putty-0.58.org/mac/Makefile.mpw 2005-04-05 22:40:17.000000000 +0300 | |
| 408 | 408 | +++ putty-0.58+smartcard/mac/Makefile.mpw 2008-03-15 20:57:26.000000000 +0200 |
| 409 | 409 | @@ -158,17 +158,18 @@ all Ä PuTTY PuTTYgen PuTTYtel |
| … | … | |
| 889 | 889 | setfile -t XCOF {Targ} |
| 890 | 890 | {C_Carbon} ::windows:winpgnt.c -o {Targ} {COptions_Carbon} |
| 891 | diff -urNp putty-0.58 |
|
| 892 | --- putty-0.58 |
|
| 891 | diff -urNp putty-0.58.org/macosx/Makefile putty-0.58+smartcard/macosx/Makefile | |
| 892 | --- putty-0.58.org/macosx/Makefile 2005-04-05 22:40:17.000000000 +0300 | |
| 893 | 893 | +++ putty-0.58+smartcard/macosx/Makefile 2008-03-15 20:58:32.000000000 +0200 |
| 894 | 894 | @@ -104,78 +104,83 @@ PuTTY: PuTTY.app/Contents/MacOS/PuTTY \ |
| … | … | |
| 1083 | 1083 | winpgntc.o: ../windows/winpgntc.c ../putty.h ../puttyps.h ../network.h \ |
| 1084 | 1084 | ../misc.h ../windows/winstuff.h ../mac/macstuff.h \ |
| 1085 | diff -urNp putty-0.58 |
|
| 1086 | --- putty-0.58 |
|
| 1085 | diff -urNp putty-0.58.org/pkcs11.h putty-0.58+smartcard/pkcs11.h | |
| 1086 | --- putty-0.58.org/pkcs11.h 1970-01-01 02:00:00.000000000 +0200 | |
| 1087 | 1087 | +++ putty-0.58+smartcard/pkcs11.h 2008-03-15 20:26:37.000000000 +0200 |
| 1088 | 1088 | @@ -0,0 +1,1357 @@ |
| … | … | |
| 2444 | 2444 | + |
| 2445 | 2445 | +#endif /* PKCS11_H */ |
| 2446 | diff -urNp putty-0.58 |
|
| 2447 | --- putty-0.58 |
|
| 2446 | diff -urNp putty-0.58.org/ppkcs11.h putty-0.58+smartcard/ppkcs11.h | |
| 2447 | --- putty-0.58.org/ppkcs11.h 1970-01-01 02:00:00.000000000 +0200 | |
| 2448 | 2448 | +++ putty-0.58+smartcard/ppkcs11.h 2008-03-15 20:31:43.000000000 +0200 |
| 2449 | 2449 | @@ -0,0 +1,20 @@ |
| … | … | |
| 2468 | 2468 | + |
| 2469 | 2469 | +#endif |
| 2470 | diff -urNp putty-0.58 |
|
| 2471 | --- putty-0.58 |
|
| 2470 | diff -urNp putty-0.58.org/putty.h putty-0.58+smartcard/putty.h | |
| 2471 | --- putty-0.58.org/putty.h 2005-04-05 22:37:51.000000000 +0300 | |
| 2472 | 2472 | +++ putty-0.58+smartcard/putty.h 2005-06-06 12:50:58.000000000 +0300 |
| 2473 | 2473 | @@ -431,6 +431,9 @@ struct config_tag { |
| … | … | |
| 2491 | 2491 | int lport_acceptall; /* accept conns from hosts other than localhost */ |
| 2492 | 2492 | int rport_acceptall; /* same for remote forwarded ports (SSH-2 only) */ |
| 2493 | diff -urNp putty-0.58 |
|
| 2494 | --- putty-0.58 |
|
| 2493 | diff -urNp putty-0.58.org/Recipe putty-0.58+smartcard/Recipe | |
| 2494 | --- putty-0.58.org/Recipe 2005-04-05 22:37:51.000000000 +0300 | |
| 2495 | 2495 | +++ putty-0.58+smartcard/Recipe 2005-06-06 13:14:36.000000000 +0300 |
| 2496 | 2496 | @@ -205,7 +205,7 @@ NONSSH = telnet raw rlogin ldisc pinge |
| … | … | |
| 2512 | 2512 | puttygen : [G] winpgen sshrsag sshdssg sshprime sshdes sshbn sshmd5 version |
| 2513 | 2513 | + sshrand winnoise sshsha winstore misc winctrls sshrsa sshdss winmisc |
| 2514 | diff -urNp putty-0.58 |
|
| 2515 | --- putty-0.58 |
|
| 2514 | diff -urNp putty-0.58.org/settings.c putty-0.58+smartcard/settings.c | |
| 2515 | --- putty-0.58.org/settings.c 2005-04-05 22:37:51.000000000 +0300 | |
| 2516 | 2516 | +++ putty-0.58+smartcard/settings.c 2005-06-06 12:50:58.000000000 +0300 |
| 2517 | 2517 | @@ -243,11 +243,16 @@ void save_open_settings(void *sesskey, i |
| … | … | |
| 2550 | 2550 | gppi(sesskey, "PassiveTelnet", 0, &cfg->passive_telnet); |
| 2551 | 2551 | gppi(sesskey, "BackspaceIsDelete", 1, &cfg->bksp_is_delete); |
| 2552 | diff -urNp putty-0.58 |
|
| 2553 | --- putty-0.58 |
|
| 2552 | diff -urNp putty-0.58.org/smartcard.ppk putty-0.58+smartcard/smartcard.ppk | |
| 2553 | --- putty-0.58.org/smartcard.ppk 1970-01-01 02:00:00.000000000 +0200 | |
| 2554 | 2554 | +++ putty-0.58+smartcard/smartcard.ppk 2005-06-06 22:39:23.000000000 +0300 |
| 2555 | 2555 | @@ -0,0 +1,2 @@ |
| 2556 | 2556 | +PuTTY-User-Smartcard-Key-File- |
| 2557 | 2557 | +Testing |
| 2558 | diff -urNp putty-0.58 |
|
| 2559 | --- putty-0.58 |
|
| 2558 | diff -urNp putty-0.58.org/ssh.c putty-0.58+smartcard/ssh.c | |
| 2559 | --- putty-0.58.org/ssh.c 2005-04-05 22:37:51.000000000 +0300 | |
| 2560 | 2560 | +++ putty-0.58+smartcard/ssh.c 2008-03-15 20:37:28.000000000 +0200 |
| 2561 | 2561 | @@ -6,6 +6,11 @@ |
| … | … | |
| 2868 | 2868 | */ |
| 2869 | 2869 | if (ssh->mainchan && !ssh->cfg.nopty) { |
| 2870 | diff -urNp putty-0.58 |
|
| 2871 | --- putty-0.58 |
|
| 2870 | diff -urNp putty-0.58.org/ssh.h putty-0.58+smartcard/ssh.h | |
| 2871 | --- putty-0.58.org/ssh.h 2005-04-05 22:37:51.000000000 +0300 | |
| 2872 | 2872 | +++ putty-0.58+smartcard/ssh.h 2005-06-06 13:06:34.000000000 +0300 |
| 2873 | 2873 | @@ -11,6 +11,10 @@ struct ssh_channel; |
| … | … | |
| 2892 | 2892 | int key_type(const Filename *filename); |
| 2893 | 2893 | char *key_type_to_str(int type); |
| 2894 | diff -urNp putty-0.58 |
|
| 2895 | --- putty-0.58 |
|
| 2894 | diff -urNp putty-0.58.org/sshpubk.c putty-0.58+smartcard/sshpubk.c | |
| 2895 | --- putty-0.58.org/sshpubk.c 2005-04-05 22:37:51.000000000 +0300 | |
| 2896 | 2896 | +++ putty-0.58+smartcard/sshpubk.c 2005-06-06 12:51:02.000000000 +0300 |
| 2897 | 2897 | @@ -1182,6 +1182,7 @@ int key_type(const Filename *filename) |
| … | … | |
| 2912 | 2912 | return SSH_KEYTYPE_SSHCOM; |
| 2913 | 2913 | return SSH_KEYTYPE_UNKNOWN; /* unrecognised or EOF */ |
| 2914 | diff -urNp putty-0.58 |
|
| 2915 | --- putty-0.58 |
|
| 2914 | diff -urNp putty-0.58.org/sshrsa.h putty-0.58+smartcard/sshrsa.h | |
| 2915 | --- putty-0.58.org/sshrsa.h 1970-01-01 02:00:00.000000000 +0200 | |
| 2916 | 2916 | +++ putty-0.58+smartcard/sshrsa.h 2005-06-06 12:50:58.000000000 +0300 |
| 2917 | 2917 | @@ -0,0 +1,14 @@ |
| … | … | |
| 2930 | 2930 | + |
| 2931 | 2931 | + |
| 2932 | diff -urNp putty-0.58 |
|
| 2933 | --- putty-0.58 |
|
| 2932 | diff -urNp putty-0.58.org/sshscard.c putty-0.58+smartcard/sshscard.c | |
| 2933 | --- putty-0.58.org/sshscard.c 1970-01-01 02:00:00.000000000 +0200 | |
| 2934 | 2934 | +++ putty-0.58+smartcard/sshscard.c 2008-03-15 20:33:48.000000000 +0200 |
| 2935 | 2935 | @@ -0,0 +1,387 @@ |
| … | … | |
| 3321 | 3321 | +} |
| 3322 | 3322 | + |
| 3323 | diff -urNp putty-0.58 |
|
| 3324 | --- putty-0.58 |
|
| 3323 | diff -urNp putty-0.58.org/sshscard.h putty-0.58+smartcard/sshscard.h | |
| 3324 | --- putty-0.58.org/sshscard.h 1970-01-01 02:00:00.000000000 +0200 | |
| 3325 | 3325 | +++ putty-0.58+smartcard/sshscard.h 2005-06-06 12:50:58.000000000 +0300 |
| 3326 | 3326 | @@ -0,0 +1,15 @@ |
| … | … | |
| 3340 | 3340 | +#endif |
| 3341 | 3341 | + |
| 3342 | diff -urNp putty-0.58 |
|
| 3343 | --- putty-0.58 |
|
| 3342 | diff -urNp putty-0.58.org/unix/Makefile.gtk putty-0.58+smartcard/unix/Makefile.gtk | |
| 3343 | --- putty-0.58.org/unix/Makefile.gtk 2005-04-05 22:40:17.000000000 +0300 | |
| 3344 | 3344 | +++ putty-0.58+smartcard/unix/Makefile.gtk 2008-03-15 20:49:45.000000000 +0200 |
| 3345 | 3345 | @@ -101,54 +101,57 @@ man1dir=$(mandir)/man1 |
| … | … | |
| 3535 | 3535 | winpgntc.o: ../windows/winpgntc.c ../putty.h ../puttyps.h ../network.h \ |
| 3536 | 3536 | ../misc.h ../windows/winstuff.h ../mac/macstuff.h \ |
| 3537 | diff -urNp putty-0.58 |
|
| 3538 | --- putty-0.58 |
|
| 3537 | diff -urNp putty-0.58.org/windows/Makefile.bor putty-0.58+smartcard/windows/Makefile.bor | |
| 3538 | --- putty-0.58.org/windows/Makefile.bor 2005-04-05 22:40:17.000000000 +0300 | |
| 3539 | 3539 | +++ putty-0.58+smartcard/windows/Makefile.bor 2008-03-15 20:47:07.000000000 +0200 |
| 3540 | 3540 | @@ -102,55 +102,60 @@ BCB = $(MAKEDIR)\.. |
| … | … | |
| 3818 | 3818 | ..\misc.h ..\windows\winstuff.h ..\mac\macstuff.h \ |
| 3819 | 3819 | ..\macosx\osx.h ..\unix\unix.h ..\puttymem.h ..\tree234.h \ |
| 3820 | diff -urNp putty-0.58 |
|
| 3821 | --- putty-0.58 |
|
| 3820 | diff -urNp putty-0.58.org/windows/Makefile.cyg putty-0.58+smartcard/windows/Makefile.cyg | |
| 3821 | --- putty-0.58.org/windows/Makefile.cyg 2005-04-05 22:40:17.000000000 +0300 | |
| 3822 | 3822 | +++ putty-0.58+smartcard/windows/Makefile.cyg 2008-03-15 21:15:25.000000000 +0200 |
| 3823 | 3823 | @@ -91,6 +91,7 @@ RC = $(TOOLPATH)windres |
| … | … | |
| 4061 | 4061 | |
| 4062 | 4062 | winpgntc.o: ../windows/winpgntc.c ../putty.h ../puttyps.h ../network.h \ |
| 4063 | diff -urNp putty-0.58 |
|
| 4064 | --- putty-0.58 |
|
| 4063 | diff -urNp putty-0.58.org/windows/Makefile.lcc putty-0.58+smartcard/windows/Makefile.lcc | |
| 4064 | --- putty-0.58.org/windows/Makefile.lcc 2005-04-05 22:40:17.000000000 +0300 | |
| 4065 | 4065 | +++ putty-0.58+smartcard/windows/Makefile.lcc 2008-03-15 20:48:20.000000000 +0200 |
| 4066 | 4066 | @@ -91,104 +91,110 @@ CFLAGS = -D_WINDOWS -I..\./ -I..\charset |
| … | … | |
| 4307 | 4307 | winpgntc.obj: ..\windows\winpgntc.c ..\putty.h ..\puttyps.h ..\network.h \ |
| 4308 | 4308 | ..\misc.h ..\windows\winstuff.h ..\mac\macstuff.h \ |
| 4309 | diff -urNp putty-0.58 |
|
| 4310 | --- putty-0.58 |
|
| 4309 | diff -urNp putty-0.58.org/windows/Makefile.vc putty-0.58+smartcard/windows/Makefile.vc | |
| 4310 | --- putty-0.58.org/windows/Makefile.vc 2005-04-05 22:40:17.000000000 +0300 | |
| 4311 | 4311 | +++ putty-0.58+smartcard/windows/Makefile.vc 2008-03-15 20:45:38.000000000 +0200 |
| 4312 | 4312 | @@ -91,55 +91,60 @@ LFLAGS = /incremental:no /fixed |
| … | … | |
| 4592 | 4592 | |
| 4593 | 4593 | winpgntc.obj: ..\windows\winpgntc.c ..\putty.h ..\puttyps.h ..\network.h \ |
| 4594 | diff -urNp putty-0.58 |
|
| 4595 | --- putty-0.58 |
|
| 4594 | diff -urNp putty-0.58.org/windows/MSVC/pageant/pageant.dsp putty-0.58+smartcard/windows/MSVC/pageant/pageant.dsp | |
| 4595 | --- putty-0.58.org/windows/MSVC/pageant/pageant.dsp 2005-04-05 22:40:17.000000000 +0300 | |
| 4596 | 4596 | +++ putty-0.58+smartcard/windows/MSVC/pageant/pageant.dsp 2008-03-15 21:11:47.000000000 +0200 |
| 4597 | 4597 | @@ -94,6 +94,10 @@ LINK32=link.exe |
| … | … | |
| 4647 | 4647 | # End Source File |
| 4648 | 4648 | # Begin Source File |
| 4649 | diff -urNp putty-0.58 |
|
| 4650 | --- putty-0.58 |
|
| 4649 | diff -urNp putty-0.58.org/windows/MSVC/plink/plink.dsp putty-0.58+smartcard/windows/MSVC/plink/plink.dsp | |
| 4650 | --- putty-0.58.org/windows/MSVC/plink/plink.dsp 2005-04-05 22:40:17.000000000 +0300 | |
| 4651 | 4651 | +++ putty-0.58+smartcard/windows/MSVC/plink/plink.dsp 2008-03-15 21:12:13.000000000 +0200 |
| 4652 | 4652 | @@ -110,6 +110,14 @@ SOURCE=..\..\..\ldisc.c |
| … | … | |
| 4706 | 4706 | # End Source File |
| 4707 | 4707 | # Begin Source File |
| 4708 | diff -urNp putty-0.58 |
|
| 4709 | --- putty-0.58 |
|
| 4708 | diff -urNp putty-0.58.org/windows/MSVC/pscp/pscp.dsp putty-0.58+smartcard/windows/MSVC/pscp/pscp.dsp | |
| 4709 | --- putty-0.58.org/windows/MSVC/pscp/pscp.dsp 2005-04-05 22:40:17.000000000 +0300 | |
| 4710 | 4710 | +++ putty-0.58+smartcard/windows/MSVC/pscp/pscp.dsp 2008-03-15 21:12:37.000000000 +0200 |
| 4711 | 4711 | @@ -110,6 +110,14 @@ SOURCE=..\..\..\int64.c |
| … | … | |
| 4765 | 4765 | # End Source File |
| 4766 | 4766 | # Begin Source File |
| 4767 | diff -urNp putty-0.58 |
|
| 4768 | --- putty-0.58 |
|
| 4767 | diff -urNp putty-0.58.org/windows/MSVC/psftp/psftp.dsp putty-0.58+smartcard/windows/MSVC/psftp/psftp.dsp | |
| 4768 | --- putty-0.58.org/windows/MSVC/psftp/psftp.dsp 2005-04-05 22:40:17.000000000 +0300 | |
| 4769 | 4769 | +++ putty-0.58+smartcard/windows/MSVC/psftp/psftp.dsp 2008-03-15 21:13:10.000000000 +0200 |
| 4770 | 4770 | @@ -110,6 +110,14 @@ SOURCE=..\..\..\int64.c |
| … | … | |
| 4824 | 4824 | # End Source File |
| 4825 | 4825 | # Begin Source File |
| 4826 | diff -urNp putty-0.58 |
|
| 4827 | --- putty-0.58 |
|
| 4826 | diff -urNp putty-0.58.org/windows/MSVC/putty/putty.dsp putty-0.58+smartcard/windows/MSVC/putty/putty.dsp | |
| 4827 | --- putty-0.58.org/windows/MSVC/putty/putty.dsp 2005-04-05 22:40:17.000000000 +0300 | |
| 4828 | 4828 | +++ putty-0.58+smartcard/windows/MSVC/putty/putty.dsp 2008-03-15 21:13:29.000000000 +0200 |
| 4829 | 4829 | @@ -122,6 +122,14 @@ SOURCE=..\..\..\ldiscucs.c |
| … | … | |
| 4883 | 4883 | # End Source File |
| 4884 | 4884 | # Begin Source File |
| 4885 | diff -urNp putty-0.58 |
|
| 4886 | --- putty-0.58 |
|
| 4885 | diff -urNp putty-0.58.org/windows/winhelp.h putty-0.58+smartcard/windows/winhelp.h | |
| 4886 | --- putty-0.58.org/windows/winhelp.h 2005-04-05 22:37:38.000000000 +0300 | |
| 4887 | 4887 | +++ putty-0.58+smartcard/windows/winhelp.h 2005-06-06 12:50:58.000000000 +0300 |
| 4888 | 4888 | @@ -99,6 +99,9 @@ |
| … | … | |
| 4904 | 4904 | #define WINHELP_CTX_ssh_tunnels_x11auth "ssh.tunnels.x11auth" |
| 4905 | 4905 | #define WINHELP_CTX_ssh_tunnels_portfwd "ssh.tunnels.portfwd" |
| 4906 | diff -urNp putty-0.58 |
|
| 4907 | --- putty-0.58 |
|
| 4906 | diff -urNp putty-0.58.org/windows/winpgnt.c putty-0.58+smartcard/windows/winpgnt.c | |
| 4907 | --- putty-0.58.org/windows/winpgnt.c 2005-04-05 22:37:38.000000000 +0300 | |
| 4908 | 4908 | +++ putty-0.58+smartcard/windows/winpgnt.c 2005-06-06 12:51:02.000000000 +0300 |
| 4909 | 4909 | @@ -15,6 +15,8 @@ |