[OTR-dev] Re: Requirements for libotr4
Jonathan Schleifer
js-otrim@webkeks.org
Thu, 19 Jun 2008 17:09:08 +0200
--Sig_/6Cv7h6gS/lthvjlO51Bnf.N
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Uli M <a.sporto+bee@gmail.com> wrote:
> 7. Maximum message size handshake. Currently, each end uses its own
> MMS. This is a bad thing if you use something like jabber transports
> because the jabber end will likely have a too large MMS for the other
> end (ICQ,...). For irssi-otr it's always a problem in conjunction with
> bitlbee since IRC has a limit of about 500 and the other end might be
> playing with 2k. The only reason why this currently works at all is
> because OTR messages (except the 'better' msg under 4.) start with
> "?OTR:" and end with "." so irssi-otr can reconstruct them for libotr.
> The solution is simple: Each end advertises its own MSS during the
> initial handshake and both use the minimum of the two.
This has one problem: What if two users chat via ICQ for example and
both use a Jabber transport? Both would announce that they don't need
fragmentation, but they do.
We would need some way to define what we support *PER CONTACT*. So the
client could for example limit it's own capability if it knows it's a
gateway contact and announce that it needs fragmentation.
--=20
Jonathan
--Sig_/6Cv7h6gS/lthvjlO51Bnf.N
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
iQIcBAEBAwAGBQJIWnaYAAoJEMtRg9d5cXHkR4sP/A/QMuhx3EeIBCo1Oh8TMBcI
ClVsOV5O+t2e1PCafuua8XA9jdc5ZKhTxf8uhePJx2jeboTjG+fZJjwAxoFY1bvF
ppVxetWAq9Lv10iatouZAFazOdPr+TQqz/P/XFXCAP2yrjh+VrTMpFvnN3YfqooH
GMMSsxTiWJlweP7XN8T/Zmb6NH01zg6jhKCIKcReT7D5s7tA4ym28Rie9EbrmsPN
ZY87VEwSqHeCPSpv4zGC6wgnpucP+Ea/1my7WBsEhsmc+AYIb/8WtQ2J/IiI1Lvq
376F7Aw+RSFYdrRjtbvxEn+rqfznt+ttk2SpKtacJojVRqndb313dWKR9L1a1YbN
YQzFko3a0+sm6o/RKArNLcNnhjLJfaxnX40JclyLwtuYVaN7oHQuruxyF8q//s6b
xFuf+r6T2f6Bj4JY3hblogEdjWegYh/pdG0H3vKi1iQPcQb5oJ4N7rqb0hijx8Zc
+nySMqLsb7Qs6183/2/TMgg/nPbTRnIJo3tvBYmbC2LPfK/swfvtE2Lbz+n/UidH
nk6qWFll7YmvB+TIQwhUtreYqd2EpcMavJEWFXET59rf5MbhQh/7pZbochjqoL6t
fWqhx2HufQ3F2H1p/vybPzS+MR5G0MmTf14/JDLKGtZiWAwpLweyx1ZRF9bxbQej
NPVnee28knPTfEK1Rw5i
=Tfdo
-----END PGP SIGNATURE-----
--Sig_/6Cv7h6gS/lthvjlO51Bnf.N--