Граф коммитов

1006 Коммитов

Автор SHA1 Сообщение Дата
Simon Tatham 5e49e3fe1c PuTTYgen will now start by loading a private key file if one is
provided on its command line.

[originally from svn r1810]
2002-08-06 17:48:14 +00:00
Simon Tatham 452adcc952 Oops. That is to say, only loading and saving of PuTTY private keys
should default to .PPK - loading and saving of public keys and of
foreign key formats still defaults to All Files. Ahem.

[originally from svn r1809]
2002-08-06 17:35:34 +00:00
Simon Tatham afbd7779e4 Now that we've decided on a file extension for private key files
(.PPK), make it the default in all the private-key file dialogs.

[originally from svn r1808]
2002-08-06 17:27:18 +00:00
Simon Tatham af2c66be95 Buttress is now Halibut: change the docs makefile.
[originally from svn r1802]
2002-08-05 10:35:35 +00:00
Simon Tatham a3a520709e Make it clear that we're only responsible for our own web site, and
people should contact mirror admins for problems with mirrors.

[originally from svn r1801]
2002-08-05 10:35:23 +00:00
Simon Tatham 118fc8c81e Revamp of command-line handling. Most command line options should
now be processed in cmdline.c, which is called from all utilities
(well, not Pageant or PuTTYgen). This should mean we get to
standardise almost all options across almost all tools. Also one
major change: `-load' is now the preferred option for loading a
saved session in PuTTY proper. `@session' still works but is
deprecated.

[originally from svn r1799]
2002-08-04 21:18:56 +00:00
Simon Tatham 949cecd569 Fix culpable lack of generality in keyboard-interactive
authentication: a k-i request packet can contain any number of auth
prompts (including zero!) and we must ask the user all of them and
send back a packet containing the same number of responses. FreeBSD
systems were sending a zero-prompts packet which was crashing us;
this now appears fixed (we correctly return a zero-responses packet)
but I haven't tested a multiple-prompts packet because I can't
immediately think of a server that generates them.

[originally from svn r1797]
2002-08-03 16:22:55 +00:00
Jacob Nevins 73e32fb7c0 OpenSSH/OpenSSL versioning problems: as of 3.4p1 this is _still_ not entirely
fixed.

[originally from svn r1781]
2002-07-09 11:34:10 +00:00
Simon Tatham 0605d6d3c1 Forgot to call fxp_init() in `pscp -ls' mode under SFTP.
[originally from svn r1748]
2002-06-25 18:51:06 +00:00
Simon Tatham 802aeb2d5e Failure to initialise a local variable was leading to free(garbage)
on loading an OpenSSH key and getting the wrong passphrase.

[originally from svn r1737]
2002-06-17 16:45:41 +00:00
Simon Tatham 3f8d151c5a One of the recent port forwarding crash reports contained details
which suggested bufchain_prefix() was finding an improperly
initialised bufchain structure. Looking at the code, this may indeed
have been able to happen, since the bufchain in a SOCKDATA_DORMANT
channel was not initialised until CHANNEL_OPEN_CONFIRMATION was
received. This seems utterly daft, so I now call bufchain_init()
when the channel structure is actually created. With any luck the
crash will mystically disappear now (I wasn't able to reproduce it
myself).

[originally from svn r1735]
2002-06-15 16:52:35 +00:00
Simon Tatham 729512abc2 Padding on the end of the encrypted data in OpenSSH key format was
broken: the OpenSSL EVP layer specifies a very particular form of
padding, which I wasn't generating because it hadn't occurred to me
that it might be mandatory. Irritatingly this was causing our
exported OpenSSH keys to load perfectly happily back in through our
OpenSSH import routines, but to be rejected by OpenSSH proper. Sigh.

[originally from svn r1733]
2002-06-15 16:31:22 +00:00
Simon Tatham ab1d4f5dce Small memory allocation bug in openssh_encrypted() fixed.
[originally from svn r1732]
2002-06-15 15:37:15 +00:00
Simon Tatham b6a9610e86 Modify the Feedback page / Appendix B to expand the section about
not sending us large attachments, and in particular remove the
emphasis on screen shots in the hope of also decreasing the number
of _other_ large attachments we get.

[originally from svn r1715]
2002-06-08 09:00:00 +00:00
Simon Tatham 858441ba81 Workaround for the SSH2 RSA padding bug in OpenSSH 2.5 - 3.2
inclusive. Padding is accomplished by rewriting the signature blob
rather than at the point of generation, in order to avoid having to
move part of the workaround into Pageant (and having to corrupt the
agent wire protocol to allow PuTTY to specify whether it wants its
signatures padded!).

[originally from svn r1708]
2002-05-31 17:39:16 +00:00
Jacob Nevins d5e66f6098 Fix AltGr/Application/Compose/CtrlAlt discrepancies introduced in windlg.c
rev 1.118 [r1033] (pointed out by Rob Pitman).

[originally from svn r1707]
[r1033 == d2369721bb]
2002-05-30 12:41:07 +00:00
Jacob Nevins f6c9873c96 Trying to use an SSH2 key with an SSH1 connection seems to be quite
common, so I've added a FAQ.

[originally from svn r1697]
2002-05-23 22:02:53 +00:00
Jacob Nevins 2cd8ddb17d Note that answerback string can contain control characters with ^C notation,
and the ^~ escape, but don't go into the gory details.

[originally from svn r1693]
2002-05-22 21:18:06 +00:00
Simon Tatham c92ea6c8ed UI changes for key imports. We now have a separate Load command and
Import command; the former warns you if you load a foreign key,
whereas the latter doesn't. So the user should always be aware, one
way or the other, that a format conversion is taking place.

[originally from svn r1687]
2002-05-18 09:20:41 +00:00
Simon Tatham 8cdae4f73b ieof-for-nonexistent-channel problem: avoid comparing an unsigned with -1
[originally from svn r1686]
2002-05-17 12:33:20 +00:00
Jacob Nevins fdbfe9e89f Nit: PuTTYgen can generate RSA _and DSA_ keys
[originally from svn r1685]
2002-05-16 22:36:36 +00:00
Simon Tatham de3b29f7e5 Final cleanups on key import/export work. Rationalised the UI (so
that menu options are greyed out helpfully) and added documentation.

[originally from svn r1683]
2002-05-15 20:07:11 +00:00
Simon Tatham ff5241c1ed Added export of ssh.com key files.
[originally from svn r1682]
2002-05-15 19:16:45 +00:00
Simon Tatham 030c75b7db Implemented export of OpenSSH keys.
[originally from svn r1677]
2002-05-14 18:11:15 +00:00
Simon Tatham ed29fdc91c Add some basic framework code preparatory to adding key export.
[originally from svn r1675]
2002-05-13 16:56:11 +00:00
Simon Tatham 82d2d94d26 Update FAQ to mention ssh.com key importing
[originally from svn r1674]
2002-05-13 16:48:31 +00:00
Simon Tatham 286f1f5b1f Be more careful about destroying sensitive data after private key
load/store/import operations.

[originally from svn r1673]
2002-05-13 16:37:11 +00:00
Simon Tatham 3b20d71a7e Add import of ssh.com private keys.
[originally from svn r1672]
2002-05-13 16:32:42 +00:00
Simon Tatham 9a8c58a64b Added a framework for importing foreign key formats, and implemented
importing of OpenSSH SSH2 private key files (both encrypted and
unencrypted). Seems to work fine.

[originally from svn r1668]
2002-05-11 16:45:29 +00:00
Simon Tatham 07d48d8b27 Remove tiny unnecessary faff in new SSH-2-only code
[originally from svn r1665]
2002-05-11 13:12:19 +00:00
Owen Dunn c71432cb86 SSH2 only support
[originally from svn r1664]
2002-05-11 13:08:37 +00:00
Owen Dunn c14c2ff479 Added SSH2 only support.
[originally from svn r1663]
2002-05-11 13:03:47 +00:00
Simon Tatham 8c3a0eb50b Improved error messages if you use the wrong key type: you should
now be told that the key is the wrong type, _and_ what type it is,
rather than being given a blanket `unable to read key file' message.

[originally from svn r1662]
2002-05-11 12:13:42 +00:00
Simon Tatham 43ddeb86bf Removed the old Visual C++ master makefile, since it has now been
superseded by the new Recipe / mkfiles.pl mechanism.

[originally from svn r1624]
2002-04-27 16:30:15 +00:00
Simon Tatham 6c620a6b50 Additions to the Feedback page to emphasise that we can't answer all
our mail any more, and to encourage support questions to be sent
elsewhere as a first resort.

[originally from svn r1623]
2002-04-27 16:20:16 +00:00
Simon Tatham 5331956c07 SOCKS proxy support added (next instalment of Justin Bradford's
proxy work). SOCKS 5 username/password authentication still
unsupported.

[originally from svn r1622]
2002-04-27 15:01:18 +00:00
Jacob Nevins 6a95a15aaa Added comments to document '-gui' Windows messages, based on putty-bugs post
<E14g2ty-0008WN-00@ixion.tartarus.org> (except for Ryan Finnie's extra
messages).

[originally from svn r1620]
2002-04-18 22:23:12 +00:00
Jacob Nevins 1368cbb080 Added documentation of PuTTY command-line options (derived from the source)
[originally from svn r1619]
2002-04-18 20:45:01 +00:00
Simon Tatham 8ea5ea17d1 The SFTP form of PSCP should remember to send FXP_INIT! Oops.
[originally from svn r1616]
2002-04-10 19:54:42 +00:00
Simon Tatham 4a33fecb07 Mention that numeric code pages can be entered manually in the
Translation box.

[originally from svn r1615]
2002-04-03 18:24:59 +00:00
Simon Tatham 428e0d565f Add a couple of extra FAQ entries.
[originally from svn r1614]
2002-04-01 15:18:29 +00:00
Simon Tatham 43c528f780 The console version of askappend() completely forgot to check
cfg.logxfovr to see whether the user had already specified what
should happen to log files. Fixed.

[originally from svn r1613]
2002-03-31 16:28:06 +00:00
Simon Tatham ae2599845c Fix major memory leak in sftp_cmd_ls (thanks to Hans-Juergen Petrich
for pointing it out).

[originally from svn r1612]
2002-03-31 16:26:13 +00:00
Simon Tatham 01ca464ad2 Fix bug in Minefield's realloc() which was throwing away most of any
block > 4096 bytes. Arrgh.

[originally from svn r1611]
2002-03-31 16:23:32 +00:00
Simon Tatham 17af65c78c Remember to wait for SSH1_MSG_SUCCESS after enabling remote port
forwardings in SSH1. Was causing several MSG_SUCCESS to be queued up
unread, which was wrong-but-benign in most cases but caused a hard
crash with compression enabled (one of those uncompressed
MSG_SUCCESSes was fed to the zlib decompressor with spectacular
results).

[originally from svn r1609]
2002-03-27 21:58:11 +00:00
Simon Tatham e40f043ff8 Matt Harden's (modified) patch to do getservbyname() lookups on port-
forwarding port numbers.

[originally from svn r1608]
2002-03-27 21:43:37 +00:00
Simon Tatham ecd496a621 Updates to proxy support, both from me and from Justin Bradford.
Removed unnecessary spin locks, added a few comments, added support
for Telnet-type proxies, and wrote some documentation.

[originally from svn r1607]
2002-03-27 21:09:16 +00:00
Simon Tatham edd1ab5701 Dominique Faure's patch (slightly modified) to implement the PuTTY
saved-sessions menu in Pageant. Disabled if it can't find the PuTTY
binary on startup (just like the help features are disabled if it
can't find the help file).

[originally from svn r1606]
2002-03-27 20:30:57 +00:00
Simon Tatham 689fcb5106 Add -w-pia to the Borland makefile (suppress warnings about
assignment statements used as truth values).

[originally from svn r1605]
2002-03-27 20:08:12 +00:00
Jacob Nevins 84812737b1 OpenSSH 3.1p1 SSH2 3DES is also broken.
[originally from svn r1603]
2002-03-24 14:08:13 +00:00