Thank you very much Jakob!
This solved my problem!
Just an off-topic question: where can I find an archive of all the
previous messages of this ML?
Thanks again
Federico
Jakob Schroeter ha scritto:
> Hi Federico,
>
> On Thu Mar 8 2007, Federico Rossi wrote:
>
>> I compared the keys provided by Gaim and my gloox example in the
>> Response message
>> and they are different.
>>
>
> They have to be to prevent replay attacks.
>
>
>
>> Response GAIM
>> <response
>>
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9InVzZXJfbmFtZSIscmVhbG
>> 09ImdvbGRyYWtlLmlldC51bmlwaS5pdCIsbm9uY2U9I
>>
kVvVlJpUWdrTk15N2U2VkhVeEdPV2JmRVJuSFpFa0t3M1NBVm5qU2ciLGNub25jZT0iMjkzMTgx
>> ZDMxMTczMzUwNTI0ODI0MWIxMWMiLG5j
>>
PTAwMDAwMDAxLHFvcD1hdXRoLGRpZ2VzdC11cmk9InhtcHAvZ29sZHJha2UuaWV0LnVuaXBpLml
>> 0IixyZXNwb25zZT1kMjFlYWVmZGI3NTcz
>> Y2JhOWNhYzc5ZDBhNjI0NTA3MixjaGFyc2V0PXV0Zi04</response>
>>
>
> When you decode this (it's just base64) you get:
> username="user_name",realm="goldrake.iet.unipi.it
",nonce="EoVRiQgkNMy7e6VHUxG
> OWbfERnHZEkKw3SAVnjSg",cnonce="293181d311733505248241b11c",nc=00000001,
> qop=auth,digest-uri="xmpp/goldrake.iet.unipi.it",
> response=d21eaefdb7573cba9cac79d0a6245072, charset=utf-8
>
>
>
>> Response Gloox
>> <response
>>
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9InVzZXJfbmFtZSIscmVhbG
>> 09ImdvbGRyYWtlLmlldC51bmlwaS5pdCIsbm9uY2U9I
>>
loxVUpPVCs0S09lOVFaNlRQWHJNNzBkM2ZFVSt6eE96SSt0cmxnSmgiLGNub25jZT0iMDAwMDAw
>> MjkwMDAwNDgyMzAwMDAxOGJlMDAw
>>
MDY3ODQiLG5jPTAwMDAwMDAxLHFvcD1hdXRoLGRpZ2VzdC11cmk9InhtcHAvMTMxLjExNC41My4
>> xMTMiLHJlc3BvbnNlPTc5ZTVhYTY5M
>> mYwODE5Mjg3NzgzNGY3ZTg2N2E4NWJhLGNoYXJzZXQ9dXRmLTg=</response>
>>
>
> Decoded:
> username="user_name",realm="goldrake.iet.unipi.it
",nonce="Z1UJOT+4KOe9QZ6TPXr
>
M70d3fEU+zxOzI+trlgJh",cnonce="0000002900004823000018be00006784",nc=00000001,
> qop=auth,digest-uri="xmpp/131.114.53.113",
> response=79e5aa692f08192877834f7e867a85ba,charset=utf-8
>
> So with gaim you use 'goldrake.iet.unipi.it' for the server part of the
JID,
> with gloox you use '131.114.53.113'.
>
> cheers,
> Jakob
>
>
>
--
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to
minimalist@xxxxxxxxxx