From d2c3b166242a5958240d4c79a4913fe2ef681cb7 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 22 Sep 2017 13:10:21 -0700 Subject: Initialize public_blob in Ed25519 key. Was removed earlier (because the 'initialization' of first impl was at END of method and thus broke main impl of cert loading) but neglected to add back to TOP of __init__, so broken anytime there is no cert in play. Fixes #1071 --- paramiko/ed25519key.py | 1 + 1 file changed, 1 insertion(+) diff --git a/paramiko/ed25519key.py b/paramiko/ed25519key.py index 434b3f45..418a822d 100644 --- a/paramiko/ed25519key.py +++ b/paramiko/ed25519key.py @@ -57,6 +57,7 @@ class Ed25519Key(PKey): """ def __init__(self, msg=None, data=None, filename=None, password=None, file_obj=None): + self.public_blob = None verifying_key = signing_key = None if msg is None and data is not None: msg = Message(data) -- cgit v1.2.1