Closed GoogleCodeExporter closed 9 years ago
No problem with Psi
Original comment by olatign...@gmail.com
on 27 May 2008 at 3:07
When disabling digest authentication in jabberd server (c2s.xml), everything is
OK
(authentication done with PLAIN mechanism).
So I think is related to some mis-interpretation of the MD5 string sent by the
server
located in MD5Processor.cs.
I will try to fix it.
Original comment by olatign...@gmail.com
on 2 Jun 2008 at 12:59
Here is a dump of the challenge the server is sending:
00000000 72 65 61 6c 6d 3d 22 77 65 62 32 30 30 33 22 2c |realm="web2003",|
00000010 20 6e 6f 6e 63 65 3d 22 59 61 34 6a 75 4d 63 35 | nonce="Ya4juMc5|
00000020 34 48 6f 54 58 30 4f 6b 55 4f 44 31 6f 41 3d 3d |4HoTX0OkUOD1oA==|
00000030 22 2c 20 71 6f 70 3d 22 61 75 74 68 2c 20 61 75 |", qop="auth, au|
00000040 74 68 2d 69 6e 74 22 2c 20 63 68 61 72 73 65 74 |th-int", charset|
00000050 3d 75 74 66 2d 38 2c 20 61 6c 67 6f 72 69 74 68 |=utf-8, algorith|
00000060 6d 3d 6d 64 35 2d 73 65 73 73 |m=md5-sess|
What server are you using? I've never seen one send space between the tokens
of the DIGEST-MD5, but RFC
2831 seems to allow it. I'll add the ability for there to be LWS in the MD5
parser.
Original comment by hil...@gmail.com
on 2 Jun 2008 at 3:51
I'm using jabberd2 (http://jabberd2.xiaoka.com/) server win32 build
(jabberd-2.1svn557-win32.msi 2008-02-05, 1.46 MB, win32 SVN revision #557
installer,
modules: SQLite (default) auth & storage, MySQL auth & storage, NTLogon auth
module).
Original comment by olatign...@gmail.com
on 2 Jun 2008 at 4:02
Fixed in head. Please svn up, verify, and reopen if it doesn't work for you.
Added
a unit test as well, to try to prevent regressions.
Original comment by hil...@gmail.com
on 3 Jun 2008 at 12:47
Original issue reported on code.google.com by
olatign...@gmail.com
on 27 May 2008 at 3:03