Re: [OAUTH-WG] [apps-discuss] draft-jones-appsawg-webfinger-04

Blaine Cook <romeda@gmail.com> Tue, 08 May 2012 15:31 UTC

Return-Path: <romeda@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A01311E8091; Tue, 8 May 2012 08:31:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.546
X-Spam-Level:
X-Spam-Status: No, score=-103.546 tagged_above=-999 required=5 tests=[AWL=0.053, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 Z4M-DfH1QVDz; Tue, 8 May 2012 08:31:13 -0700 (PDT)
Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by ietfa.amsl.com (Postfix) with ESMTP id 4C86811E808A; Tue, 8 May 2012 08:31:13 -0700 (PDT)
Received: by lbbgo11 with SMTP id go11so4919773lbb.31 for <multiple recipients>; Tue, 08 May 2012 08:31:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=RnZKTFAxjVbXrxPaJo9ZD9KrZotICYYqotJX6EXBh2I=; b=dpAaGhD//YjUMNQtty4rGmHsH06gW2npt5qeaccUFtqSM6yMqmhfS9h03A1FBd4pgF WqxdMIFuYE0AACa+kYZPgqT+MqqWQuI6ldHjWzvqyeUhZLnqUhEnTv72eRzHl2tq9Rlt WgdgLenx/OL1PwBHz2shndcywL1TK0TILNKzDFEZgnx1qpS5mFPxdLYtMrpkykqh61aP h8CSp3N0gV5PcGmQ5RP9zDw6JlQBYWERqUofc3envKRQVF/UhMT90PCimeH+RPTu+stk PVe7vMhvGF/sslyBEyUkRyPAt/ri4nam9tTVRN72hn0o7B+rQBX2m0+6Ib2bAj8ELKd4 Ju/g==
Received: by 10.152.109.198 with SMTP id hu6mr2605109lab.21.1336491072259; Tue, 08 May 2012 08:31:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.152.24.229 with HTTP; Tue, 8 May 2012 08:30:52 -0700 (PDT)
In-Reply-To: <7C8C2724-8BB3-4B45-9144-D2645E3D0B4D@gmx.net>
References: <9452079D1A51524AA5749AD23E00392810E4CA@exch-mbx901.corp.cloudmark.com> <7C8C2724-8BB3-4B45-9144-D2645E3D0B4D@gmx.net>
From: Blaine Cook <romeda@gmail.com>
Date: Tue, 08 May 2012 17:30:52 +0200
Message-ID: <CAAz=sc=147d254-TKMHyFJOuLGoc3fMHZLtQwO3nvj-Un=cjrg@mail.gmail.com>
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: "oauth@ietf.org WG" <oauth@ietf.org>, "apps-discuss@ietf.org" <apps-discuss@ietf.org>
Subject: Re: [OAUTH-WG] [apps-discuss] draft-jones-appsawg-webfinger-04
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/oauth>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 May 2012 15:31:14 -0000

On 8 May 2012 16:55, Hannes Tschofenig <hannes.tschofenig@gmx.net> wrote:
> The discussions around XML vs. JSON are unfortunately also hiding the real important discussion, namely privacy.
>
> We are actually building, without further thinking about it, a mechanism that offers worse privacy properties compared to what we have in other protocols today.
>
> See this in terms of the interaction between a relying party and an identity provider then other IETF protocols today (e.g., AAA) does not require the relying party to see the username part of the identifier. In fact AAA offers various mechanisms to hide the username component to the relying party since it is really only needed by the identity provider.
>
> So, I would encourage the group to think about how to accomplish equivalent functionality without unnecessarily revealing identifiers to parties that are not supposed to get them.

Webfinger isn't about authentication. It is *explicitly* about
discovering information about an entity (usually a person) when you
(the relying party) *already have* their identifier.

Again: There is NO privacy leak in exposing the identifier to the RP,
because they already know it.

Again: There is NO privacy leak in exposing the identifier to the SP,
because they control it.

Even in the context of authentication, I'm surprised you're saying
this because I've repeatedly claimed that the *major failing* with
OpenID *.* is that the relying party isn't given knowledge of *who* is
trying to authenticate in the first place. It's a cryptographic
property that looks lovely on paper, but is a damaging folly when
translated to something that end users are expected to interact with.

> I also think it is useful to think about the bigger picture,namely the integration with other protocols (such as OAuth). This will in most cases be needed when you actually fetch the data that is behind the discovered URIs. Assuming that all information is public anyway is not realistic and protocol design has to work with the difficult assumptions (not with the simplest).

Agreed, the actual information conveyed by Webfinger will normally be
private. *However*, as discussed on this list, on the OAuth list, and
in many other places, the mechanism(s) for authentication and
authorisation to access the relevant Webfinger profiles is best dealt
with by allowing any valid HTTP mechanisms.

Specific protocols that rely upon webfinger should define their own
authentication requirements, where sensible.

> Hence, I heavily object to use this document as a starting point.

I have many concerns with this document, too, as mentioned earlier.

> I may also be the case that WebFinger is not the right tool for something like OAuth (and for discovery of protected resources altogether) since we do not want to design a solution that on one hand allows us not to reveal any user identifiers to the relying party (the client in OAuth) based on the current design and then completely destroy these properties when we add the discovery mechanisms in front of it.

No-one is forcing all OAuth services to rely upon webfinger discovery.
OpenID Connect needs something like this, because users (and their RPs
in turn) need to know their identifier in order to be able to sign in.
Some RPs that interact with OAuth-enabled services (e.g., cloud
document services) will benefit from webfinger. Others won't,
especially where the RP shouldn't or can't know who the user is, but
should have access to a service.

FWIW, I think you're blowing the privacy concerns way out of
proportion, especially in the context of a world where many actively
hostile actors can identify users by analysing router traffic that
they obtain from back-doors in switches manufactured by Ericsson. ;-)

b.