[jdev] ruby xmppd, and Psi
Eric Will
rakaur at malkier.net
Thu Sep 18 07:15:34 CDT 2008
> DIGEST-MD5 is notoriously confusing, which is why the IETF has deprecated
> it.
>
> Perhaps you could send along the exact XML (and character data) that you
> exchanged?
Here it is, starting with the opening <stream> after successful TLS:
-> TLS established
-> <?xml version="1.0"?><stream:stream
xmlns:stream="http://etherx.jabber.org/streams" version="1.0"
xmlns="jabber:client" to="malkier.net" xml:lang="en"
xmlns:xml="http://www.w3.org/XML/1998/namespace" >
<- <?xml version='1.0'?><stream:stream xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' from='malkier.net'
id='df229a5f49b15ac7e674ccd1dfe501fe' version='1.0'>
<- <stream:features><mechanisms
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms></stream:features>
-> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="DIGEST-MD5" />
<- <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cmVhbG09bWFsa2llci5uZXQsbm9uY2U9IjEzNGZlYTgzZDUwYTIyMmI0OWEwOGM0NDI3Yzc1ODAyIixxb3A9ImF1dGgiLGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz</challenge>
-> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9InJha2F1ciIscmVhbG09Im1hbGtpZXIubmV0Iixub25jZT0iMTM0ZmVhODNkNTBhMjIyYjQ5YTA4YzQ0MjdjNzU4MDIiLGNub25jZT0iOHdPejd4czF4TklISkpHVlk3Z1RyU2FPZENnWEF3WlAva0kxalNSclFzcz0iLG5jPTAwMDAwMDAxLGRpZ2VzdC11cmk9InhtcHAvbWFsa2llci5uZXQiLHFvcD1hdXRoLHJlc3BvbnNlPWU5MmRhZDU4MjM5M2IxZjhiMDE2NWU2ZDIwYjgyN2VlLGNoYXJzZXQ9dXRmLTg=</response>
<- <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><not-authorized/></failure>
<- </stream:stream>
The password is correct. Just as a reference, here's gajim doing the same thing:
-> TLS established
-> <?xml version='1.0'?><stream:stream xmlns="jabber:client"
to="malkier.net" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" >
<- <?xml version='1.0'?><stream:stream xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' from='malkier.net'
id='1518257d7ef1efcd667bbf3bab4f4b18' version='1.0'>
<- <stream:features><mechanisms
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms></stream:features>
-> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="DIGEST-MD5" />
<- <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cmVhbG09bWFsa2llci5uZXQsbm9uY2U9IjIwNjIwNTQzOTlhNjM5NmQzMTE5NmE4ZDA1MzBlODAwIixxb3A9ImF1dGgiLGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz</challenge>
-> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Y2hhcnNldD11dGYtOCx1c2VybmFtZT0icmFrYXVyIixyZWFsbT0ibWFsa2llci5uZXQiLG5vbmNlPSIyMDYyMDU0Mzk5YTYzOTZkMzExOTZhOGQwNTMwZTgwMCIsbmM9MDAwMDAwMDEsY25vbmNlPSI4YjE3ZmQ0YmE2NmIxZWYyMjBhYzViZTEzNTIxZjU0NTEzODY1MjBhMDlkZjI3OTliIixkaWdlc3QtdXJpPSJ4bXBwL21hbGtpZXIubmV0IixyZXNwb25zZT0yZDhjNzAzNjQ4NjJlMDU1ZmNjZTc1OWFlYzlhYWE5Mixxb3A9YXV0aA==</response>
<- <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cnNwYXV0aD0zMTBmNmViN2Y3ZDk5MzA2YzUyNTIyMDExMTk1MjliYw==</challenge>
-> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
<- <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
-> SASL established
Thanks.
--
Eric Will
EBL Engineers
National Institutes of Health
xmpp:rakaur at malkier.net
More information about the JDev
mailing list