This commit is contained in:
parent
0c6c1c6622
commit
df79776ede
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user