[Standards] XEP-0220: handling of invalid dialback key
mwild1 at gmail.com
Fri Apr 15 21:33:12 UTC 2011
On 15 April 2011 17:11, Peter Saint-Andre <stpeter at stpeter.im> wrote:
> On 4/15/11 10:10 AM, Dave Cridland wrote:
>> On Thu Apr 14 23:19:12 2011, Peter Saint-Andre wrote:
>>> I'm still not convinced about forcing the receiving server to close the
>>> stream categorically, but I'll think about it further...
>> What about type='invalid' => close the stream, evil spoofing guy!
>> But define a type='error' that MAY be used by a receiving server to say
>> 'No, that one is wrong, but carry on with the others'.
>> Then the behaviour is variable (as PSA wants), but the variance is
>> signalled clearly in protocol.
> Right, I think that's where we're going. I don't know if DNA does things
> that way, but we can modify DNA to comply with that model.
I can't believe this thread waited at the top of my inbox so long just
so I can say: +1 :)
It makes sense to adapt DNA to use type='error' and not-authorized.
FWIW Prosody doesn't implement dialback errors yet (who does, out of
interest?) but it's on my todo.
More information about the Standards