Skip to content

Commit

Permalink
Return public and private key directly from getPublicKey and getPriva…
Browse files Browse the repository at this point in the history
…teKey.
  • Loading branch information
hodgestar committed Mar 22, 2016
1 parent 93d30e8 commit 26fd014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vumi/middleware/manhole_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ def getPassword(self, prompt=None):
return

def getPublicKey(self):
return public_key.blob()
return public_key

def getPrivateKey(self):
return defer.succeed(private_key.keyObject)
return defer.succeed(private_key)


class ClientConnection(connection.SSHConnection):
Expand Down

0 comments on commit 26fd014

Please sign in to comment.