AnemoneLabs / unmessage

Privacy enhanced instant messenger
GNU General Public License v3.0
42 stars 7 forks source link

Split long elements #59

Open felipedau opened 7 years ago

felipedau commented 7 years ago

Once #57 and #58 are implemented, long elements will have to be split into multiple element packets. Most of this has already been done:

felipedau commented 6 years ago

89 implements this for the current state of the packet format.

However, I am going to leave this open because I am not happy with the solution. We depend on #57 to define the exact sizes of each part of a packet and send only bytes. from_element() shouldn't expect the data to increase 34% due to the base64 encoding.

What has to be done:

Future work: