diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2016-12-05 20:06:56 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2016-12-05 20:06:56 -0800 |
commit | 1d3ce6de95ac602a1a27d9a09b5de557bee07abf (patch) | |
tree | 4c97d35a970bf2c06ff2c6a84b1fa83637bd093e /demos/demo_server.py | |
parent | 4d95a2b7c344d4945b46020d0cbf6f548b543354 (diff) | |
parent | 594ecebef6b3158421c86a7ee139eed1b58694ce (diff) |
Merge branch '1.17' into 1.18
Diffstat (limited to 'demos/demo_server.py')
-rw-r--r-- | demos/demo_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/demo_server.py b/demos/demo_server.py index c4af9b10..4867e9ca 100644 --- a/demos/demo_server.py +++ b/demos/demo_server.py @@ -40,7 +40,7 @@ print('Read key: ' + u(hexlify(host_key.get_fingerprint()))) class Server (paramiko.ServerInterface): - # 'data' is the output of base64.encodestring(str(key)) + # 'data' is the output of base64.b64encode(key) # (using the "user_rsa_key" files) data = (b'AAAAB3NzaC1yc2EAAAABIwAAAIEAyO4it3fHlmGZWJaGrfeHOVY7RWO3P9M7hp' b'fAu7jJ2d7eothvfeuoRFtJwhUmZDluRdFyhFY/hFAh76PJKGAusIqIQKlkJxMC' |