afflux/pure-python-otr — Issue #3: fragmentation throws exception
Author: bj0
Created: 2012-02-14 00:01:43+00:00
State: open

line 304ish of potr/context.py concatenates strings/bytes and integers, which throws an exception whenever a message longer than MMS is sent.

This can be seen by adding a second message to testAutoFromP unittest after self.process calls. The resulting encrypted message is too long and tries to fragment.