commit
734f3beb33
1 changed files with 2 additions and 2 deletions
|
|
@ -490,8 +490,8 @@ def makeFactory(configdict):
|
||||||
try:
|
try:
|
||||||
# create/get RSA keypair
|
# create/get RSA keypair
|
||||||
publicKey, privateKey = getKeyPair(_PUBLIC_KEY_FILE, _PRIVATE_KEY_FILE)
|
publicKey, privateKey = getKeyPair(_PUBLIC_KEY_FILE, _PRIVATE_KEY_FILE)
|
||||||
factory.publicKeys = {'ssh-rsa': publicKey}
|
factory.publicKeys = {b'ssh-rsa': publicKey}
|
||||||
factory.privateKeys = {'ssh-rsa': privateKey}
|
factory.privateKeys = {b'ssh-rsa': privateKey}
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
print(_NO_AUTOGEN.format(err=err))
|
print(_NO_AUTOGEN.format(err=err))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue