JHUISI / charm

Charm: A Framework for Rapidly Prototyping Cryptosystems
http://charm-crypto.io
GNU Lesser General Public License v3.0
552 stars 167 forks source link

Protocol class minor problems #204

Closed EDVTAZ closed 5 years ago

EDVTAZ commented 5 years ago

Hi all,

I'm trying to create a protocol with charm, and ran into some problems. The recv_msg function in the Protocol class wasn't working, because unpickleObject didn't allow bytes objects. The other problem was that my messages were getting truncated at 2048, because of MAX_SIZE, and there was no way to tweak this variable from the child class since it was not part of the Protocol class.