Jacob Nevins
2cf27e43bb
Log the hash used for DH kex (now there's a choice).
...
[originally from svn r6605]
2006-03-12 15:39:19 +00:00
Ben Harris
c0d36aa00a
Implement hmac-sha1-96. It's RECOMMENDED in the current transport draft,
...
and we don't have any strong reason not to implement it, for all that it's
rather pointless.
[originally from svn r6284]
2005-09-10 16:19:53 +00:00
Ben Harris
a59356aa74
Add infrastructure for supporting multiple hashes in key exchange.
...
Nothing very surprising here.
[originally from svn r6251]
2005-08-31 20:43:06 +00:00
Ben Harris
11d5c791ac
Rename ssh_md5 and ssh_sha1 to ssh_hmac_md5 and ssh_hmac_sha1 respectively.
...
This is to make room for a hash abstraction that's likely to want to use
ssh_sha1, at least.
[originally from svn r6249]
2005-08-31 19:11:19 +00:00
Jacob Nevins
5aa719d16e
Consistently use a single notation to refer to SSH protocol versions, as
...
discussed. Use Barrett and Silverman's convention of "SSH-1" for SSH protocol
version 1 and "SSH-2" for protocol 2 ("SSH1"/"SSH2" refer to ssh.com
implementations in this scheme). <http://www.snailbook.com/terms.html >
[originally from svn r5480]
2005-03-10 16:36:05 +00:00
Jacob Nevins
fb92f118bd
Mention the negotiated SSH-2 MAC algorithm(s) in the Event Log.
...
(It should be possible to at least see what MAC is in use without going to a
SSH packet log.)
[originally from svn r4591]
2004-09-29 23:57:03 +00:00
Simon Tatham
d36a4c3685
Introduced wrapper macros snew(), snewn() and sresize() for the
...
malloc functions, which automatically cast to the same type they're
allocating the size of. Should prevent any future errors involving
mallocing the size of the wrong structure type, and will also make
life easier if we ever need to turn the PuTTY core code from real C
into C++-friendly C. I haven't touched the Mac frontend in this
checkin because I couldn't compile or test it.
[originally from svn r3014]
2003-03-29 16:14:26 +00:00
Ben Harris
2d86617f31
Make SHA_Core_Init() (only used in this file) static.
...
[originally from svn r2470]
2003-01-05 15:31:09 +00:00
Simon Tatham
8f91f07599
SSH2 MACs now use dynamically allocated contexts.
...
[originally from svn r2131]
2002-10-25 12:51:28 +00:00
Simon Tatham
d345ebc2a5
Add support for DSA authentication in SSH2, following clever ideas
...
on how to get round the problem of generating a good k.
[originally from svn r1284]
2001-09-22 20:52:21 +00:00
Simon Tatham
3730ada5ce
Run entire source base through GNU indent to tidy up the varying
...
coding styles of the various contributors! Woohoo!
[originally from svn r1098]
2001-05-06 14:35:20 +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
3e83d75154
Add a config option to emulate the HMAC bug in commercial SSH v2.3.x
...
and earlier (namely, it uses only 16 bytes of key rather than 20).
[originally from svn r706]
2000-10-12 12:39:44 +00:00
Simon Tatham
e48981def4
Miscellaneous fixes to try to make other compilers happier
...
[originally from svn r691]
2000-10-09 12:19:09 +00:00
Simon Tatham
d9af8f4b90
RSA key authentication in ssh1 works; SSH2 is nearly there
...
[originally from svn r572]
2000-09-07 16:33:49 +00:00
Simon Tatham
0f1e449189
SSH2 transport layer now enables encryption and MAC successfully for 3DES
...
[originally from svn r571]
2000-09-06 09:55:32 +00:00
Simon Tatham
36a499a7f1
Second attempt. Can successfully decrypt the _first block_ of a packet.
...
[originally from svn r570]
2000-09-05 16:23:36 +00:00
Simon Tatham
35205e5cb7
SSH 2 support, phase 1, debugging. Currently does Diffie-Hellman and gets
...
the same results as the server, which is a pretty good start.
[originally from svn r569]
2000-09-05 14:28:17 +00:00
Simon Tatham
929935d05b
Replace SHA implementation with homegrown one
...
[originally from svn r334]
1999-12-03 11:32:50 +00:00
Simon Tatham
c74130d423
Initial checkin: beta 0.43
...
[originally from svn r11]
1999-01-08 13:02:13 +00:00