1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 18:07:59 +00:00
Commit Graph

4411 Commits

Author SHA1 Message Date
Simon Tatham
eee0a20be6 Update the text format of the public key as the comment box is edited
[originally from svn r989]
2001-03-10 10:22:18 +00:00
Simon Tatham
83affa4ed9 Complete analysis of the magic ASN.1 stuff in RSASSA signatures
[originally from svn r988]
2001-03-09 13:30:43 +00:00
Simon Tatham
630a9a628f Having introduced a new function into the SSH2 compression structure,
it would help if I implemented it in the dummy no-compression case!

[originally from svn r987]
2001-03-08 10:07:22 +00:00
Simon Tatham
a34ef3df55 Introduce the ability to distinguish remote SSH implementations by
their version strings and enable bug compatibility modes.

[originally from svn r985]
2001-03-06 10:32:28 +00:00
Simon Tatham
48c0729310 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 :-)

[originally from svn r984]
2001-03-06 09:29:43 +00:00
Simon Tatham
6b58ab6ad4 Fix various trivial compiler warnings
[originally from svn r983]
2001-03-05 17:31:36 +00:00
Simon Tatham
aaeecbb4ea 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.

[originally from svn r982]
2001-03-05 16:38:42 +00:00
Simon Tatham
a1d5dab580 Further traffic analysis defences
[originally from svn r981]
2001-03-05 10:32:36 +00:00
Simon Tatham
16f4ffe616 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.

[originally from svn r980]
2001-03-03 16:38:44 +00:00
Simon Tatham
1742f1cd34 Remove some stray diagnostics
[originally from svn r979]
2001-03-03 16:10:04 +00:00
Simon Tatham
de1c70a5d4 Remove a spurious \r\n from an Event Log message
[originally from svn r978]
2001-03-03 16:05:52 +00:00
Simon Tatham
245cf9c8c9 SSH2 can now use Pageant to obtain keys from
[originally from svn r977]
2001-03-03 15:56:39 +00:00
Simon Tatham
1f168926d7 Add support for the OpenSSH SSH2 agent protocol.
[originally from svn r976]
2001-03-03 15:31:35 +00:00
Simon Tatham
deccfaa3ef 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 :-).

[originally from svn r975]
2001-03-03 13:53:44 +00:00
Simon Tatham
146b5f5f6e Oops - fix silly segfault in new puttygen
[originally from svn r974]
2001-03-03 12:05:36 +00:00
Simon Tatham
28b1fc766c 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.

[originally from svn r973]
2001-03-03 11:54:34 +00:00
Simon Tatham
d894658913 More options for bignum debugging
[originally from svn r972]
2001-03-03 11:53:07 +00:00
Simon Tatham
1d4009402e Include key type in SSH2 key fingerprints, now we have more than one
[originally from svn r971]
2001-03-02 17:16:22 +00:00
Simon Tatham
ded661cd07 Argh, sshrsa.c now depends on sshsha.c so Pageant needs it :-(
[originally from svn r970]
2001-03-02 17:14:10 +00:00
Simon Tatham
97ace7d80d Added support for RSA host keys (not user keys yet)
[originally from svn r969]
2001-03-02 17:13:36 +00:00
Simon Tatham
902d0636fc Extra crash-safety in decoding a DSS signature blob
[originally from svn r968]
2001-03-02 17:13:16 +00:00
Simon Tatham
b182356f99 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).

[originally from svn r967]
2001-03-02 13:55:23 +00:00
Simon Tatham
bf25fd405c Add AES support in SSH2. Not yet complete: there's no way to select
it in the GUI (or even in the registry).

[originally from svn r966]
2001-03-02 11:44:35 +00:00
Simon Tatham
47fc223782 A fix in modmul: don't segfault or fill the result with rubbish if
the unreduced product is shorter than the modulus.

[originally from svn r965]
2001-03-02 10:29:23 +00:00
Simon Tatham
5f0d3bd19d Fix problem with pointer hiding
[originally from svn r964]
2001-03-02 09:25:14 +00:00
Simon Tatham
b6255788ca Jacob's fixes for the Event Log
[originally from svn r963]
2001-03-02 09:24:05 +00:00
Simon Tatham
cc9d7ba87e 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).

[originally from svn r962]
2001-03-01 17:55:40 +00:00
Simon Tatham
862d6a496d 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.

[originally from svn r961]
2001-03-01 17:45:31 +00:00
Simon Tatham
f72b5aa95f 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.

[originally from svn r960]
2001-03-01 17:41:26 +00:00
Simon Tatham
7717c386a1 Stop accidental subsystem attempts
[originally from svn r959]
2001-03-01 12:27:35 +00:00
Simon Tatham
d226659a12 Fix a potential segfault
[originally from svn r958]
2001-03-01 11:49:23 +00:00
Simon Tatham
a680cef1b2 Oops, that broke Telnet negotiation display. Fix tabstops in eventlog.
[originally from svn r957]
2001-02-27 17:09:04 +00:00
Simon Tatham
0d3ab7306e 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.

[originally from svn r956]
2001-02-27 17:02:51 +00:00
Simon Tatham
2b8ab6082f Patches to prevent a couple of silly crashes
[originally from svn r954]
2001-02-27 09:11:42 +00:00
Simon Tatham
b10bc57b03 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.)

[originally from svn r953]
2001-02-26 16:39:15 +00:00
Simon Tatham
1129d200e4 Ahem. sftp.obj depends on sftp.c not on psftp.c!
[originally from svn r952]
2001-02-26 16:37:22 +00:00
Simon Tatham
22c9d8c9e8 Finish adding PSFTP to the master Makefile (oops!)
[originally from svn r944]
2001-02-26 09:21:55 +00:00
Simon Tatham
39cf689fd6 psftp now works as part of the PuTTY suite
[originally from svn r940]
2001-02-24 16:08:56 +00:00
Simon Tatham
094dd30d95 SFTP client now successfully handles cd, ls, get and put.
[originally from svn r939]
2001-02-24 12:02:35 +00:00
Simon Tatham
48b988b439 First stab at an SFTP client. Currently a Unixland testing app, not
integrated into PuTTY.

[originally from svn r938]
2001-02-23 18:21:44 +00:00
Simon Tatham
af83203852 64-bit integer routines
[originally from svn r937]
2001-02-23 18:21:06 +00:00
Simon Tatham
5cdfd67cd1 Add a traffic analysis defence to SSH2 password authentication
[originally from svn r936]
2001-02-23 13:15:17 +00:00
Simon Tatham
c40ee23d0f Update copyright dates to 2001 :-)
[originally from svn r935]
2001-02-22 09:07:24 +00:00
Simon Tatham
8a4206e636 Attempt to fix the remaining key re-exchange bug
[originally from svn r934]
2001-02-20 13:55:59 +00:00
Owen Dunn
53f03d93d5 More proto `how-to' documentation: CVS and WinCVS
[originally from svn r933]
2001-02-19 23:24:01 +00:00
Simon Tatham
04e1b8b9d2 Add a how-to section on public-key authentication in PSCP
[originally from svn r932]
2001-02-19 10:54:18 +00:00
Simon Tatham
83370ae6e5 Add "make clean" target
[originally from svn r931]
2001-02-19 10:54:05 +00:00
Owen Dunn
7e41e63161 Prelim. CVS/plink howto
[originally from svn r930]
2001-02-07 11:20:15 +00:00
Owen Dunn
e7f833834c Mostly Mathias Leinmueller's PuTTYgen documentation, modified slightly
and Buttressed.

[originally from svn r929]
2001-02-06 09:34:42 +00:00
Simon Tatham
9b7dbb92cc Modifications to the new Close On Exit option:
- wording change (required a patch to winctrls.c:radioline())
 - `only on clean exit' is used when an old-style config says `yes',
   on the grounds that it's more generally useful than `always' and
   also we want to map the old default to the new default.

[originally from svn r928]
2001-02-05 13:42:33 +00:00