diff --git a/Makefile b/Makefile index 148a9b8..eb13907 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ # lapras (28feb05) - 1.2 # marowak (9apr05) - 1.3 # nidoran (28jun05) - 1.3.1 +# oddish (17jul05) - 1.4 release: python ./setup.py sdist --formats=zip diff --git a/README b/README index b2cf76e..beec343 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ -paramiko 1.3 -"marowak" release, 9 apr 2005 +paramiko 1.4 +"oddish" release, 17 jul 2005 Copyright (c) 2003-2005 Robey Pointer @@ -102,7 +102,8 @@ demo_simple.py demo.py same as demo_simple.py, but allows you to authenticiate using a - private key, and uses the long form of some of the API calls. + private key, attempts to use an SSH-agent if present, and uses the long + form of some of the API calls. forward.py command-line script to set up port-forwarding across an ssh transport. @@ -133,6 +134,17 @@ the best and easiest examples of how to use the SFTP class. highlights of what's new in each release: +v1.4 ODDISH +* added SSH-agent support (for posix) from john rochester +* added chdir() and getcwd() to SFTPClient, to emulate a "working directory" +* added get() and put() to SFTPClient, to emulate ftp whole-file transfers +* added check() to SFTPFile (a file hashing protocol extension) +* fixed Channels and SFTPFiles (among others) to auto-close when GC'd +* fixed Channel.fileno() for Windows, this time really +* don't log socket errors as "unknown exception" +* some misc. backward-compatible API improvements (like allowing + Transport.start_client() and start_server() to be called in a blocking way) + v1.3.1 NIDORAN * added SFTPClient.close() * fixed up some outdated documentation @@ -237,11 +249,8 @@ v0.9 FEAROW *** MISSING LINKS * ctr forms of ciphers are missing (blowfish-ctr, aes128-ctr, aes256-ctr) - -* SFTPClient.from_url('sftp://robey@arch.lag.net/folder/filename', 'r+') - keep cache of opened sftp clients by (host, port, username) - how to auth? how to check host key? - ... maybe just a util function that parses the url and returns components +* SFTP url parsing function to return (user, pass, host, port, path) + components * sftp protocol 6 support (ugh....) -- once it settles down more * why are big files so slow to transfer? profiling needed... diff --git a/paramiko/__init__.py b/paramiko/__init__.py index 8fd6080..245ad60 100644 --- a/paramiko/__init__.py +++ b/paramiko/__init__.py @@ -46,7 +46,7 @@ released under the GNU Lesser General Public License (LGPL). Website: U{http://www.lag.net/paramiko/} -@version: 1.3.1 (nidoran) +@version: 1.4 (oddish) @author: Robey Pointer @contact: robey@lag.net @license: GNU Lesser General Public License (LGPL) @@ -59,8 +59,8 @@ if sys.version_info < (2, 2): __author__ = "Robey Pointer " -__date__ = "28 Jun 2005" -__version__ = "1.3.1 (nidoran)" +__date__ = "18 Jul 2005" +__version__ = "1.4 (oddish)" __license__ = "GNU Lesser General Public License (LGPL)" diff --git a/paramiko/transport.py b/paramiko/transport.py index 9ad8b45..43837e4 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -131,7 +131,7 @@ class BaseTransport (threading.Thread): is done here. """ _PROTO_ID = '2.0' - _CLIENT_ID = 'paramiko_1.3.1' + _CLIENT_ID = 'paramiko_1.4' _preferred_ciphers = ( 'aes128-cbc', 'blowfish-cbc', 'aes256-cbc', '3des-cbc' ) _preferred_macs = ( 'hmac-sha1', 'hmac-md5', 'hmac-sha1-96', 'hmac-md5-96' ) diff --git a/setup.py b/setup.py index 89d43bd..1225b70 100644 --- a/setup.py +++ b/setup.py @@ -30,13 +30,13 @@ Required packages: ''' setup(name = "paramiko", - version = "1.3.1", + version = "1.4", description = "SSH2 protocol library", author = "Robey Pointer", author_email = "robey@lag.net", url = "http://www.lag.net/paramiko/", packages = [ 'paramiko' ], - download_url = 'http://www.lag.net/paramiko/download/paramiko-1.3.1.zip', + download_url = 'http://www.lag.net/paramiko/download/paramiko-1.4.zip', license = 'LGPL', platforms = 'Posix; MacOS X; Windows', classifiers = [ 'Development Status :: 5 - Production/Stable',