summaryrefslogtreecommitdiffhomepage
path: root/tests/test_hostkeys.py
AgeCommit message (Collapse)Author
2017-10-23Import cleanup, mostly focused on s/tests/./Jeff Forcier
2017-06-01Test & impl for truly functional HostKeys.__delitem__Jeff Forcier
2015-09-30Silently ignore invalid keys in HostKeys.load()Martin Topholm
When broken entries exists in known_hosts, paramiko raises SSHException with "Invalid key". This patch catches the exception during HostKeys.load() and continues to next line. This should fix #490.
2014-03-07Fix import * and a bunch of PEP8 formattingScott Maxwell
2013-11-19Remove byte conversions and unhexlify calls that we only needed for Py2.5 ↵Scott Maxwell
support and use the `b` byte string marker instead
2013-11-19Use 'with' for opening most file and SFTPFIle objectsScott Maxwell
2013-11-02Fix some deprecation and resource warningsScott Maxwell
2013-10-31Fix bytes/str type in more placesScott Maxwell
2013-10-30Fix message sendingScott Maxwell
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-09-27Fixed a typo in the license header of most filesJeff Forcier
Conflicts: paramiko/proxy.py
2009-07-19fix my email address to be the current one.Robey Pointer
2007-02-13[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]Robey Pointer
bump copyright year to 2007
2006-11-11[project @ robey@lag.net-20061112055617-098a150cf051bffa]Robey Pointer
try a trick that should let 'hostkeys[hostname][keytype] = key' work for HostKeys objects again.
2006-11-10[project @ robey@lag.net-20061111004413-7bab08f1bad7f96f]Robey Pointer
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-08-28[project @ robey@lag.net-20060828234834-51542dc36057b361]Robey Pointer
fix __setitem__ to do the right thing
2006-08-01[project @ robey@lag.net-20060801182143-088ff687e0945937]Robey Pointer
use hexlify in tests
2006-04-08[project @ robey@lag.net-20060408222456-d3813e0206a2cda7]Robey Pointer
assertTrue doesn't exist in py23
2006-03-11[project @ robey@lag.net-20060312040633-92b1c78bf815905d]Robey Pointer
add test to verify that 'for x in hostkeys' works
2006-03-09[project @ robey@lag.net-20060309080450-bad95b03d60d3d4f]Robey Pointer
improve HostKeys so that it more correctly emulates a dict, and add a unit test to verify that
2006-02-19[project @ robey@lag.net-20060220003513-aa54e3e771a530fd]Robey Pointer
add HostKeys, a helper for reading/parsing openssh known_hosts files, including hashed-host support