summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPierce Lopez <pierce.lopez@gmail.com>2017-06-05 04:03:52 -0400
committerPierce Lopez <pierce.lopez@gmail.com>2017-06-05 04:28:14 -0400
commit5caf0eaaa54fcfe43a9efd32652afa159d00c596 (patch)
tree1719d3d384bd96827af0cdfab3f6cb2ec3cd3ac9
parentd510b1ae91978a169bb4bd2a9e5e165d2311bc6b (diff)
transport: _key_info for ecdsa-sha2-nistp384 and -nistp521
To support host keys of these key types, which are already in _preferred_keys!
-rw-r--r--paramiko/transport.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py
index 96bd4a07..5ab24980 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -210,6 +210,8 @@ class Transport (threading.Thread, ClosingContextManager):
'ssh-rsa': RSAKey,
'ssh-dss': DSSKey,
'ecdsa-sha2-nistp256': ECDSAKey,
+ 'ecdsa-sha2-nistp384': ECDSAKey,
+ 'ecdsa-sha2-nistp521': ECDSAKey,
}
_kex_info = {