1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00
putty-source/unix
Jacob Nevins 8719f92c14 Revamp SSH authentication code so that user interaction is more
abstracted out; replace loops structured around a single interaction
per loop with less tortuous code (fixes: `ki-multiprompt-crash',
`ssh1-bad-passphrase-crash'; makes `ssh2-password-expiry' and
`proxy-password-prompt' easier).

The new interaction abstraction has a lot of fields that are unused in
the current code (things like window captions); this is groundwork for
`gui-auth'. However, ssh.c still writes directly to stderr; that may
want to be fixed.

In the GUI apps, user interaction is moved to terminal.c. This should
make it easier to fix things like UTF-8 username entry, although I
haven't attempted to do so. Also, control character filtering can be
tailored to be appropriate for individual front-ends; so far I don't
promise anything other than not having made it any worse.

I've tried to test this fairly exhaustively (although Mac stuff is
untested, as usual). It all seems to basically work, but I bet there
are new bugs. (One I know about is that you can no longer make the
PuTTY window go away with a ^D at the password prompt; this should be
fixed.)

[originally from svn r6437]
[this svn revision also touched putty-wishlist]
2005-10-30 20:24:09 +00:00
..
configure.ac AIX 5.1 has <utmpx.h> but no updwtmpx(). Treat the latter as a reason to 2005-09-14 11:00:34 +00:00
gtkcfg.c Saw uxcfg.c in half down the middle, to separate out config changes 2005-02-14 07:41:41 +00:00
gtkcols.c Fix a _very_ subtle segfault in my two GTK container classes: the 2003-03-31 11:22:06 +00:00
gtkcols.h First stab at a GTK layout engine. It's missing all sorts of stuff 2003-03-13 19:52:28 +00:00
gtkdlg.c dlg_listbox_select() now scrolls the list box to ensure that the 2005-09-21 17:09:07 +00:00
gtkpanel.c Unix makefile now uses -O2, which massively cuts down key exchange 2003-04-23 13:48:09 +00:00
gtkpanel.h First stab at a GTK layout engine. It's missing all sorts of stuff 2003-03-13 19:52:28 +00:00
gtkwin.c Revamp SSH authentication code so that user interaction is more 2005-10-30 20:24:09 +00:00
unix.h Add a mechanism for using autoconf to detect the quirks of Unix systems 2005-04-25 15:55:06 +00:00
ux_x11.c X forwarding changes: 2004-10-06 22:31:07 +00:00
uxagentc.c Unify GET_32BIT()/PUT_32BIT() et al from numerous source files into misc.h. 2005-04-12 20:04:56 +00:00
uxcfg.c Oh, and (there's always one) remove the unnecessary extra parameter 2005-02-14 07:44:50 +00:00
uxcons.c Revamp SSH authentication code so that user interaction is more 2005-10-30 20:24:09 +00:00
uxgen.c Added a command-line key generation tool. Currently builds and runs 2004-01-22 19:15:32 +00:00
uxmisc.c Render timing.c robust in the face of strangeness. The strangenesses 2005-03-28 17:48:24 +00:00
uxnet.c A couple of places in sk_newlistener were using AF_INET6 even with NO_IPV6. 2005-09-13 19:54:01 +00:00
uxnoise.c Improve robustness in random seed file handling. 2002-11-07 20:01:04 +00:00
uxplink.c Revamp SSH authentication code so that user interaction is more 2005-10-30 20:24:09 +00:00
uxprint.c Unix can't sensibly enumerate printers (since they're defined as 2003-04-05 16:12:52 +00:00
uxproxy.c NULL needs to be cast to void * when passed to a variadic function like 2005-04-04 13:44:45 +00:00
uxpterm.c Reinstate the broken -e option in pterm. Also I've just worked out a 2005-02-06 15:52:00 +00:00
uxpty.c Some hosts don't have TIOCSCTTY. Don't try to use it on them. 2005-09-13 19:57:37 +00:00
uxputty.c Reinstate the broken -e option in pterm. Also I've just worked out a 2005-02-06 15:52:00 +00:00
uxsel.c Minor improvements to subsidiary window placement; with any luck the 2003-04-10 08:53:43 +00:00
uxsftp.c Revamp SSH authentication code so that user interaction is more 2005-10-30 20:24:09 +00:00
uxsignal.c Rename some of the more stupidly named files in the Unix back end. 2004-12-31 13:02:46 +00:00
uxstore.c The ANSI-C constant FILENAME_MAX is ludicrously small on some systems. 2005-09-13 20:08:25 +00:00
uxucs.c RJK's OS X portability patch: 2004-11-24 11:36:08 +00:00
xkeysym.c Support for non-ISO-8859-1 X keysyms. So in particular, pterm in a 2003-04-27 11:10:48 +00:00