diff options
author | Paul Kapp <paullkapp+radssh@gmail.com> | 2017-08-22 07:44:05 -0400 |
---|---|---|
committer | Paul Kapp <paullkapp+radssh@gmail.com> | 2017-08-22 07:44:05 -0400 |
commit | 0f26ff25a1cd47b3eaae412bedabbad9516549f4 (patch) | |
tree | dac4ed2f5129c860ac5eca814975e14a40bb39a0 | |
parent | 7229597ce0925ee8dafe97544f42dcc193fbad8f (diff) |
amendment
Forgot about AgentKey, and put ECDSA line in wrong __init__. That’s
what I get for only screening with test_pkey…
-rw-r--r-- | paramiko/agent.py | 1 | ||||
-rw-r--r-- | paramiko/ecdsakey.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/paramiko/agent.py b/paramiko/agent.py index bc857efa..7a4dde21 100644 --- a/paramiko/agent.py +++ b/paramiko/agent.py @@ -387,6 +387,7 @@ class AgentKey(PKey): def __init__(self, agent, blob): self.agent = agent self.blob = blob + self.public_blob = None self.name = Message(blob).get_text() def asbytes(self): diff --git a/paramiko/ecdsakey.py b/paramiko/ecdsakey.py index 805d6bc0..9b74d938 100644 --- a/paramiko/ecdsakey.py +++ b/paramiko/ecdsakey.py @@ -46,7 +46,6 @@ class _ECDSACurve(object): def __init__(self, curve_class, nist_name): self.nist_name = nist_name self.key_length = curve_class.key_size - self.public_blob = None # Defined in RFC 5656 6.2 self.key_format_identifier = "ecdsa-sha2-" + self.nist_name @@ -106,6 +105,7 @@ class ECDSAKey(PKey): vals=None, file_obj=None, validate_point=True): self.verifying_key = None self.signing_key = None + self.public_blob = None if file_obj is not None: self._from_private_key(file_obj, password) return |