This commit is contained in:
parent
8a4174c6e7
commit
7ba66b638b
@ -86,8 +86,8 @@ class NetWrapper:
|
|||||||
plaintext = retcipher.decrypt(retciphertext).decode('UTF-8')
|
plaintext = retcipher.decrypt(retciphertext).decode('UTF-8')
|
||||||
if plaintext != "OK":
|
if plaintext != "OK":
|
||||||
raise Exception('Authentication error')
|
raise Exception('Authentication error')
|
||||||
except Exception:
|
except Exception as e:
|
||||||
print("Incorrect decryption")
|
print(e)
|
||||||
|
|
||||||
def connectToServer(self):
|
def connectToServer(self):
|
||||||
identStatus = self.identifyServer()
|
identStatus = self.identifyServer()
|
||||||
|
Loading…
Reference in New Issue
Block a user