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)