hatvannegyedik bazis
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2021-04-26 22:23:20 +02:00
parent 66877d52a1
commit 62dd8872d6
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -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)