Commit Graph

62 Commits

Author SHA1 Message Date
Robey Pointer af4b8fedc9 [project @ robey@lag.net-20060511013313-411d1524da3b53f0]
bump version to 1.6, fix up docs a little bit
2006-05-10 18:33:13 -07:00
Robey Pointer 02e8178510 [project @ robey@lag.net-20060508005224-a8a04cd59f9fa016]
pulled out openssh config parsing into its own class
2006-05-07 17:52:24 -07:00
Robey Pointer 887354c088 [project @ robey@lag.net-20060508002320-d6e64e96f913febd]
check off a few readme items
2006-05-07 17:23:20 -07:00
Robey Pointer c05200dcc6 [project @ robey@lag.net-20060424011141-18957fe09447af6b]
more README
2006-04-23 18:11:41 -07:00
Robey Pointer 4eb0b9ac3e [project @ robey@lag.net-20060312042905-752c324bdc1ac2cf]
bump version to 1.5.4
2006-03-11 20:29:05 -08:00
Robey Pointer 5b7957ce39 [project @ robey@lag.net-20060220072303-cdc3bc647d5732b0]
bump version to 1.5.3
2006-02-19 23:23:03 -08:00
Robey Pointer 409c4fc482 [project @ robey@lag.net-20060220003513-aa54e3e771a530fd]
add HostKeys, a helper for reading/parsing openssh known_hosts files, including hashed-host support
2006-02-19 16:35:13 -08:00
Robey Pointer cf0c5c7720 [project @ robey@master-shake.local-20060127035453-c91a77a5aa6d2136]
a few more pychecker warning fixups
2006-01-26 19:54:53 -08:00
Robey Pointer cb3008b402 [project @ robey@master-shake.local-20060115063008-4f68552398868788]
fix a bunch of pychecker warnings, some of which were actual (but unlikely) bugs
2006-01-14 22:30:08 -08:00
Robey Pointer a14384370c [project @ robey@lag.net-20051216175905-c3477e2ec74db4d9]
add setuptools/easy_setup support
2005-12-16 09:59:05 -08:00
Robey Pointer 995343439a [project @ robey@lag.net-20051204092822-69155fa5abbc4637]
bump version to 1.5.2
2005-12-04 01:28:22 -08:00
Robey Pointer 72e28736e2 [project @ robey@ralph.lag.net-20051204045002-f1d13a4bc1351090]
remove pre-1.0 news, bzr will preserve it for future archivists ;)
2005-12-03 20:50:02 -08:00
Robey Pointer 65beaef76f [project @ robey@ralph.lag.net-20051204044921-ae847bf450372ff5]
add comments to demo and demo_simple explaining that they don't work on windows
2005-12-03 20:49:21 -08:00
Robey Pointer 568ddd963d [project @ robey@lag.net-20051202211544-900e02e2693d4a92]
add tentative compression support (off by default)
2005-12-02 13:15:44 -08:00
Robey Pointer b9106e4f21 [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-77]
bump up version to 1.5.1
2005-10-31 03:28:54 +00:00
Robey Pointer 65883e673b [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-62]
readme comments, bump version to 1.5 paras
2005-10-02 20:08:39 +00:00
Robey Pointer fb73c0ef7f [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-60]
add file pipelining for writes
2005-09-25 09:11:23 +00:00
Robey Pointer 1fdec8bd06 [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-53]
more todo...
2005-08-09 06:31:19 +00:00
Robey Pointer 5a5cd201b7 [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-47]
bump version number to 1.4 oddish
2005-07-18 06:40:30 +00:00
Robey Pointer d8ee5e2a4a [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-46]
add SFTPFile.check and server support (and test) -- it's an sftp extension that allows a client to retrieve the hash of part or all of a file without downloading it.  we're probably the only ones who implement it yet
2005-07-18 05:43:44 +00:00
Robey Pointer f27e625926 [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-44]
try to handle utf8 paths in a sane way in SFTPClient: assume incoming strings are already utf8, and encode incoming unicodes -- for return values, use str if an ascii encoding will work, otherwise return a unicode
2005-07-17 07:01:51 +00:00
Robey Pointer 93f3cae64f [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-33]
add SFTPClient.put and SFTPClient.get, and make sftp file objects auto-close on del
2005-07-13 08:35:15 +00:00
Robey Pointer dff128c814 [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-20]
fix docs and update version to 1.3.1
2005-06-28 08:00:12 +00:00
Robey Pointer 139051f815 [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-12]
add notes about next version
2005-06-28 03:39:53 +00:00
Robey Pointer 366f216e3f [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-8]
add unit tests for the packetizer, and fix a little locking bug where i think more of the packetizer write function should be inside a lock
2005-05-10 17:36:38 +00:00
Robey Pointer 36055c5ac2 [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-5]
split out Packetizer, fix banner detection bug, new unit test
split out a chunk of BaseTransport into a Packetizer class, which handles
the in/out packet data, ciphers, etc.  it didn't make the code any smaller
(transport.py is still close to 1500 lines, which is awful) but it did split
out a coherent chunk of functionality into a discrete unit.

in the process, fixed a bug that alain spineux pointed out: the banner
check was too forgiving and would block forever waiting for an SSH banner.
now it waits 5 seconds for the first line, and 2 seconds for each subsequent
line, before giving up.

added a unit test to test keepalive, since i wasn't sure that was still
working after pulling out Packetizer.
2005-05-01 08:04:59 +00:00
Robey Pointer 18aaff8521 [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-161]
integrated laptop work (test commit)
Patches applied:

 * robey@lag.net--2003-public-master-shake/secsh--dev--1.0--base-0
   tag of robey@lag.net--2003-public/secsh--dev--1.0--patch-160

 * robey@lag.net--2003-public-master-shake/secsh--dev--1.0--patch-1
   test commit

 * robey@lag.net--2003-public/secsh--dev--1.0--base-0
   initial import

 * robey@lag.net--2003-public/secsh--dev--1.0--patch-1
   no changes
2005-04-16 23:38:22 +00:00
Robey Pointer 2bdbe28234 [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-160]
1.3 marowak
bump version to 1.3 / marowak
2005-04-10 00:46:41 +00:00
Robey Pointer 5d8d1938fa [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-156]
rewrite channel pipes to work on windows
the pipe system i was using for simulating an os-level FD (for select) was
retarded.  i realized this week that i could just use a single byte in the
pipe to signal "data is ready" and not try to feed all incoming data thru
the pipe -- and then i don't have to try to make the pipe non-blocking (which
should make it work on windows).  a lot of duplicate code got removed and now
it's all going thru the same code-path on read.

there's still a slight penalty on incoming feeds and calling 'recv' when a
pipe has been opened (by calling 'fileno'), but it's tiny.

removed a bunch of documentation and comments about things not working on
windows, since i think they probably do now.
2005-03-26 05:53:00 +00:00
Robey Pointer fead211c5c [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-154]
even better 1.2 lapras
re-bump the version # to 1.2 (with a new date since i added more stuff).
add 2005 to the copyright date in a bunch of files.
2005-02-28 08:06:08 +00:00
Robey Pointer b45a3a98a8 [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-147]
1.2 (lapras)
bump version stuff to 1.2 / lapras.
2005-02-26 21:11:04 +00:00
Robey Pointer fb2d7bbddd [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-146]
raise better exception on empty key
raise a clearer exception when trying to create an empty key.
2005-02-15 15:48:47 +00:00
Robey Pointer c7d56a309d [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-145]
add methods for sending/receiving a channel's exit status
track a channel's exit status and provide a method (recv_exit_status) to
block waiting for it to arrive.  also provide a convenience method for
servers to send it (send_exit_status).  add shutdown_read and shutdown_write.
fix a bug in sending window change requests.
2005-02-15 15:47:02 +00:00
Robey Pointer f7b0a62e4b [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-144]
fix docs
clean up some of the docs.
2005-02-06 23:32:22 +00:00
Robey Pointer ee0d4ae68e [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-129]
1.1 (kabuto)
edit various files to bump the version to 1.1.
also fix to point to the new url.
2004-12-12 09:58:40 +00:00
Robey Pointer fb54934726 [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-119]
reformat README
reformatted the README to a slightly smaller margin, just because.
2004-12-10 07:55:33 +00:00
Robey Pointer 0fa97ec147 [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-117]
readme comments
add another fixme to the readme
2004-12-09 02:42:36 +00:00
Robey Pointer ed8b376205 [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-116]
doc fixups
explain "recv_ready" better, and add debug descriptions for the kex codes.
2004-11-26 22:07:31 +00:00
Robey Pointer a8a023a243 [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-113]
sftp server support!
finally check in sftp_handle (file handle abstraction), sftp_si (server
interface), and sftp_server (server implementation) -- all of which make
a roughly 90% implementation of server-side sftp.
2004-11-22 07:27:21 +00:00
Robey Pointer 73e8a134ce [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-109]
v1.0 (jigglypuff)
bump all the version numbers up to 1.0 (jigglypuff).
2004-11-07 03:10:53 +00:00
Robey Pointer e86c5f0106 [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-100]
don't forget demo_windows.py
update MANIFEST.in to include demo_windows.py and not include the demo
keys (they're in tests/ now).  clean up the README to explain the demo
scripts better now, since there are so many of them.  then fix up the
demo scripts to look in tests/ for the keys.

demo_windows.py doesn't need to call get_pty() (in fact, i think that's
blowing openssh's mind) and was executing the wrong command.
2004-11-06 20:32:08 +00:00
Robey Pointer a73413c588 [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-95]
ivysaur 0.9
update ivysaur release date, and add the list of changes to the README
file.
2004-10-23 07:36:23 +00:00
Robey Pointer 6caf15b425 [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-94]
start testing Transport
the beginnings of tests for Transport.  only the bare minimum is there right
now.

also started doc'ing things up to ivysaur.
2004-10-20 16:52:51 +00:00
Robey Pointer 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. :)
2004-09-07 06:45:53 +00:00
Robey Pointer 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.

renamed a bunch of sftp constants now that they're better hidden from epydoc.
2004-09-05 07:44:03 +00:00
Robey Pointer 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()
2004-09-03 22:39:20 +00:00
Robey Pointer 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
2004-08-27 00:57:40 +00:00
Robey Pointer c6a61c2a01 [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-62]
version -> horsea
up version to horsea.
2004-06-27 20:14:15 +00:00
Robey Pointer 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.

add gyarados to all the docs and bump the version number everywhere.
2004-05-31 23:48:10 +00:00
Robey Pointer 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.
2004-05-29 18:48:23 +00:00