summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-10-19 09:24:00 +1100
committerAmber Brown <hawkowl@atleastfornow.net>2018-10-19 09:24:00 +1100
commita36b0ec195c4fe88730d656c8668a5dda1a6f1a7 (patch)
treed0ddac03a82a8e75f6ca6fc9679fec7f4e3e277b /synapse
parentMerge pull request #4057 from matrix-org/rav/use_correct_python (diff)
downloadsynapse-a36b0ec195c4fe88730d656c8668a5dda1a6f1a7.tar.xz
make a bytestring
Diffstat (limited to 'synapse')
-rw-r--r--synapse/util/manhole.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/util/manhole.py b/synapse/util/manhole.py
index 8d0f2a8918..cf43ab6a19 100644
--- a/synapse/util/manhole.py
+++ b/synapse/util/manhole.py
@@ -82,7 +82,7 @@ def manhole(username, password, globals):
     )
 
     factory = manhole_ssh.ConchFactory(portal.Portal(rlm, [checker]))
-    factory.publicKeys['ssh-rsa'] = Key.fromString(PUBLIC_KEY)
-    factory.privateKeys['ssh-rsa'] = Key.fromString(PRIVATE_KEY)
+    factory.publicKeys[b'ssh-rsa'] = Key.fromString(PUBLIC_KEY)
+    factory.privateKeys[b'ssh-rsa'] = Key.fromString(PRIVATE_KEY)
 
     return factory