This commit is contained in:
parent
66877d52a1
commit
62dd8872d6
@ -66,7 +66,7 @@ class NetWrapper:
|
||||
dcryptedmsg = self.decryptRSAMessage(b64decode(incommingJson['message']))
|
||||
retmsg = self.encryptRSAMessage(dcryptedmsg)
|
||||
identMsg = json.dumps(
|
||||
{'header': retheader, 'headersignature': retheadersignature,
|
||||
{'header': b64encode(retheader).decode('UTF-8'), 'headersignature': b64encode(retheadersignature).decode('UTF-8'),
|
||||
'message': b64encode(retmsg).decode('UTF-8')}).encode(
|
||||
'UTF-8')
|
||||
self.network.send_msg(self.clientAddr, identMsg)
|
||||
|
Loading…
Reference in New Issue
Block a user