Re: [apps-discuss] Webfinger

Eran Hammer-Lahav <> Tue, 22 November 2011 02:52 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 4C9EF21F8B00 for <>; Mon, 21 Nov 2011 18:52:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.545
X-Spam-Status: No, score=-2.545 tagged_above=-999 required=5 tests=[AWL=0.053, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 70fWrKFr0XKp for <>; Mon, 21 Nov 2011 18:52:20 -0800 (PST)
Received: from ( []) by (Postfix) with SMTP id 08BB421F8AFC for <>; Mon, 21 Nov 2011 18:52:19 -0800 (PST)
Received: (qmail 9535 invoked from network); 22 Nov 2011 02:52:18 -0000
Received: from unknown (HELO ( by with SMTP; 22 Nov 2011 02:52:18 -0000
Received: from P3PW5EX1MB01.EX1.SECURESERVER.NET ([]) by P3PW5EX1HT005.EX1.SECURESERVER.NET ([]) with mapi; Mon, 21 Nov 2011 19:52:18 -0700
From: Eran Hammer-Lahav <>
To: "Paul E. Jones" <>, "" <>
Date: Mon, 21 Nov 2011 19:52:13 -0700
Thread-Topic: [apps-discuss] Webfinger
Thread-Index: AQI/v0XgjFwdy9sXrXmTVWBMa/eIuQJBqnyslL87CjCAALv8UA==
Message-ID: <90C41DD21FB7C64BB94121FBBC2E7234526735F00B@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <032101cc9288$e3a06910$aae13b30$> <90C41DD21FB7C64BB94121FBBC2E7234526735EDED@P3PW5EX1MB01.EX1.SECURESERVER.NET> <06b001cca865$1d9ccb80$58d66280$>
In-Reply-To: <06b001cca865$1d9ccb80$58d66280$>
Accept-Language: en-US
Content-Language: en-US
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_90C41DD21FB7C64BB94121FBBC2E7234526735F00BP3PW5EX1MB01E_"
MIME-Version: 1.0
Cc: 'Joseph Smarr' <>
Subject: Re: [apps-discuss] Webfinger
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 22 Nov 2011 02:52:24 -0000

1.       Require the server to offer JRD, leave it to the client to pick one flavor.

2.       Host-meta dumps the decision on the applications. You need to decide if WebFinger is an application or just syntactic sugar on top of host-meta.

3.       Expand every template in host-meta + level one LRDD links (excluding templates in LRDD).


From: Paul E. Jones []
Sent: Monday, November 21, 2011 7:49 AM
To: Eran Hammer-Lahav;
Cc: 'Joseph Smarr'; 'Gonzalo Salgueiro'; 'Blaine Cook'
Subject: RE: [apps-discuss] Webfinger


Thanks for your feedback.  The editorial, structural, and behavioral items we'll addressed (including adhering to host-meta section 4.2).

Let me ask about specific comments:

1)      You want to mandate use of JSON, which we also indicated in the draft.  However, I would personally prefer to give both XML and JSON equal weight and require both.

2)      You wanted to mandate HTTPS. I'm not opposed, but host-meta does not mandate it.  Shouldn't we Webfinger requirements on what is there?

3)      Regarding "resource" extension: if I query host-meta, there may be any number of templates.  Would we want the server to automatically expand every template it finds?  Or would we only expand the 'lrdd' template?  (And how many levels of recursion might be possible?)


From: Eran Hammer-Lahav []<mailto:[]>
Sent: Saturday, November 19, 2011 10:03 AM
To: Paul E. Jones;<>
Cc: Joseph Smarr; Gonzalo Salgueiro; Blaine Cook
Subject: RE: [apps-discuss] Webfinger

This is a good start. Some feedback and nits:

1.       The protocol flow is incorrect and needs to be adjusted based on the final host-meta specification (RFC 6415). Namely, WebFinger must follow section 4.2 exactly as specified.

2.       WebFinger should focus exclusively on JSON and mandate WebFinger providers to support the JRD format. This does not preclude using XRD (XML) but it will ensure that every compliant WebFinger implementation provides full JSON support which is much more likely to be adopted. This is something we could not do in host-meta due to the late stage it was in, but this is the right time to make the switch (without taking away any existing functionality).

3.       Are there reasons not to mandate HTTPS?

4.       Section 3 should be a sub-section of the introduction and each example needs actual JRD code.

In addition, I would very much like to see WebFinger extend the host-meta endpoint by defining a 'resource' query parameter. Using the example in RFC 6415 section 1.1.1 (example not properly encoded to make it easier to read):

> GET /.well-known/host-meta?resource= HTTP/1.1




The rules for this extension parameter are pretty simple:

1.       JSON is implied. If the server understands '?resource' it MUST return a JRD document.

2.       The subject must be set to the value of the 'resource' parameter.

3.       If the server does not support that resource (wrong domain, etc.) it must return an empty JRD with the right subject.

4.       The client MUST verify the server supports '?resource' by making sure the response is both JRD and has the requested subject (this will ensure full compatibility with any other host-meta endpoint).

I would like to see such endpoint extension required for WebFinger so that clients can make a single call and get the full WebFinger result in JSON. This would significantly improve adoption and usability, and adds very little work to providers.


From:<> []<mailto:[]> On Behalf Of Paul E. Jones
Sent: Monday, October 24, 2011 1:10 PM
Cc: Joseph Smarr; Gonzalo Salgueiro
Subject: [apps-discuss] Webfinger


We just submitted this:

The tools for Webfinger are now defined, but the procedures need to be clearer with respect to what most of us understand as "webfinger".  This is just a first stab at making that happen and we hope to progress this to publish an RFC in the application area.

We welcome any comments you have on the topic, either privately or publicly.