This commit is contained in:
parent
4837948fba
commit
c682fe1e2a
@ -66,7 +66,7 @@ class NetWrapper:
|
|||||||
retheader, retheadersignature = self.signRSAHeader("IDY", {})
|
retheader, retheadersignature = self.signRSAHeader("IDY", {})
|
||||||
retmsg = self.ecryptRSAMessage(b64decode(incommingJson['message']).decode('UTF-8'))
|
retmsg = self.ecryptRSAMessage(b64decode(incommingJson['message']).decode('UTF-8'))
|
||||||
identMsg = json.dumps(
|
identMsg = json.dumps(
|
||||||
{'header': retheader, 'headersignature': retheadersignature
|
{'header': retheader, 'headersignature': retheadersignature,
|
||||||
'message': b64encode(retmsg).decode('UTF-8')}).encode(
|
'message': b64encode(retmsg).decode('UTF-8')}).encode(
|
||||||
'UTF-8')
|
'UTF-8')
|
||||||
self.network.send_msg(self.clientAddr, identMsg)
|
self.network.send_msg(self.clientAddr, identMsg)
|
||||||
|
Loading…
Reference in New Issue
Block a user