From 1616150c2fd31851a7833251954c0e495dab2cbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 26 Apr 2021 19:35:03 +0200 Subject: [PATCH] minor mistake --- server/netwrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/netwrapper.py b/server/netwrapper.py index 9234990..4f7f514 100644 --- a/server/netwrapper.py +++ b/server/netwrapper.py @@ -92,7 +92,7 @@ class NetWrapper: def keyExchange(self) -> None: dh = pyDH.DiffieHellman() mypubkey = self.ecryptRSAMessage(str(dh.gen_public_key())) - header, headersignature = self.signRSAHeader("DH") + 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')