oops
This commit is contained in:
parent
7c0e66c450
commit
8d7754edc2
@ -36,7 +36,7 @@ class NetWrapper:
|
||||
cipher = PKCS1_OAEP.new(self.currentClientPublicKey)
|
||||
identMsg = json.dumps(
|
||||
{'type': 'IDY', 'source': self.network.own_addr,
|
||||
'message': b64encode(cipher.encrypt(retmsg.encode('UTF-8')))}).encode(
|
||||
'message': b64encode(cipher.encrypt(retmsg.encode('UTF-8')))}).decode(
|
||||
'ASCII')
|
||||
self.network.send_msg(self.clientAddr, identMsg)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user