[Pidgin] #9689: The hash calculation for file transfer does not normalize JIDs
Pidgin
trac at pidgin.im
Wed Jul 15 17:13:24 EDT 2009
#9689: The hash calculation for file transfer does not normalize JIDs
--------------------+-------------------------------------------------------
Reporter: zak | Owner: rekkanoryo
Type: defect | Status: new
Milestone: | Component: unclassified
Version: 2.5.8 | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Description changed by zak:
Old description:
> A developer from Psi and myself just found out why a file transfer could
> not be established with Pidgin:
>
> When trying to send a file with Jabber/XMPP (in my case from Psi) to
> someone using Pidgin (2.5.8), an hash value will be calculated according
> to [1]. The JID which is needed for this calculation is not normalized,
> so different hashes may occur.
>
> If I (Psi) have for example user at jabber.org to whom I want to send a file
> to, but the user entered "User at jabber.org" in his account settings, the
> hashes will be different ('User' != 'user'), so no connection could be
> established.
>
> Solution: When Pidgin calculates the hashes, the values should be
> normalized.
>
> [1]http://xmpp.org/extensions/xep-0065.html#proto-establish
New description:
A developer from Psi and myself just found out why a file transfer could
not be established with Pidgin:
When trying to send a file with Jabber/XMPP (in my case from Psi) to
someone using Pidgin (2.5.8), an hash value will be calculated according
to [1]. The JID which is needed for this calculation is not normalized by
Pidgin, so different hashes may occur.
If I (Psi) have for example user at jabber.org to whom I want to send a file
to, but the user entered "User at jabber.org" in his account settings, the
hashes will be different ('User' != 'user'), so no connection can be
established.
Solution: When Pidgin calculates the hashes, the values should be
normalized.
[1]http://xmpp.org/extensions/xep-0065.html#proto-establish
--
--
Ticket URL: <http://developer.pidgin.im/ticket/9689#comment:1>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list