mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 19:04:51 -04:00
make a bytestring
This commit is contained in:
parent
6190abe8da
commit
a36b0ec195
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ def manhole(username, password, globals):
|
||||||
)
|
)
|
||||||
|
|
||||||
factory = manhole_ssh.ConchFactory(portal.Portal(rlm, [checker]))
|
factory = manhole_ssh.ConchFactory(portal.Portal(rlm, [checker]))
|
||||||
factory.publicKeys['ssh-rsa'] = Key.fromString(PUBLIC_KEY)
|
factory.publicKeys[b'ssh-rsa'] = Key.fromString(PUBLIC_KEY)
|
||||||
factory.privateKeys['ssh-rsa'] = Key.fromString(PRIVATE_KEY)
|
factory.privateKeys[b'ssh-rsa'] = Key.fromString(PRIVATE_KEY)
|
||||||
|
|
||||||
return factory
|
return factory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue