[Bug 32125] Should support auth using captcha

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 9 11:09:09 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=32125

--- Comment #28 from Dario Freddi <drf54321 at gmail.com> 2012-02-09 02:09:09 PST ---
(In reply to comment #26)
> If you don't like the way the current spec deals with MIME types, here is my
> new proposal, as described in Comment #20:
> 
> GetCaptchas() -> a(u: ID, s: Type, s: Label, u: Flags,
>                    as: Available_MIME_Types),
>                  u: Number_Required,
>                  s: Language
> 
> GetCaptchaData(u: ID, s: MIME_Type) -> ay: Bytes
> 
> I can see that this is probably better than what I said previously.

I +1 that, and reckon everything you said below, you are definitely right.


> > Though, I see a potential improvement in the type of the captcha - in that
> > case, it would be nice to have an enum with the supported types instead of a
> > string (which would be better from a client POV)
> 
> An enum isn't sufficient to represent XMPP: the server can offer us literally
> any format of its choice (image/x-ascii-art? :-). Given that there's a
> widely-implemented Internet standard for file types, we might as well use it...

I wasn't referring to mimetypes here, but to the "Type" parameter. XMPP
actually does define a set of possible types of challenge (
http://xmpp.org/extensions/xep-0158.html#challenge ), and in this case I really
think we'd be better off with an enum

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list