summaryrefslogtreecommitdiffhomepage
path: root/demos
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2016-12-05 20:06:58 -0800
committerJeff Forcier <jeff@bitprophet.org>2016-12-05 20:06:58 -0800
commitc13f7b3c59da66856ffffad7e2af0a3ff91222f1 (patch)
treee662f8f3b210bb65ce3c878cce469d4e16f99b9a /demos
parent5cad7e4df9bf53528c28c86d6dd945133ee2028e (diff)
parent1d3ce6de95ac602a1a27d9a09b5de557bee07abf (diff)
Merge branch '1.18' into 2.0
Diffstat (limited to 'demos')
-rw-r--r--demos/demo_server.py2
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'