--
You received this message because you are subscribed to a topic in the Google Groups "Charm-Crypto Help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/charm-crypto/67jxm97yqk4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to charm-crypto+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to charm-crypto...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to charm-crypto+unsubscribe@googlegroups.com.
s.connect((host,port)) mpk=s.recv(port) mpk=dict(mpk) print type(mpk) mpk=bytesToObject(mpk,group) print "*********" print mpk
Here, you receive data from the socket and make a dictionary of it, *before* converting the data from bytes to object. The operation should be bytesToObject first, then dict (if necessary). Note that, in keygen.py, you build a dictionary first, then convert (objectToBytes), then send to socket.
To unsubscribe from this group and all its topics, send an email to charm-crypto+unsubscribe@googlegroups.com.