[jdev] Digest auth: <digest> or <hash> ?

Heiner Wolf wolf at bluehands.de
Tue Jun 22 06:04:12 CDT 2004


comparing the protocol log of my client an Exodus I found a strange difference. Exodus uses a <hash>-tag in the digest auth iq-set-jabber:iq:auth stanza. I thought this should be <digest> instead. 

It seems to work with both tags. Which one is "more" correct? 

After the stream setup:
SENT: <iq id="jcl_86" type="get">
        <query xmlns="jabber:iq:auth"><username>Wolfspelz</username></query>

RECV: <iq id='jcl_86' type='result'>
        <query xmlns='jabber:iq:auth'>

SENT: <iq id="jcl_87" type="set">
        <query xmlns="jabber:iq:auth">
          <hash>d7d601bc0739917e73b2174a4b00ed295474e089</hash>   <---------- <digest> ?

  Client: Exodus
  Server: javverd 1.4CVS (jabber.org)

Dr. Klaus H. Wolf
bluehands GmbH & Co.mmunication KG
+49 (0721) 16108 75
LLuna: Jabber enabled virtual presence on the web / http://www.lluna.de/
Galactic developments: Open source future history / http://www.galactic-developments.com/

More information about the JDev mailing list