Re: [apps-discuss] Looking at Webfinger

Phillip Hallam-Baker <hallam@gmail.com> Tue, 03 July 2012 14:52 UTC

Return-Path: <hallam@gmail.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D5B6111E8111 for <apps-discuss@ietfa.amsl.com>; Tue, 3 Jul 2012 07:52:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.902
X-Spam-Level:
X-Spam-Status: No, score=-2.902 tagged_above=-999 required=5 tests=[AWL=-0.543, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, SARE_LWSHORTT=1.24]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oTDJF5y7mWyq for <apps-discuss@ietfa.amsl.com>; Tue, 3 Jul 2012 07:52:47 -0700 (PDT)
Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by ietfa.amsl.com (Postfix) with ESMTP id 72F9F21F8631 for <apps-discuss@ietf.org>; Tue, 3 Jul 2012 07:52:46 -0700 (PDT)
Received: by obbwc20 with SMTP id wc20so11489164obb.31 for <apps-discuss@ietf.org>; Tue, 03 Jul 2012 07:52:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3xwvzGgo85Ttrw81f5krs4MsBk5v6HGgAY3oB0agqps=; b=nFJZ7ZWhR6gsSBH2hVt6vBPK0r0W7DyLOtGFleGFzR14aigQiI1cyYWSE/xgrjbZGJ vBQwkdMIQlQSH8Qbylh0XN1Tb3zWID88X8kzs4bg39rY8yfMLTS2hTYtcxDhuki/TQxM DiljtxFG8auR1enJH9mLsdW61WTthzGcd+KhfSMz1PHzg34Z5LjJdDUh5KmxxJIMcILq YKSCY8uRtmiE8IyTI+33FIbYb/Tfd2g3UdNtq4RYd7KS8FJxMXa5wGKeKQJPKPa6LF1v WdkHnobTwU34DL/m5pvcvLNlUR7CMhtMpkg4lCh9CxwCD+9lhyOxGFKoZso2D/UAa2Dk XL6w==
MIME-Version: 1.0
Received: by 10.182.160.10 with SMTP id xg10mr13009096obb.76.1341327174173; Tue, 03 Jul 2012 07:52:54 -0700 (PDT)
Received: by 10.182.64.166 with HTTP; Tue, 3 Jul 2012 07:52:54 -0700 (PDT)
In-Reply-To: <CA+aD3u1jGgLJPJp8XR=FWH_3dnhogqNfbdm2a0P8VOuL=FJv3Q@mail.gmail.com>
References: <F80C8C9C-7AB8-4B7E-BFD2-4D69499D21A1@mnot.net> <CA+aD3u1jGgLJPJp8XR=FWH_3dnhogqNfbdm2a0P8VOuL=FJv3Q@mail.gmail.com>
Date: Tue, 03 Jul 2012 10:52:54 -0400
Message-ID: <CAMm+LwjaH0-74cuWqJ6B4JW1QdHtzg3C1W62mVjDHvmSMhMuVA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Michiel de Jong <michiel@unhosted.org>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: Mark Nottingham <mnot@mnot.net>, IETF Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] Looking at Webfinger
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2012 14:52:50 -0000

I am not clear what the proposal is that is being referred to though.

There is a very clear rationale for having an acct: scheme as far as I
am concerned that is independent of WebFinger. Accounts are a specific
type of resource that we refer to repeatedly in protocols, a URI is
appropriate.

Web Finger looks to me like something that is eminently suitable for
implementation as a .well-known lookup returning some chunk of data in
response.

The place where I would see acct: being used in WebFinger is actually
more the data structures being returned. So for example if I am
looking up my friends profile, I would probably want to see their
battle.net accounts listed there along with their other stuff.


WebFinger would still be a way to resolve acct: URIs, but only one way
and the http: transport might only be one option.

If I click on an acct: link in a browser I would have a range of
possible options:
   * Grab the public WebFinger data
   * Grab the profile data exposed to me by virtue of me being a friend.
   * Attempt to connect on chat
   * Attempt to send an email

I would expect there to be a default action but that choice is
something the user would probably make.


The place I would be using acct: identifiers is in the authentication
and authorization layer.


And no, I don't get the XRD thing either except that it seems that
they painted the bus a color other people liked.

On Tue, Jul 3, 2012 at 5:44 AM, Michiel de Jong <michiel@unhosted.org> wrote:
> A brilliant and convincing post, IMO! My remarks, fwiw:
>
> - it should be clear to implementers that they are allowed to use http
> 3** responses to redirect to some other place where running the actual
> webfinger service might be easier to organize. it should be clear to
> clients that they should follow such redirects. afaik, the ability to
> redirect to some other place was an argument for using host-meta as a
> first hop: first discover where the host-meta server is, and then do
> the actual work there.
>
> - changing existing implementations costs money and goodwill in the
> short term (but so do prolonged discussions, so a change like this
> could actually improve adoption if it's done right).
>
> - the reason host-meta and also simple-web-discovery use URIs to
> describe resources is that the architecture of the web says that if
> you point to something of any importance, then the pointing should be
> done with a URI. In this case i think it's fair to say we are not
> really pointing to a resource, but rather just passing a string as a
> query parameter. So i'm all in favour of ?user=user@host or
> ?acct=user@host, i'm just saying that i think that was the reasoning
> at the time.
>
> - if we give various applications all their own well-known URI, then
> there might at some point a need to get an aggregated list of which
> things are discoverable. Aggregated discovery has been discussed in a
> separate thread already, and i think making it optional is good.
>
> Otherwise, unless i overlooked some other point, I think it's hard to
> deny that registering a well-known URI instead of a full URI scheme
> would basically solve everything instantly and be preferable.
>
>
> My 2ct,
>
>
> --
> Michiel de Jong   http://unhosted.org/
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss



-- 
Website: http://hallambaker.com/