mirror of
https://github.com/romanz/amodem.git
synced 2026-03-23 19:01:00 +08:00
ssh: use new device package (instead of factory)
This commit is contained in:
@@ -76,7 +76,6 @@ class Device(object):
|
||||
def __init__(self, identity_str, curve_name):
|
||||
"""Configure for specific identity and elliptic curve usage."""
|
||||
self.identity_dict = string_to_identity(identity_str)
|
||||
assert curve_name in formats.SUPPORTED_CURVES
|
||||
self.curve_name = curve_name
|
||||
self.conn = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user