026425c117[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-79] Message.add() can take many args a bit of cleanup to Message: add() can now take any number of params, and will add them all in order (using type guessing).
Robey Pointer
2004-09-11 20:35:19 +0000
caa1f88105[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-78] fix rbuffer -> _rbuffer in 3 places i missed fix 3 places where "rbuffer" hadn't been converted to "_rbuffer". thanks to kevin c. dorff for the bug report.
Robey Pointer
2004-09-09 01:36:45 +0000
ff6ff88209[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-77] docs for SubsystemHandler add documentation to constructor for SubsystemHandler.
Robey Pointer
2004-09-07 06:56:49 +0000
7946f33769[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-76] add sftp_client.py i retardedly forgot to import this file a few days ago: it's the split-out client mode for sftp. it now also has some changes to adapt it to the improved SFTPAttributes object API.
Robey Pointer
2004-09-07 06:54:31 +0000
574c0dd368[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-75] clean up SFTPAttributes add english descriptions to the FX_* error codes of sftp. clean up (and document) SFTPAttributes since it's exported now, and make it simple to generate one from a python os.stat object. make "_pythonize" the default -- that is, just use the same field names as python does for os.stat. (i'm not sure why i didn't do it that way in the first place; probably ignorance.) also add str() method that converts the SFTPAttributes into a string suitable for use in ls (used in an obscure way in sftp servers).
Robey Pointer
2004-09-07 06:51:03 +0000
4cbbc57c6b[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-74] note pycrypto 2.0 in README update the README to note that pycrypto 2.0 works (i just tried it). also fix the name from pyCrypt back to pycrypto -- that project is having trouble making up its mind about naming. :)
Robey Pointer
2004-09-07 06:45:53 +0000
3973265264[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-73] split sftp into sftp, sftp_client; renamed SFTP -> SFTPClient add sftp_client file, and split out the common code (sftp) from stuff specific to client mode (sftp_client). renamed SFTP class to SFTPClient, but left an alias so old code will still work.
Robey Pointer
2004-09-05 07:44:03 +0000
8dbab50233[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-72] some framework for adding subsystem handlers in server mode you can now register a subsystem with a Transport by passing in the name (like "sftp") and a class (like a hypothetical SFTPServer). the default ServerInterface.check_channel_request_subsystem now checks this table in Transport, and if it finds a match, it creates a new thread for the handler and calls into it. a new class SubsystemHandler is added for this purpose (to be subclassed).
Robey Pointer
2004-09-05 07:41:45 +0000
6cef2f1259[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-71] remove redundant 'auth_complete' member remove the redundant 'auth_complete' field and just use 'authenticated' for both client and server mode. this makes the repr() string look correct in server mode instead of always claiming that the transport is un-auth'd.
Robey Pointer
2004-09-05 07:37:40 +0000
aba7e37a38[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-70] clean up server interface; no longer need to subclass Channel - export AUTH_*, OPEN_FAILED_*, and the new OPEN_SUCCEEDED into the paramiko namespace instead of making people dig into paramiko.Transport.AUTH_* etc. - move all of the check_* methods from Channel to ServerInterface so apps don't need to subclass Channel anymore just to run an ssh server - ServerInterface.check_channel_request() returns an error code now, not a new Channel object - fix demo_server.py to follow all these changes - fix a bunch of places where i used "string" in docstrings but meant "str" - added Channel.get_id()
Robey Pointer
2004-09-03 22:39:20 +0000
440b3de06a[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-69] clean up SecurityOptions the preferences are now tuples in Transport, and passed as tuples out of SecurityOptions, so that the options can't be modified without setting them back to the options field again. the algorithm lists in Transport are used to validate the fields.
Robey Pointer
2004-08-31 02:44:56 +0000
aebe186c3e[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-68] added Transport.get_security_options() just something i wanted to play with: added Transport.get_security_options() which returns a SecurityOptions object. this object is a kind of proxy for the 4 "preferred_*" fields in Transport, and lets me avoid exposing those fields directly in case i change my mind later about how they should be stored.
Robey Pointer
2004-08-30 20:22:10 +0000
5598a8f88f[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-67] replay patch 63 (missing channel changes) i'm still getting the hang of tla/arch, obviously.
Robey Pointer
2004-08-28 04:21:12 +0000
c86c4f3949[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-66] new ServerInterface class, outbound rekey works, etc. a bunch of changes that i'm too lazy to split out into individual patches: * all the server overrides from transport.py have been moved into a separate class ServerInterface, so server code doesn't have to subclass the whole paramiko library * updated demo_server to subclass ServerInterface * when re-keying during a session, block other messages until the new keys are activated (openssh doensn't like any other traffic during a rekey) * re-key when outbound limits are tripped too (was only counting inbound traffic) * don't log scary things on EOF
Robey Pointer
2004-08-27 00:57:40 +0000
34d975b972[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-65] add settimeout/gettimeout/setblocking, some bugfixes. hide the command and response codes in sftp so they aren't exported. add settimeout/gettimeout/setblocking that just wrap calls to the underlying socket or channel. fix _read_all to not catch timeout exceptions.
Robey Pointer
2004-08-27 00:28:33 +0000
3eb52a18ab[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-63] add settimeout/gettimeout/setblocking, some bugfixes. hide the command and response codes in sftp so they aren't exported. add settimeout/gettimeout/setblocking that just wrap calls to the underlying socket or channel. fix _read_all to not catch timeout exceptions.
Robey Pointer
2004-08-27 00:06:42 +0000
c6a61c2a01[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-62] version -> horsea up version to horsea.
Robey Pointer
2004-06-27 20:14:15 +0000
690a05fff8[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-61] no more Foobar fix "Foobar" to be "Paramiko" in the one place i missed it in all the gpl headers. sigh. :)
Robey Pointer
2004-06-10 18:12:00 +0000
146417c56c[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-60] limit read/write requests to 32KB, advertise 32KB max packet size one of the unit tests was failing because the openssh sftp server was dropping the connection without any error. turns out they have a maximum allowed write size (possibly around 64KB). the sftp rfcs have a small hint that some servers may drop read/write requests of greater than 32KB.
Robey Pointer
2004-06-10 18:08:50 +0000
f0ba3c482e[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-59] speed up parts of BufferedFile BufferedFile uses cStringIO for the write buffer now (i don't actually notice any speed difference so this might revert later) and the default buffer size has been upped from 1KB to 8KB.
Robey Pointer
2004-06-10 18:02:13 +0000
cba104ce3f[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-58] some Channel fixes for max packet size & blocking on zero window some clean-ups and fixes to channels: * when send() is blocked on a zero-width window, check that the channel is still open. this was causing some lockups. * set a lower bound to the "maximum packet size" we accept from the remote host. if they tell us anything less than 1KB, assume they meant 1KB. (it's not reasonable to fragment below that.) * leave a little padding instead of cutting right up to the maximum packet size: some space will be taken up by protocol overhead. * turn off some of the debug log lines unless "ultra_debug" is on (nobody cares about the feed info)
Robey Pointer
2004-06-10 17:55:17 +0000
1144a5d3d9[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-57] more unit tests add a unit test for sending a large (1MB) file with line buffering but no linefeeds (this triggered several bugs and inefficiencies), and another test to verify that the write buffer is flushed on seek.
Robey Pointer
2004-06-10 17:35:30 +0000
9baa2b361e[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-56] add forward.py demo script; bump to gyarados add a demo script to show how to do local port forwarding.
Robey Pointer
2004-05-31 23:48:10 +0000
4d30633457[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-55] add an sftp unit test for making 100 files create 100 files on the remote server, set their mode with chmod, then verify that they're all there and contain the right data. valeriy is reporting that sometimes he's getting stuck after 20 and though i'm not seeing it, i want to add a test to try to pin it down.
Robey Pointer
2004-05-29 18:58:11 +0000
af8cfeced9[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-54] add direct-tcpip ability to open_channel open_channel can now be given a dest_addr and src_addr, which are filled in if the channel type is "forwarded-tcpip" or "direct-tcpip". these channel types are used in remote & local port forwarding, respectively. i've only tested "direct-tcpip" but i think if one works, they both should work.
Robey Pointer
2004-05-29 18:56:10 +0000
6ea60572af[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-53] add note about utf8 encodings add info to the README about what to do if python complains about missing encodings. veleriy pogrebitskiy ran into this and had advice.
Robey Pointer
2004-05-29 18:48:23 +0000
ed77581d7a[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-52] fix deadlock in closing a channel closing a channel would enter an odd codepath where the lock was grabbed, some stuff was done, then another function was called where the lock was grabbed again. unfortunately python locks aren't monitors so this would deadlock. instead, make the smaller function lock-free with an explicit notice that you must be holding the lock before calling.
Robey Pointer
2004-05-17 07:41:50 +0000
36a867a017[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-51] fix utf8, raise packet size, log exceptions, be more lax with sfp servers explicitly import utf8 encodings for "freezing" (and also because not all platforms come with utf8, apparently). raise the max acceptable packet size to 8kB, cuz 2kB was too low. log exceptions at error level instead of debug level. and don't reject older sftp servers.
Robey Pointer
2004-05-17 00:43:43 +0000
4d774d62a5[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-50] fearow date and last-minute fixes update release date of fearow to 23apr. fix channel._set_closed() to grab the lock before notifying the in/out buffers that the channel is closed. try roger's trick for finding the home folder on windows.
Robey Pointer
2004-04-23 22:55:16 +0000
11799765e2[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-48] set version number to fearow set version number to fearow.
Robey Pointer
2004-04-08 05:48:16 +0000
7a3323118e[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-47] add socket.timeout for py22 oops, forgot this vital part of the py22 patches. roger binns sent me a code patch that included this snip.
Robey Pointer
2004-04-08 05:12:20 +0000
5691415af1[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-46] README update notes added notes on what's new, what to watch out for in py22. added a "since: fearow" to all the relevant API calls that are new.
Robey Pointer
2004-04-07 16:05:48 +0000
17acfb5d28[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-45] add set_keepalive() add set_keepalive() to set an automatic keepalive mechanism. (while waiting for a packet on a connection, we periodically check if it's time to send a keepalive packet.)
Robey Pointer
2004-04-07 15:52:07 +0000
1af6360007[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-44] add get_username() method for remembering who you auth'd as add get_username() method for remembering who you auth'd as. also, fix these bugs: * "continue" auth response counted as a failure (in server mode). * try to import 'logging' in py22 before falling back to the fake logger, in case they have a backported version of 'logger' * raise the right exception when told to read a private key from a file that isn't a private key file * tell channels to close when the transport dies
Robey Pointer
2004-04-07 06:07:29 +0000
68c8a9b2e6[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-43] fix encrypted private key files the random byte padding on private key files' BER data was confusing openssh, so switch to null-byte padding, which is slightly less secure but works with crappy old openssh. also, enforce the mode when writing the private key file. we really really want it to be 0600. (python seems to ignore the mode normally.)
Robey Pointer
2004-04-06 22:03:21 +0000
945a41dd3d[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-42] support py22, more or less add roger binns' patches for supporting python 2.2. i hedged a bit on the logging stuff and just added some trickery to let logging be stubbed out for python 2.2. this changed a lot of import statements but i managed to avoid hacking at any of the existing logging.
Robey Pointer
2004-04-06 08:16:02 +0000
ed72847ad1[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-41] make get_remote_server_key() return a PKey object a good suggestion from roger binns: make get_remote_server_key() just return a pkey object instead of a tuple of strings. all the strings can be extracted from the pkey object, as well as other potentially useful things.
Robey Pointer
2004-04-05 22:32:03 +0000
c6d5ba9c52[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-40] add dss key generation too, and fix some bugs added the ability to generate dss keys and write private dss key files, similar to rsa. in the process, fixed a couple of bugs with ber encoding and writing password-encrypted key files. the key has to be padded to the iblock size of the cipher -- it's very difficult to determine how the others do this, so i just add random bytes to the end.
Robey Pointer
2004-04-05 19:36:40 +0000
70faf02f3e[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-39] add global request mechanism add transport.global_request() to make a global-style request (usually an extension to the protocol -- like keepalives) and handle requests from the remote host. incoming requests are now handled and responded to correctly, which should make openssh-style keepalives work. (before, we would silently ignore them, which was wrong.)
Robey Pointer
2004-04-05 10:37:18 +0000
c9d301b782[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-38] add common.py file missing from previous change because tla doesn't like to add files in some situations. (frown)
Robey Pointer
2004-04-05 10:24:33 +0000
01bf5477a0[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-37] can now generate rsa keys (not dss yet) added functionality to ber to create ber streams. added some common methods to PKey to allow dumping the key to base64 (the format used by openssh for public key files and host key lists), and a factory for creating a key from a private key file, and a common way to save private keys. RSAKey luckily didn't have to change that much.
Robey Pointer
2004-04-05 10:16:31 +0000
8fafd1aa17[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-36] add common.py for commonly used constants and globals common.py now stores the constants and globals. lots of renaming because of this.
Robey Pointer
2004-04-05 10:12:59 +0000
d757f90ac5[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-35] add send_ignore add send_ignore() call to allow for sending garbage ignored packets to the remote side.
Robey Pointer
2004-04-02 02:41:43 +0000
f8a3a62136[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-34] fix some arcana in unpacking private keys "!= type([])" is a pretty obscure way to say it. let's try "is not list" which is a lot more readable.
Robey Pointer
2004-03-16 07:33:09 +0000
0ae801447e[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-33] include tests in manifest include the tests in the manifest for dist, and remove some outdated notes in NOTES about the exported API (this is doc'd wayyy better in epydoc now).
Robey Pointer
2004-03-09 01:09:17 +0000
14f2193d39[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-32] add unit tests add unit tests for BufferedFile and SFTP (it's a start). remove the demo sftp client because it was 99% copied from the other demos, which makes it kinda confusing. the unit tests are a much better example.
Robey Pointer
2004-03-08 17:54:19 +0000
7cd7fced6e[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-31] bump version number to eevee bump the version number to eevee in a few places and talk about the unit tests.
Robey Pointer
2004-03-08 17:52:25 +0000
e5193fb23f[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-30] finish up client sftp support added 'stat' to SFTPFile and SFTP, documented 'open' and 'listdir', and added 'rmdir', 'lstat', 'symlink', 'chmod', 'chown', 'utime', 'readlink'.
Robey Pointer
2004-03-08 17:50:49 +0000
9f6bbb6519[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-29] fix some docs and BufferedFile.readline fix some documentation and fix readline()'s universal newline support to always return strings ending with '\n', regardless of how they were in the original file. (this is an obvious feature of python's universal newline support that i somehow missed before.)
Robey Pointer
2004-03-08 17:45:44 +0000
c565d66e39[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-28] fix lingering thread bug this bug has been in there forever and i could never figure out a workaround till now.
Robey Pointer
2004-03-08 09:47:47 +0000
3e31771637[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-27] add BufferedFile abstraction SFTP client mode is mostly functional. there are probably still some bugs but most of the operations on "file" objects have survived my simple tests.
Robey Pointer
2004-03-04 08:21:45 +0000
d599570905[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-26] Transport constructor can take hostname or address tuple part of an ongoing attempt to make "simple" versions of some of the API calls, so you can do common-case operations with just a few calls:
Robey Pointer
2004-01-27 02:04:59 +0000
27869f1d7a[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-25] pkey no longer raises binascii.Error catch binascii.Error in the private key decoder and convert it into an SSHException. there's no reason people should have to care that it was a decoding error vs. any of the other million things that could be wrong in a corrupt key file.
Robey Pointer
2004-01-27 02:00:19 +0000
ea8c1378e8[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-24] document more of Message; add get_int64 all of the get_* methods are now documented, but there's a bit more to do. get_int64 added for eventual sftp support.
Robey Pointer
2004-01-27 01:45:44 +0000
02322f6621[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-22] fix MANIFEST.in, change version numbers to 0.9-doduo, fix LPGL notices fixed MANIFEST.in to include the demo scripts, LICENSE, and ChangeLog. upped everything to version 0.9-doduo.
Robey Pointer
2004-01-04 10:26:00 +0000
5470b26a83[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-21] MANIFEST -> MANIFEST.in, fix setup.py. out with MANIFEST, in with MANIFEST.in.
Robey Pointer
2004-01-04 10:07:35 +0000
988c6abda0[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-20] more docs, and password-protected key files can now be read lots more documentation, some of it moved out of the README file, which is now much smaller and less rambling.
Robey Pointer
2004-01-04 09:29:13 +0000
3a8887a420[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-19] renamed auth_key -> auth_publickey; more docs. renamed Transport.auth_key to auth_publickey for consistency. and lots more documentation.
Robey Pointer
2003-12-31 06:31:43 +0000
daa8a2ec0d[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-18] added public-key support to server mode, more docs added public-key support to server mode (it can now verify a client signature) and added a demo of that to the demo_server.py script (user_rsa_key). in the process, cleaned up the API of PKey so that now it only has to know about signing and verifying ssh2 blobs, and can be hashed and compared with other keys (comparing & hashing only the public parts of the key). keys can also be created from strings now too.
Robey Pointer
2003-12-30 22:24:21 +0000
48c7d888a2[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-17] lots more documentation, and added Transport.connect() renamed demo_host_key to demo_rsa_key. moved changelog to a separate file, and indicated that future changelog entries should be fetched from tla. tried to clean up "__all__" in a way that makes epydoc still work.
Robey Pointer
2003-12-30 07:18:20 +0000
36d6d95dc6[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-16] hook up server-side kex-gex; add more documentation group-exchange kex should work now on the server side. it will only be advertised if a "moduli" file has been loaded (see the -gasp- docs) so we don't spend hours (literally. hours.) computing primes. some of the logic was previously wrong, too, since it had never been tested.
Robey Pointer
2003-12-28 03:20:42 +0000
eb4c279ec4[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-15] fix up new paramiko/ folder. moved SSHException to a new file (ssh_exception.py) and turned paramiko.py into an __init__.py file. i'm still not entirely sure how this normally works, so i may have done something wrong, but it's supposed to work the same as before.
Robey Pointer
2003-12-27 02:03:44 +0000
877cd974b8[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-14] move the paramiko files into a paramiko/ folder. just moving the files into a folder. it won't build this way yet.
Robey Pointer
2003-12-27 01:49:19 +0000
f6e1e84d60[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-13] fix a deadlock/race in handle_eof & close (patch from fred gansevles) add locking around the eof handler and the close() call, so we can't be in both simultaneously.
Robey Pointer
2003-12-24 22:09:43 +0000
02319afd5a[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-12] fix dss key signing (expanded on a patch from fred gansevles) add a demo dss key for server mode, and fix some bugs that had caused the dss signing stuff to never work before. the demo_server is a bit more verbose now, too. both key types (RSAKey & DSSKey) now have a function to return the fingerprint of the key, and both versions of read_private_key_file() now raise exceptions on failure, instead of just silently setting "valid" to false.
Robey Pointer
2003-12-24 20:49:38 +0000
e7715095b6[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-11] in server mode, don't offer keys we don't have (from Paolo Losi) in server mode, when advertising which key methods we support, don't list methods that we don't have any existing keys for.
Robey Pointer
2003-12-23 06:44:56 +0000
11815d4d83[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-9] rename secsh -> paramiko also, rename SecshException back to SSHException. sigh. :)
Robey Pointer
2003-11-10 08:49:50 +0000
aad7b859f1[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-7] cleaned up server code, renamed some files & classes renamed demo-server.py and demo-host-key to demo_server.py and demo_host_key, just to be consistent.
Robey Pointer
2003-11-10 04:54:02 +0000
0e1ef2c65c[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-6] notes about the exported api just wrote some quick notes (for a few of the classes) about which methods are intended to be the exported API. python has no decent way of distinguishing private vs public.
Robey Pointer
2003-11-09 21:16:35 +0000
5a48714394[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-5] big chunk of work which makes server code 95% done fixed auth check methods to return just a result (failed, succeeded, partially succeeded) and always use get_allowed_auths to determine the list of allowed auth methods to return.
Robey Pointer
2003-11-09 21:14:21 +0000
79fecc4564[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-4] change kex-gex server code to generate primes by hand added a util function "generate_prime" to compare to the incredibly slow C version, but it's no faster of course. i think kex-gex from the server is just not going to be feasible without having a separate thread generate some primes in the background to have handy when a request comes in. so in short, this still doesn't work.
Robey Pointer
2003-11-09 20:59:51 +0000
7d4d90a8c5[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-3] remove some leftover garbage from dsskey leftover from a cut & paste i was doing a few days ago. bad robey.
Robey Pointer
2003-11-07 10:36:42 +0000
14d7a745a7[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-2] add a demo host key and point demo-server at it. also, temporarily comment out the nonfunctional kex-gex method.
Robey Pointer
2003-11-06 07:34:27 +0000
3b9901a602[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-1] no changes why aren't my log messages kept?
Robey Pointer
2003-11-04 08:50:22 +0000