Scott Maxwell
f0017b8330
Fix import * and a bunch of PEP8 formatting
2014-03-07 20:45:26 -08:00
Scott Maxwell
6d75c75e64
Remove byte conversions and unhexlify calls that we only needed for Py2.5 support and use the `b` byte string marker instead
2013-11-19 10:09:08 -08:00
Scott Maxwell
2da5f1fb45
Use 'with' for opening most file and SFTPFIle objects
2013-11-19 08:56:53 -08:00
Scott Maxwell
7444a99993
Fix some deprecation and resource warnings
2013-11-02 20:19:04 -07:00
Scott Maxwell
fcf56ff9f8
Fix bytes/str type in more places
2013-10-31 10:01:21 -07:00
Scott Maxwell
0e4ce3762a
Fix message sending
...
Create constants for byte messages, implement asbytes so many methods can take Message and key objects directly and split get_string into get_text and get_binary. Also, change int handling to use mpint with a flag whenever the int is greater than 32 bits.
2013-10-30 17:09:34 -07:00
Jeff Forcier
83f44878ea
Fixed a typo in the license header of most files
...
Conflicts:
paramiko/proxy.py
2013-09-27 21:29:18 -07:00
Robey Pointer
60c6e94e7d
fix my email address to be the current one.
2009-07-19 19:45:02 -07:00
Robey Pointer
83b335e10f
[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]
...
bump copyright year to 2007
2007-02-13 11:17:06 -08:00
Robey Pointer
e2d8357622
[project @ robey@lag.net-20061112055617-098a150cf051bffa]
...
try a trick that should let 'hostkeys[hostname][keytype] = key' work for
HostKeys objects again.
2006-11-11 21:56:17 -08:00
Robey Pointer
e736341e20
[project @ robey@lag.net-20061111004413-7bab08f1bad7f96f]
...
bug 70398:
allow constructions like:
hostkeys['hostname'] = {}
to create an empty host entry object, so that future attempts to set
keys will at least not throw an exception. (they'll still silently do
nothing, though.)
2006-11-10 16:44:13 -08:00
Robey Pointer
2b8738d3ce
[project @ robey@lag.net-20060828234834-51542dc36057b361]
...
fix __setitem__ to do the right thing
2006-08-28 16:48:34 -07:00
Robey Pointer
074dc36e6b
[project @ robey@lag.net-20060801182143-088ff687e0945937]
...
use hexlify in tests
2006-08-01 11:21:43 -07:00
Robey Pointer
8087fa5a29
[project @ robey@lag.net-20060408222456-d3813e0206a2cda7]
...
assertTrue doesn't exist in py23
2006-04-08 15:24:56 -07:00
Robey Pointer
ece62093bd
[project @ robey@lag.net-20060312040633-92b1c78bf815905d]
...
add test to verify that 'for x in hostkeys' works
2006-03-11 20:06:33 -08:00
Robey Pointer
de6315b9c5
[project @ robey@lag.net-20060309080450-bad95b03d60d3d4f]
...
improve HostKeys so that it more correctly emulates a dict, and add a unit test to verify that
2006-03-09 00:04:50 -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