move
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2021-04-26 13:31:00 +02:00
parent 0c6c1c6622
commit df79776ede
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -11,11 +11,11 @@ class Server:
self.sessionTimeout = sessionTimeout self.sessionTimeout = sessionTimeout
self.availableServer = availableServer self.availableServer = availableServer
self.executor = Executor("") self.executor = Executor("")
self.auth = Authetication()
def initServer(self): def initServer(self):
print("Please enter your private key passphrase") print("Please enter your private key passphrase")
passphrase = input() passphrase = input()
self.auth = Authetication()
self.networkInstance = NetWrapper(self.auth.loadUserPublicKeys(), self.auth.loadServerPrivateKey(passphrase), self.networkInstance = NetWrapper(self.auth.loadUserPublicKeys(), self.auth.loadServerPrivateKey(passphrase),
self.auth) self.auth)