From 101a8ab8d620ac047e466886e9f7687bd232c26f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 26 Apr 2021 21:41:45 +0200 Subject: [PATCH] fixie wuxie --- server/netwrapper.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/netwrapper.py b/server/netwrapper.py index 8a2f1bb..4146d2c 100644 --- a/server/netwrapper.py +++ b/server/netwrapper.py @@ -51,8 +51,6 @@ class NetWrapper: def serverIdentify(self, msg: bytes) -> None: incommingJson = json.loads(msg.decode('UTF-8')) header = json.loads(b64decode(incommingJson['header']).decode('UTF-8')) - if incommingJson['type'] != "IDY": - raise Exception('Wrong message type encountered') try: if not self.verifyRSAHeaderSignature(b64decode(incommingJson['header']), b64decode(incommingJson['headersignature'])) or header[