afflux/pure-python-otr — pull request #18 by mmb (2012-05-12 01:25:47+00:00)
Title: proof of concept for performing OTR fragmentation during AKE

This code has not been fully tested and this pull request is just to demonstrate the idea.

When combined with a low enough max message size it solves problems I have had making weechat-otr communicate with some clients (xchat and pidgin IRC).

These clients complain about malformed messages if they get any OTR message split into multiple IRC messages. Since the max message size of IRC is so small OTR setup messages exceed the limit.

Other clients like irssi handle it fine and I made weechat-otr reassemble OTR messages from multiple IRC messages.