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

324 Commits

Author SHA1 Message Date
Simon Tatham
77c8e3c17c Chinese support patch from zmx@cdpa.nsysu.edu.tw
[originally from svn r740]
2000-10-20 18:36:15 +00:00
Simon Tatham
964e6407e1 Remember to close key files when rsakey_encrypted meets a bogus one
[originally from svn r739]
2000-10-20 17:57:47 +00:00
Simon Tatham
17cea8353f Put back the code that ensures "Default Settings" is always in the
session list even if it isn't in the Registry. This got deleted
overenthusiastically because I didn't have a comment explaining what
it was doing there. Now there's a comment, so I probably won't
remove it again.

[originally from svn r733]
2000-10-20 15:20:53 +00:00
Simon Tatham
51b05a4438 Rename "Stored Sessions" to "Saved Sessions" for consistency
[originally from svn r732]
2000-10-20 15:09:56 +00:00
Simon Tatham
4b08041d42 Some better IDC_* names for the controls on the Colours panel
[originally from svn r731]
2000-10-20 15:09:35 +00:00
Simon Tatham
cbf38bc831 Add the LBS_NOTIFY style to the list box in colouredit(), which was
vital to it working right

[originally from svn r730]
2000-10-20 14:45:16 +00:00
Simon Tatham
e32603347c Introduce a sane interface function, from_backend(), for backends to
use when they have data from the network. Replaces the utterly daft
inbuf / inbuf_head / term_out() interface, which only made sense
when feeding to terminal.c. (terminal.c now implements
from_backend() as a small function that gateways to the old
interface.)

As a side effect, from_backend() also has an `is_stderr' parameter,
so scp can once again separate the server's pronouncements on stderr
from the actual protocol progress on stdout.

[originally from svn r729]
2000-10-20 13:51:46 +00:00
Simon Tatham
31374678c0 Trim trailing whitespace off saved session names on the command line
[originally from svn r728]
2000-10-20 13:23:24 +00:00
Simon Tatham
a80fa10287 Remember to update scrollbar when scrollback is reset
[originally from svn r727]
2000-10-20 12:31:02 +00:00
Simon Tatham
0432fabf20 Replace the 8859-2 -> Win1250 translation which I accidentally blew away
[originally from svn r726]
2000-10-20 11:16:58 +00:00
Simon Tatham
26ff0d4e75 A couple of UI tweaks in puttygen
[originally from svn r725]
2000-10-20 10:47:46 +00:00
Simon Tatham
450905f02c Removed TODO comment after verifying that generated keys work
[originally from svn r724]
2000-10-20 10:44:17 +00:00
Simon Tatham
58cdc03c68 Entropy fix after better statistical analysis
[originally from svn r723]
2000-10-20 10:42:31 +00:00
Simon Tatham
92deca11dd Variable key size in PuTTYgen. Also required adding WM_VSCROLL to the
window style in bigeditctrl() in winctrls.c.

[originally from svn r722]
2000-10-20 10:07:53 +00:00
Simon Tatham
2743ab90f5 Add a PuTTYgen icon
[originally from svn r721]
2000-10-20 09:50:56 +00:00
Simon Tatham
8c138ebd41 Check whether key was actually saved, and warn if not
[originally from svn r720]
2000-10-20 09:43:58 +00:00
Simon Tatham
918c9ddfc5 Save Key now prompts before overwriting an existing file
[originally from svn r719]
2000-10-20 09:41:13 +00:00
Simon Tatham
e0ad00f264 Adjust the title of the PuTTYgen window
[originally from svn r718]
2000-10-20 09:36:11 +00:00
Simon Tatham
76638e62be Add a second passphrase prompt to protect against typos
[originally from svn r717]
2000-10-20 09:31:16 +00:00
Simon Tatham
0210709520 We must InitCommonControls() or the progress bar doesn't work on 95
[originally from svn r716]
2000-10-20 09:24:44 +00:00
Simon Tatham
8d0bee8629 PuTTYgen initial version. Still to do are basic user-friendliness
features (prompt for passphrase twice, prompt before overwriting a
file, check the key file was actually saved OK), testing of the
generated keys to make sure I got the file format right, and support
for a variable key size. I think what's already here is basically
sound though.

[originally from svn r715]
2000-10-19 15:43:08 +00:00
Simon Tatham
8e7a270f7f Miscellaneous cleanups and reorgs in preparation for building
PuTTYgen. In particular, moved self-managing controls stuff out of
windlg.c into the new and reusable winctrls.c.

[originally from svn r714]
2000-10-18 15:36:32 +00:00
Simon Tatham
f543b08ca5 Add some more commented-out diagnostics for ssh1
[originally from svn r713]
2000-10-18 15:33:05 +00:00
Simon Tatham
e41344c544 RSA key generation routines, and the bignum enhancements required to
support them. A key generation tool will be forthcoming soon.

[originally from svn r712]
2000-10-18 15:00:36 +00:00
Simon Tatham
633ae5a22b Add an "Add Key" option to the systray menu in Pageant
[originally from svn r710]
2000-10-12 15:26:40 +00:00
Simon Tatham
95697270b5 Implement MD5 MAC for the benefit of old SSH2 servers
[originally from svn r709]
2000-10-12 14:24:58 +00:00
Simon Tatham
fd3e15f328 Miscellaneous fixes for better interoperation with commercial SSH 2
[originally from svn r708]
2000-10-12 13:34:46 +00:00
Simon Tatham
e67f143e61 Implement a much more visually appealing, but much more internally
grotty, hack to get around Explorer maximising the config box.

[originally from svn r707]
2000-10-12 12:56:33 +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
421aafb4c0 Stop the SSH panel appearing in PuTTYtel
[originally from svn r705]
2000-10-12 09:10:45 +00:00
Simon Tatham
d6a97056a1 Stop plink's key verification locking up on input
[originally from svn r704]
2000-10-12 09:10:31 +00:00
Simon Tatham
fa731eaf82 Add UNE 10053 to the cleartext ones
[originally from svn r703]
2000-10-11 19:56:22 +00:00
Simon Tatham
fe2ee468e6 Turn off paste-as-poorman for line drawing chars until it's configurable
[originally from svn r702]
2000-10-10 16:02:08 +00:00
Simon Tatham
cc306c6d9d ISO8859-2 to CP852 output translation wants to have Win1250 to ISO8859-2
input translation as its counterpart, not CP852 to ISO8859-2. Because the
reason you want this translation is if your _font_ is coded CP852 - in which
case your keymap will not follow suit but will still be in Win1250.

[originally from svn r701]
2000-10-10 12:43:24 +00:00
Simon Tatham
b5957e5732 Scroll regions of two lines are allowed
[originally from svn r700]
2000-10-10 10:50:14 +00:00
Simon Tatham
fff1053350 Trivial bug with the function-key radio buttons
[originally from svn r699]
2000-10-10 09:17:13 +00:00
Simon Tatham
6b620323e0 Now when a saved session is loaded, its name appears in the
IDC_SESSEDIT box, so that clicking Save will save over it. Useful
for people who want to load, modify, and re-save. Special case: this
doesn't apply to Default Settings, because I think people will be
more likely to load DS, modify it, and save under a _different_
name, so it's good not to allow a single mouse click to screw them
up.

[originally from svn r698]
2000-10-10 09:03:20 +00:00
Simon Tatham
ef5965e430 Move initialisation of the saved session box outside init_dlg_ctrls() so
that you don't end up with twice as many items after clicking Load

[originally from svn r697]
2000-10-10 08:33:49 +00:00
Simon Tatham
a453e02987 Rename IDC_FUNCTILDE from "VT400" to "ESC[n~" because another VT400 now
exists!

[originally from svn r696]
2000-10-10 08:20:26 +00:00
Simon Tatham
7b444de332 Add ISO8859-2 / CP852 translation courtesy of Jaromir Filsak
[originally from svn r695]
2000-10-09 16:29:12 +00:00
Simon Tatham
3e7c4813d7 Work around horrifyingly nonportable use of unions in <commctrl.h>
[originally from svn r694]
2000-10-09 16:12:51 +00:00
Simon Tatham
ceab40ec49 Abandon the tab control in favour of a tree view
[originally from svn r693]
2000-10-09 15:51:14 +00:00
Simon Tatham
fd5588d087 Robert de Bath's big patch:
- cope with strange WinSock wrappers not supporting SIOCATMARK
  - define yet more terminal compatibility modes
  - support UK-ASCII (just like US-ASCII but # is a sterling sign)
  - support connection keepalives at a configurable interval

[originally from svn r692]
2000-10-09 12:53:32 +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
5e71961719 Remove the hierarchical dialog structure
[originally from svn r690]
2000-10-09 12:16:27 +00:00
Simon Tatham
b8967e5231 Add a compile option so that anyone who really wants to can build a
Win95-only (securityless) version of Pageant. This will refuse to
run at all under NT, so as to avoid the risk of people accidentally
running an insecure binary on a security-requiring system.

[originally from svn r688]
2000-10-09 09:10:09 +00:00
Simon Tatham
f7d6cd2059 Alt-Enter was fouling up on Win95; added explicit handler
[originally from svn r687]
2000-10-07 08:10:32 +00:00
Simon Tatham
82dcef256f Fix sorting of saved sessions list box so Default Settings is back at
the top of the list instead of being filed under D

[originally from svn r686]
2000-10-06 16:19:44 +00:00
Simon Tatham
0129f94d1c Stop throwing out the Connection panel during midsession reconfig.
Instead, only throw out the useless parts of it. See, the new auto-
layout features bear fruit immediately!

[originally from svn r685]
2000-10-06 16:01:09 +00:00
Simon Tatham
942d7f0533 Update Makefile generation and ensure everything works with Borland 5.5
[originally from svn r684]
2000-10-06 15:54:04 +00:00