[Pidgin] #12500: Pidgin sending invalid XMPP-Entity Capabilities packet.
Pidgin
trac at pidgin.im
Sat Aug 14 18:33:15 EDT 2010
#12500: Pidgin sending invalid XMPP-Entity Capabilities packet.
--------------------+-------------------------------------------------------
Reporter: dmex | Owner: deryni
Type: defect | Status: new
Milestone: | Component: XMPP
Version: 2.7.3 | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Description changed by dmex:
Old description:
> Pidgin is sending invalid Entity Capability IQ's to other clients then
> failing to validate the response capability.
>
> Pidgin recieves standard presence element when contact comes online:
> <presence from='stpeter at jabber.org' to='dmex04 at jabber.org'
> type='unavailable'><c xmlns="http://jabber.org/protocol/caps"
> hash="sha-1" ver="QgayPKawpkPSDYmwT/WM94uAlu0="
> node="http://code.google.com/p/exodus" /><presence>
>
> Current response by pidgin:
> (This IQ should contain a Ver element however for whatever reason pidgin
> merges that element with the node element.)
>
> <iq type='get' id='purple9447bde0'
> to='dmex04 at jabber.org/Client1897507793'><query
> xmlns='http://jabber.org/protocol/disco#info'
> node='http://code.google.com/p/exodus#QgayPKawpkPSDYmwT/WM94uAlu0='
> /></iq>
>
> After pidgin reports error.
> jabber: Could not validate caps info from user. Expected
> QgayPKawpkPSDYmwT/WM94uAlu0=, got 9gS16i2awMWEb4Dm1krPWB2pOqI=
>
> This occurs every time a user comes online, If the same user signs online
> mutiple times, the 'got' result is different that also shouldnt happen as
> the clients ver did not change.
>
> The IQ pidgin should be sending looks like this:
> <iq type='get' id='purple9447bde0'
> to='dmex04 at jabber.org/Client1897507793'><query
> xmlns='http://jabber.org/protocol/disco#info'
> node='http://code.google.com/p/exodus' ver='QgayPKawpkPSDYmwT/WM94uAlu0='
> /></iq>
New description:
Pidgin is sending invalid Entity Capability IQ's to other clients then
failing to validate the response capability eveytime the user signs online
and everytime the user does something like request a user's info or open a
chat.
Pidgin recieves standard presence element when contact comes online:
<presence from='stpeter at jabber.org' to='dmex04 at jabber.org'
type='unavailable'><c xmlns="http://jabber.org/protocol/caps" hash="sha-1"
ver="QgayPKawpkPSDYmwT/WM94uAlu0=" node="http://code.google.com/p/exodus"
/><presence>
Current response by pidgin:
(This IQ should contain a Ver element however for whatever reason pidgin
merges that element with the node element.)
<iq type='get' id='purple9447bde0'
to='dmex04 at jabber.org/Client1897507793'><query
xmlns='http://jabber.org/protocol/disco#info'
node='http://code.google.com/p/exodus#QgayPKawpkPSDYmwT/WM94uAlu0='
/></iq>
After pidgin reports error.
jabber: Could not validate caps info from user. Expected
QgayPKawpkPSDYmwT/WM94uAlu0=, got 9gS16i2awMWEb4Dm1krPWB2pOqI=
If the same user signs online mutiple times, the 'got' result is different
even though the clients ver did not change.
The IQ pidgin should be sending looks like this:
<iq type='get' id='purple9447bde0'
to='dmex04 at jabber.org/Client1897507793'><query
xmlns='http://jabber.org/protocol/disco#info'
node='http://code.google.com/p/exodus' ver='QgayPKawpkPSDYmwT/WM94uAlu0='
/></iq>
--
--
Ticket URL: <http://developer.pidgin.im/ticket/12500#comment:2>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list