[JDEV] encryption

Thomas Charron tcharron at ductape.net
Fri Apr 28 09:57:45 CDT 2000


    Please give more information regarding the encryption being used within the message.  Are you encrypting the body of the message?  All tags under the message tag?  Perhaps a simply paste to the list of an example may reveal exactly why it gets rejected as invalid XML.  Most likely cause, improper escaping of XML strings.  I've testing sending messages using the | char, without any issues at all..
  ----- Original Message ----- 
  From: chandan sonaye 
  To: jdev at jabber.org 
  Sent: Friday, April 28, 2000 2:39 AM
  Subject: [JDEV] encryption


  Hi all, 
         I am working in a Internet based project where we are using Instant Messaging 
         service using Jabber Server. ( Using Win32 COM Object. ) 
         We are implementing security featrure in Jabber IM service at client side. 
          While sending message, we first encrypt it, send message to server, store it at 
          server in encrypted form and then decrypt it at client side when he receives 
          message. But we are facing following problem. 
    
         1.  When we send a message to another client, It goes thr jabber server. 
               At that time, message is in encrypted form. When jabber server receives 
               encrypted message, it gives error "Invalid XML received" . 
    
         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 ? 
           Thanking in advance, 

           chandan . 
    

   
    

   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20000428/d2de79a2/attachment-0002.htm>


More information about the JDev mailing list