[JDEV] digest authentication

Thomas Charron tcharron at ductape.net
Mon May 21 13:15:30 CDT 2001


From: "Dustin Puryear" <dpuryear at usa.net>
Subject: Re: [JDEV] digest authentication
> Okay, I'll just give you the shahash() data. If it's right, and I don't
> see why not, then perhaps I am doing something else wrong. First, here
> is the driver I added to sha.c:
> 20010521T17:15:08>>> <iq id='A0' type='result'><query
>
xmlns='jabber:iq:auth'><username>dpuryear</username><password/><digest/><seq
uence>326</sequence><token>3A7B471C</token><resource/></query></iq>
> 20010521T17:15:08<<< <iq id='A1' type='set'><query
>
xmlns='jabber:iq:auth'><username>dpuryear</username><resource>Work</resource
><hash>7c20f0d1f908f4c284fb3f52b364bbbe8222da81</hash></query></iq>

    Err, this is using 0k auth.  You are correct in your usage.  I'm not
sure, however, why the jabber:iq:auth isn't jabber:iq:auth:0k




More information about the JDev mailing list