Re: message size
Kevin Smith <[email protected]>
| Newsgroups | gmane.ietf.xmpp |
|---|---|
| Message-ID | <CAOb_FnznTTEXO8jWKoHXSNJRDSYsLH_6YgeOTs4-RW-=w2NORw@mail.gmail.com> |
On Thu, Mar 6, 2014 at 2:44 PM, Ashley Ward <[email protected]> wrote: > On 6 Mar 2014, at 14:40, Kevin Smith <[email protected]> wrote: >> On Thu, Mar 6, 2014 at 2:35 PM, Ashley Ward <[email protected]> wrote: >>> On 6 Mar 2014, at 14:28, Dave Cridland <[email protected]> wrote: >>> >>>> You're saying to include, pre-encrypt, something like <spacer:junk xmlns:spacer='urn:...'>123465</spacer> in the plaintext order to defeat message size analysis of the ciphertext? >>> >>> It's XML - you could always just use <!-- --> comments or whitespace. >> >> Comments are slightly problematic, on account of being illegal. > > True - I often forget that XMPP isn't entirely XML compliant! The stream isn't a real XML document (stream restarts break this) but not allowing comments doesn't stop it being XML, just a subset. /K