From 284cfff0a0439b493b6e0a1f5394bc0a90362292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 25 Apr 2021 00:24:29 +0200 Subject: [PATCH] send msg in authencation --- client/netwrapper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client/netwrapper.py b/client/netwrapper.py index 35d916a..67e0d9c 100644 --- a/client/netwrapper.py +++ b/client/netwrapper.py @@ -74,6 +74,7 @@ class NetWrapper: ct = b64encode(ciphertext).decode('UTF-8') sendjson = json.dumps({'type': 'AUT', 'source': self.network.own_addr, 'nonce': nonce, 'message': ct}).encode( 'UTF-8') + self.network.send_msg(self.serverAddr, sendjson) b64 = {'source': '', 'type': ''} while not (b64['source'] == self.serverAddr and b64['type'] == 'AUT'): status, msg = self.network.receive_msg(blocking=True)