[JDEV] encryption

Chris cjbehm at mail.com
Fri Apr 28 07:59:40 CDT 2000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

on 04/28/2000 02:45 AM, Bron Gondwana at brong at netizen.com.au wrote:

>> 2. If we remove encryption, and send message which contains
>> characters
>> like ¦ ( ascii value = 199) or other characters like that ,
>> then jabber server
>> responds with same error that "Invalid XML received" .
>> 
>> So message is not forwarded to other client.
>> Doesn't jabber server support these characters in message
>> body?
>> If it doesn't support, then how can we encrypt it since while
>> encryption,
>> these  characters will come in message body.
>> How can we handle this issue of security?
>> Can you provide some solution to this or alternative to this ?
> 
> 
> If you have a thick enough pipe, just Base64 encode the encrypted
> data, then Base64 decode it at the other end.
> 
> Not the most efficient solution, but rather easy to add.

Can't you also put it within a CDATA section? I'm no expert, but I
was under the impression that CDATA didn't get parsed, just sent on
through.

Chris

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>

iQA/AwUBOQmLLFAoN/SY6U7vEQK4UgCfXrmbr0MDmkrxLAT5jwy407wDZpoAoLXw
V13kAicl1ql0gwulvIPXFgrN
=Czbb
-----END PGP SIGNATURE-----





More information about the JDev mailing list