simon [Tue, 17 Apr 2001 08:53:31 +0000 (08:53 +0000)]
Fix alternate-screen bugs introduced by move to B-trees. Alternate
screen wasn't being correctly cleared on creation, and also wasn't
inhibiting scrollback like it should have.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1061
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 17 Apr 2001 08:24:29 +0000 (08:24 +0000)]
Having now compiled the last few days' changes with MSVC, it's turned
up a bunch of warnings, mostly unused variables. All fixed.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1058
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 21:33:18 +0000 (21:33 +0000)]
Include <mmsystem.h> and winmm.lib for PlaySound.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1057
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 21:29:12 +0000 (21:29 +0000)]
Put back Robert de Bath's second level of bell overload tracking. It
had a useful purpose: when primary overload handling is disabled, it
prevents MessageBeep calls overloading the program, because they
don't cancel each other like async PlaySounds do.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1056
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 21:25:13 +0000 (21:25 +0000)]
Terminal now uses unsorted counted tree234 as its basic data type.
Should speed up scrollback to usable levels no matter how big your
scrollback buffer.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1055
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 21:24:38 +0000 (21:24 +0000)]
countnode234() should politely return 0 when passed NULL. Was
breaking delpos234(empty_tree, 0).
git-svn-id: svn://svn.tartarus.org/sgt/putty@1054
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 17:18:24 +0000 (17:18 +0000)]
Replace PuTTY's 2-3-4 tree implementation with the shiny new counted
one, in preparation for using it to speed up scrollback.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1053
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 16:25:57 +0000 (16:25 +0000)]
Fix excessive calls to random_byte()
git-svn-id: svn://svn.tartarus.org/sgt/putty@1052
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 16:19:30 +0000 (16:19 +0000)]
Quote the hostname in the `unable to connect' box so that if the
user starts up N PuTTYs at once and one reports failure, they know
which one.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1051
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 16:16:52 +0000 (16:16 +0000)]
Add two more ghastly function key options. WE HAVE TOO MANY!
git-svn-id: svn://svn.tartarus.org/sgt/putty@1050
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 15:58:43 +0000 (15:58 +0000)]
Roman Pompejus's patch to allow you to automatically select
overwrite or append in logging mode.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1049
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 12:38:35 +0000 (12:38 +0000)]
Makefile enhancements by Robert de Bath.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1048
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 12:25:03 +0000 (12:25 +0000)]
Increase the read buffer size in network processing for extra speed.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1047
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 12:08:37 +0000 (12:08 +0000)]
Small keyboard patches from Robert de Bath. Should fix the dead-key
problem and also some unspecified woe with the ever-problematic
Compose key.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1046
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 11:18:15 +0000 (11:18 +0000)]
Remove the diagnostics I checked in by mistake in the last revision.
AGAIN. I really must stop doing that.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1045
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 11:16:58 +0000 (11:16 +0000)]
Pageant interface changes. You can now do `pageant -c command' to
spawn another command after starting Pageant. Also, if Pageant is
already running, `pageant keyfile' and `pageant -c command' will do
the Right Thing, that is, add the key to the _first_ Pageant and/or
run a command and then exit. The only time you now get the `Pageant
is already running' error is if you try to start the second copy
with no arguments.
NB the affected files in this checkin are rather wide-ranging
because I renamed the not really SSH1-specific
`ssh1_bignum_bitcount' function to just `bignum_bitcount'.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1044
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 09:10:34 +0000 (09:10 +0000)]
Log the text message in SSH_MSG_DISCONNECT (both protocols) so that
when people submit Event Logs for diagnosis it's a little easier to
work out what's up.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1043
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 16 Apr 2001 07:49:11 +0000 (07:49 +0000)]
After we fall back to 3DES, double-check the server really does
support it, and bomb out with a complaint if not.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1042
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 14 Apr 2001 11:37:47 +0000 (11:37 +0000)]
Bell can now play an arbitrary sound file.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1041
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 13 Apr 2001 11:01:56 +0000 (11:01 +0000)]
Oops - remove rogue debug messages!
git-svn-id: svn://svn.tartarus.org/sgt/putty@1040
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 13 Apr 2001 10:52:36 +0000 (10:52 +0000)]
New improved bell handling. Choice between visual and audible bell;
configurable bell overload handling. Thanks to Robert de Bath for
galvanising me into doing this, but I've had to rip most of his code
out and redo it myself...
git-svn-id: svn://svn.tartarus.org/sgt/putty@1039
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 13 Apr 2001 09:39:08 +0000 (09:39 +0000)]
Some introductory blurb in the docs
git-svn-id: svn://svn.tartarus.org/sgt/putty@1038
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 11 Apr 2001 12:29:35 +0000 (12:29 +0000)]
Experimental checkin to see if we can prevent multiple closes ever
being sent on an SSH1 forwarding (or indeed primary) channel.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1037
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 11 Apr 2001 10:03:46 +0000 (10:03 +0000)]
Jordan Russell's patch to match the PuTTY cursor blink rate to the
system-configured one.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1036
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 9 Apr 2001 12:52:43 +0000 (12:52 +0000)]
Keyboard handling patch from RDB: the Windows Application key is now
always Compose (we have no better use for it), and Ctrl-Alt can be
made to act like AltGr (but it's never Compose even when AltGr is).
git-svn-id: svn://svn.tartarus.org/sgt/putty@1033
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 9 Apr 2001 12:46:45 +0000 (12:46 +0000)]
Don't assume OEM fonts have a space in position 255. We know there's
one in position 32 so let's use that! (Thanks RDB.)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1032
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 9 Apr 2001 12:43:46 +0000 (12:43 +0000)]
We can now configure the terminal's answerback string when it receives ^E.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1031
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 9 Apr 2001 12:23:45 +0000 (12:23 +0000)]
The About box now contains a button that starts up a browser pointing
at the PuTTY web site. Thanks to Eric Theriault.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1030
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 9 Apr 2001 11:59:35 +0000 (11:59 +0000)]
Default handling of VT100 line drawing characters in cut and paste is
now to translate them into poor man's characters (+--+ and |). We also
have an option to disable this (and map line drawing characters to the
corresponding ASCII code as before). Thanks to Robert de Bath.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1029
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 29 Mar 2001 13:40:03 +0000 (13:40 +0000)]
Fix the detect_bugs routine, which was failing to find the right bit
of the version string :-)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1026
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 28 Mar 2001 16:38:40 +0000 (16:38 +0000)]
Oops. The new remote_cmd_ptr points in the wrong place when you copy a
Config structure like plink does at one point. (I'm almost tempted to
say this is where a copy constructor would be handy :-/ )
git-svn-id: svn://svn.tartarus.org/sgt/putty@1025
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 23 Mar 2001 13:02:39 +0000 (13:02 +0000)]
Modify the new rsa_verify routine. We now also check the integrity of
the private data (verifying that p > q and that iqmp really is the
inverse of q mod p). In addition, we _no longer_ check that e*d == 1
mod (p-1)(q-1): instead we do separate checks mod (p-1) and mod (q-1),
since the order of the multiplicative group mod n is actually equal to
lcm(p-1,q-1) rather than phi(n)=(p-1)(q-1). (In other words, the
Fermat-Euler theorem doesn't point both ways.)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1024
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 23 Mar 2001 10:28:36 +0000 (10:28 +0000)]
Fix the SSH protocol version exchange, which had a weird stack trash
in it which for some reason didn't show up when built with VC++6 but
blew up the nightlies. Should be OK now.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1023
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 23 Mar 2001 09:20:43 +0000 (09:20 +0000)]
Fix a couple of silly compiler warnings
git-svn-id: svn://svn.tartarus.org/sgt/putty@1022
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 22 Mar 2001 21:48:33 +0000 (21:48 +0000)]
Following the recent advisory about attacks on PGP keys based on
tampering with the unencrypted public part of the key but leaving
the private part intact ... we are now ultra-paranoid about RSA key
files, and we check that the public part matches the private part
_before_ we generate any signatures with them.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1021
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 22 Mar 2001 21:48:32 +0000 (21:48 +0000)]
Remove needless redeclaration of word32 (it was in ssh.h)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1020
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 22 Mar 2001 17:32:40 +0000 (17:32 +0000)]
Remove the length limit on protocol version strings. (In principle, I
could have got away with upping it to 256, but I didn't want a repeat
of the chaos when some server accidentally breaks that limit too...)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1019
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 19 Mar 2001 10:27:59 +0000 (10:27 +0000)]
Plink in noninteractive-script mode should not show the `Authenticated
with public key' message in SSH2 (it already doesn't in SSH1). It
shouldn't show the login banner either, since its output is probably
redirected to something which will choke on it.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1011
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 19 Mar 2001 10:24:55 +0000 (10:24 +0000)]
Add Norman Brandinger's suggested `-m' option in plink, to read the
remote command from a local file. Advantage: you can have more than
one line in it, so you can remotely run what's effectively a small
script.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1010
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 16 Mar 2001 12:09:44 +0000 (12:09 +0000)]
SSH2 channel fix: received WINDOW_ADJUSTs were always applied to the
primary (shell session) channel, rather than the one they were aimed
at. This _despite_ me having deliberately gone and looked the channel
ID up in the B-tree - I was ignoring the result by accident :-/
X forwarding should now work in SSH2 even on non-trivial clients (ie
things other than xdpyinfo).
git-svn-id: svn://svn.tartarus.org/sgt/putty@1007
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 16 Mar 2001 11:58:54 +0000 (11:58 +0000)]
Correct handling of SSH1 protocol flags, in particular
PROTOFLAG_SCREEN_NUMBER, without which OpenSSH 2.5.1 was objecting to
my gratuitous inclusion of a screen number in the SSH1 X forwarding
request. Ahem.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1006
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 15 Mar 2001 17:14:31 +0000 (17:14 +0000)]
Add support for SSH2 userauth banners. We currently can't deal with
printing them _before_ the username prompt. This apparently isn't very
serious because OpenSSH doesn't _send_ it before the username prompt,
but only in response to USERAUTH_REQUEST "none". Good job we do that!
git-svn-id: svn://svn.tartarus.org/sgt/putty@1005
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 15 Mar 2001 13:25:48 +0000 (13:25 +0000)]
David Brinegar's workaround for an error reporting problem in some
WinSocks.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1004
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 15 Mar 2001 12:15:02 +0000 (12:15 +0000)]
At long last: PuTTY will now report its version to the server
sensibly, as a release or a snapshot or a local build. With any luck
this should make bug reporting easier to handle, because anyone who
sends their Event Log should automatically include the version :-)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1003
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 15 Mar 2001 12:14:09 +0000 (12:14 +0000)]
Fix a trivial compiler warning
git-svn-id: svn://svn.tartarus.org/sgt/putty@1002
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 15 Mar 2001 11:39:17 +0000 (11:39 +0000)]
Fix a few trivial compiler warnings
git-svn-id: svn://svn.tartarus.org/sgt/putty@1001
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 15 Mar 2001 11:38:02 +0000 (11:38 +0000)]
Bit more robustness when talking to Pageant
git-svn-id: svn://svn.tartarus.org/sgt/putty@1000
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 15 Mar 2001 11:32:23 +0000 (11:32 +0000)]
Oops - don't invent an X authorisation when doing agent forwarding!
Overenthusiastic c'n'p breaks the world.
git-svn-id: svn://svn.tartarus.org/sgt/putty@999
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 15 Mar 2001 11:19:59 +0000 (11:19 +0000)]
Fix a segfault on abrupt X connection shutdown.
git-svn-id: svn://svn.tartarus.org/sgt/putty@998
cda61777-01e9-0310-a592-
d414129be87e
simon [Wed, 14 Mar 2001 11:47:11 +0000 (11:47 +0000)]
AES should have accelerator s, not a, to avoid a clash
git-svn-id: svn://svn.tartarus.org/sgt/putty@997
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 13 Mar 2001 10:22:45 +0000 (10:22 +0000)]
Dave Hinton's modifications to the network layer interface, which
should make it possible to add SSL support later.
git-svn-id: svn://svn.tartarus.org/sgt/putty@996
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 13 Mar 2001 09:41:02 +0000 (09:41 +0000)]
Add dependencies for x11fwd.obj to Makefile (thanks Catbells :-)
git-svn-id: svn://svn.tartarus.org/sgt/putty@995
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 12 Mar 2001 15:31:53 +0000 (15:31 +0000)]
ssh_get_password has become ssh_get_line, so it can handle usernames
as well. This should fix the multiple-reads-on-stdin bug in plink.
git-svn-id: svn://svn.tartarus.org/sgt/putty@994
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 12 Mar 2001 15:12:33 +0000 (15:12 +0000)]
Zero length passwords no longer cause an assertion failure :-)
git-svn-id: svn://svn.tartarus.org/sgt/putty@993
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 12 Mar 2001 12:24:07 +0000 (12:24 +0000)]
Finally fixed the point/pixel confusion in font handling. Thanks to
Roman Surma for pointing me at the relevant bits of documentation. All
font sizes should now be measured in points, and everything should be
consistent, and (with any luck) old Registry settings should adapt
gracefully too.
git-svn-id: svn://svn.tartarus.org/sgt/putty@992
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 10 Mar 2001 11:04:07 +0000 (11:04 +0000)]
Add support for using Diffie-Hellman with short exponents (sshdh.c
contains a reference to a paper on the subject). Reduces time taken
for DH group exchange to the point where it's viable to enable it
all the time, so I have. :-)
git-svn-id: svn://svn.tartarus.org/sgt/putty@991
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 10 Mar 2001 11:03:26 +0000 (11:03 +0000)]
Tiny bug in bn_power_2() - didn't work with powers that were a
multiple of 16. Oops!
git-svn-id: svn://svn.tartarus.org/sgt/putty@990
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 10 Mar 2001 10:22:18 +0000 (10:22 +0000)]
Update the text format of the public key as the comment box is edited
git-svn-id: svn://svn.tartarus.org/sgt/putty@989
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 9 Mar 2001 13:30:43 +0000 (13:30 +0000)]
Complete analysis of the magic ASN.1 stuff in RSASSA signatures
git-svn-id: svn://svn.tartarus.org/sgt/putty@988
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 8 Mar 2001 10:07:22 +0000 (10:07 +0000)]
Having introduced a new function into the SSH2 compression structure,
it would help if I implemented it in the dummy no-compression case!
git-svn-id: svn://svn.tartarus.org/sgt/putty@987
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 6 Mar 2001 10:32:28 +0000 (10:32 +0000)]
Introduce the ability to distinguish remote SSH implementations by
their version strings and enable bug compatibility modes.
git-svn-id: svn://svn.tartarus.org/sgt/putty@985
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 6 Mar 2001 09:29:43 +0000 (09:29 +0000)]
Update a couple of messages to be clearer to users who don't have
access to complete documentation (ie all of them at the moment :-)
git-svn-id: svn://svn.tartarus.org/sgt/putty@984
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 5 Mar 2001 17:31:36 +0000 (17:31 +0000)]
Fix various trivial compiler warnings
git-svn-id: svn://svn.tartarus.org/sgt/putty@983
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 5 Mar 2001 16:38:42 +0000 (16:38 +0000)]
Make the SSH2 traffic analysis defence robust in the face of Zlib
compression. This involves introducing an option to disable Zlib
compression (that is, continue to work within the Zlib format but
output an uncompressed block) for the duration of a single packet.
git-svn-id: svn://svn.tartarus.org/sgt/putty@982
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 5 Mar 2001 10:32:36 +0000 (10:32 +0000)]
Further traffic analysis defences
git-svn-id: svn://svn.tartarus.org/sgt/putty@981
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 3 Mar 2001 16:38:44 +0000 (16:38 +0000)]
Implement OpenSSH's private agent forwarding extension. I believe we
now interoperate with OpenSSH/SSH2 to _exactly_ the same level as we
interoperate with SSH1. Which is pretty cool really.
git-svn-id: svn://svn.tartarus.org/sgt/putty@980
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 3 Mar 2001 16:10:04 +0000 (16:10 +0000)]
Remove some stray diagnostics
git-svn-id: svn://svn.tartarus.org/sgt/putty@979
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 3 Mar 2001 16:05:52 +0000 (16:05 +0000)]
Remove a spurious \r\n from an Event Log message
git-svn-id: svn://svn.tartarus.org/sgt/putty@978
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 3 Mar 2001 15:56:39 +0000 (15:56 +0000)]
SSH2 can now use Pageant to obtain keys from
git-svn-id: svn://svn.tartarus.org/sgt/putty@977
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 3 Mar 2001 15:31:35 +0000 (15:31 +0000)]
Add support for the OpenSSH SSH2 agent protocol.
git-svn-id: svn://svn.tartarus.org/sgt/putty@976
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 3 Mar 2001 13:53:44 +0000 (13:53 +0000)]
The authentication diagnostics in SSH2 should now be better.
Additionally, the ability to switch usernames if you mistype the
first one has been restored (although it didn't actually work
because OpenSSH didn't feel like playing; patch submitted :-).
git-svn-id: svn://svn.tartarus.org/sgt/putty@975
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 3 Mar 2001 12:05:36 +0000 (12:05 +0000)]
Oops - fix silly segfault in new puttygen
git-svn-id: svn://svn.tartarus.org/sgt/putty@974
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 3 Mar 2001 11:54:34 +0000 (11:54 +0000)]
Preliminary support for RSA user authentication in SSH2! Most of the
error messages are currently wrong, and Pageant doesn't yet support
the new key type, and I haven't thoroughly tested that falling back
to password authentication and trying invalid keys etc all work. But
what I have here has successfully performed a public key
authentication, so it's working to at least some extent.
git-svn-id: svn://svn.tartarus.org/sgt/putty@973
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 3 Mar 2001 11:53:07 +0000 (11:53 +0000)]
More options for bignum debugging
git-svn-id: svn://svn.tartarus.org/sgt/putty@972
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 2 Mar 2001 17:16:22 +0000 (17:16 +0000)]
Include key type in SSH2 key fingerprints, now we have more than one
git-svn-id: svn://svn.tartarus.org/sgt/putty@971
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 2 Mar 2001 17:14:10 +0000 (17:14 +0000)]
Argh, sshrsa.c now depends on sshsha.c so Pageant needs it :-(
git-svn-id: svn://svn.tartarus.org/sgt/putty@970
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 2 Mar 2001 17:13:36 +0000 (17:13 +0000)]
Added support for RSA host keys (not user keys yet)
git-svn-id: svn://svn.tartarus.org/sgt/putty@969
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 2 Mar 2001 17:13:16 +0000 (17:13 +0000)]
Extra crash-safety in decoding a DSS signature blob
git-svn-id: svn://svn.tartarus.org/sgt/putty@968
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 2 Mar 2001 13:55:23 +0000 (13:55 +0000)]
Support for selecting AES from the GUI. In the process, I've had to
introduce another layer of abstraction in SSH2 ciphers, such that a
single `logical cipher' (as desired by a user) can equate to more
than one `physical cipher'. This is because AES comes in several key
lengths (PuTTY will pick the highest supported by the remote end)
and several different SSH2-protocol-level names (aes*-cbc,
rijndael*-cbc, and an unofficial one rijndael-cbc@lysator.liu.se).
git-svn-id: svn://svn.tartarus.org/sgt/putty@967
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 2 Mar 2001 11:44:35 +0000 (11:44 +0000)]
Add AES support in SSH2. Not yet complete: there's no way to select
it in the GUI (or even in the registry).
git-svn-id: svn://svn.tartarus.org/sgt/putty@966
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 2 Mar 2001 10:29:23 +0000 (10:29 +0000)]
A fix in modmul: don't segfault or fill the result with rubbish if
the unreduced product is shorter than the modulus.
git-svn-id: svn://svn.tartarus.org/sgt/putty@965
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 2 Mar 2001 09:25:14 +0000 (09:25 +0000)]
Fix problem with pointer hiding
git-svn-id: svn://svn.tartarus.org/sgt/putty@964
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 2 Mar 2001 09:24:05 +0000 (09:24 +0000)]
Jacob's fixes for the Event Log
git-svn-id: svn://svn.tartarus.org/sgt/putty@963
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 1 Mar 2001 17:55:40 +0000 (17:55 +0000)]
Diffie-Hellman group exchange in SSH2. Currently #ifdeffed out
(change the sense of #ifdef DO_DIFFIE_HELLMAN_GEX in ssh.c) because
it's _far_ too slow. Will be re-enabled once the bignum routines
work a bit faster (or rather a _lot_ faster).
git-svn-id: svn://svn.tartarus.org/sgt/putty@962
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 1 Mar 2001 17:45:31 +0000 (17:45 +0000)]
Add a key length indication to each SSH2 cipher structure, in
preparation for needing to know how much key material each cipher
needs in order to select a suitable Diffie-Hellman group.
git-svn-id: svn://svn.tartarus.org/sgt/putty@961
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 1 Mar 2001 17:41:26 +0000 (17:41 +0000)]
Remove the last lingering knowledge, outside sshbn.c, of the
internal structure of the Bignum type. Bignum is now a fully opaque
type unless you're inside sshbn.c.
git-svn-id: svn://svn.tartarus.org/sgt/putty@960
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 1 Mar 2001 12:27:35 +0000 (12:27 +0000)]
Stop accidental subsystem attempts
git-svn-id: svn://svn.tartarus.org/sgt/putty@959
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 1 Mar 2001 11:49:23 +0000 (11:49 +0000)]
Fix a potential segfault
git-svn-id: svn://svn.tartarus.org/sgt/putty@958
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 27 Feb 2001 17:09:04 +0000 (17:09 +0000)]
Oops, that broke Telnet negotiation display. Fix tabstops in eventlog.
git-svn-id: svn://svn.tartarus.org/sgt/putty@957
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 27 Feb 2001 17:02:51 +0000 (17:02 +0000)]
Timestamp every line of the Event Log. The primary reason for this
(generating detail in bug reports when SSH2 repeat key exchange
failed) is no longer an issue, but it might be useful for other
things. It's a _log_ dammit, and logs should be timestamped.
git-svn-id: svn://svn.tartarus.org/sgt/putty@956
cda61777-01e9-0310-a592-
d414129be87e
simon [Tue, 27 Feb 2001 09:11:42 +0000 (09:11 +0000)]
Patches to prevent a couple of silly crashes
git-svn-id: svn://svn.tartarus.org/sgt/putty@954
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 26 Feb 2001 16:39:15 +0000 (16:39 +0000)]
Moderately evil workaround to compensate for a variation in
behaviour of FXP_REALPATH. (Specifically, BSD and GNU realpath(3)
disagree over whether to return success when computing the realpath
for a putative new file to be created in a valid directory. There's
no way we can tell from (say) the OpenSSH version string because
OpenSSH might have been compiled to use the local realpath _or_ its
own nonbroken one.)
git-svn-id: svn://svn.tartarus.org/sgt/putty@953
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 26 Feb 2001 16:37:22 +0000 (16:37 +0000)]
Ahem. sftp.obj depends on sftp.c not on psftp.c!
git-svn-id: svn://svn.tartarus.org/sgt/putty@952
cda61777-01e9-0310-a592-
d414129be87e
simon [Mon, 26 Feb 2001 09:21:55 +0000 (09:21 +0000)]
Finish adding PSFTP to the master Makefile (oops!)
git-svn-id: svn://svn.tartarus.org/sgt/putty@944
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 24 Feb 2001 16:08:56 +0000 (16:08 +0000)]
psftp now works as part of the PuTTY suite
git-svn-id: svn://svn.tartarus.org/sgt/putty@940
cda61777-01e9-0310-a592-
d414129be87e
simon [Sat, 24 Feb 2001 12:02:35 +0000 (12:02 +0000)]
SFTP client now successfully handles cd, ls, get and put.
git-svn-id: svn://svn.tartarus.org/sgt/putty@939
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 23 Feb 2001 18:21:44 +0000 (18:21 +0000)]
First stab at an SFTP client. Currently a Unixland testing app, not
integrated into PuTTY.
git-svn-id: svn://svn.tartarus.org/sgt/putty@938
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 23 Feb 2001 18:21:06 +0000 (18:21 +0000)]
64-bit integer routines
git-svn-id: svn://svn.tartarus.org/sgt/putty@937
cda61777-01e9-0310-a592-
d414129be87e
simon [Fri, 23 Feb 2001 13:15:17 +0000 (13:15 +0000)]
Add a traffic analysis defence to SSH2 password authentication
git-svn-id: svn://svn.tartarus.org/sgt/putty@936
cda61777-01e9-0310-a592-
d414129be87e
simon [Thu, 22 Feb 2001 09:07:24 +0000 (09:07 +0000)]
Update copyright dates to 2001 :-)
git-svn-id: svn://svn.tartarus.org/sgt/putty@935
cda61777-01e9-0310-a592-
d414129be87e