From 098e279eb8ca77f9fd251544f9ff256e9bb34e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 26 Apr 2021 22:30:12 +0200 Subject: [PATCH] fuckyfuck --- client/netwrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/netwrapper.py b/client/netwrapper.py index c3bb39a..4e19384 100644 --- a/client/netwrapper.py +++ b/client/netwrapper.py @@ -84,7 +84,7 @@ class NetWrapper: header, headersignature = self.signRSAHeader("DH",{}) jsonmsg = json.dumps( {'header': b64encode(header).decode('UTF-8'), 'headersignature': b64encode(headersignature).decode('UTF-8'), - 'message': mypubkey}).encode('UTF-8') + 'message': b64encode(mypubkey).decode('UTF-8')}).encode('UTF-8') self.network.send_msg(self.serverAddr, jsonmsg) decodedmsg, header = self.recieveAndUnpackRSAMessage() if not self.verifyRSAHeaderSignature(b64decode(decodedmsg['header']),