Re: [webfinger] Server Response language

James M Snell <jasnell@gmail.com> Thu, 20 December 2012 17:24 UTC

Return-Path: <jasnell@gmail.com>
X-Original-To: webfinger@ietfa.amsl.com
Delivered-To: webfinger@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4883821F8A5A for <webfinger@ietfa.amsl.com>; Thu, 20 Dec 2012 09:24:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.673
X-Spam-Level:
X-Spam-Status: No, score=-3.673 tagged_above=-999 required=5 tests=[AWL=-0.075, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CwJosb4wtNYj for <webfinger@ietfa.amsl.com>; Thu, 20 Dec 2012 09:24:17 -0800 (PST)
Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by ietfa.amsl.com (Postfix) with ESMTP id 67C2C21F8A57 for <webfinger@ietf.org>; Thu, 20 Dec 2012 09:24:17 -0800 (PST)
Received: by mail-ie0-f174.google.com with SMTP id c11so4930237ieb.19 for <webfinger@ietf.org>; Thu, 20 Dec 2012 09:24:16 -0800 (PST)
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=vy9Zx+kBBKNHDSbwEQKA0Z/EsPKtsdEwAIEMIz9I51c=; b=sg/PKxppvlrZzxED5G9RAfBDIJ8u5nERFIzJv4ak1xervi0nGTJZln8CmsSkNr2HBD EhpZ1Xl/5wac0zS9kCZskC8ZzZFqQUBdN8e54goCf6KacJpLv7Y0k3p7g9E0nVbX6Q4q 3Kyp1xoNe7dYhW+wNeFwMIxPtft3xUhiFI/0KdgfBrJKZSdZxF/LR5RUsdFFF8F5uR5R QgH7nsFkYqOTgmiyKNE82KmoG3uEAgHEU5CJM5p3u7rax423TyhvT3YA+Q/uUapT8o6V Yt0ZR54WFKKyeSCk8Xwt/fj47kDG7Ll1o2x31FxVLxshxGQSWdBvJSO8iymvq9zrg5gM /R7w==
MIME-Version: 1.0
Received: by 10.50.178.10 with SMTP id cu10mr6344835igc.75.1356024249069; Thu, 20 Dec 2012 09:24:09 -0800 (PST)
Received: by 10.64.7.19 with HTTP; Thu, 20 Dec 2012 09:24:08 -0800 (PST)
Received: by 10.64.7.19 with HTTP; Thu, 20 Dec 2012 09:24:08 -0800 (PST)
In-Reply-To: <044501cddece$fd045040$f70cf0c0$@packetizer.com>
References: <044501cddece$fd045040$f70cf0c0$@packetizer.com>
Date: Thu, 20 Dec 2012 09:24:08 -0800
Message-ID: <CABP7RbciDubEMsu7NaTMQNJKvu1x=pCHv-AGyo+C3O77KZdpzQ@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: "Paul E. Jones" <paulej@packetizer.com>
Content-Type: multipart/alternative; boundary="e89a8f839ca1ac326704d14bffc2"
Cc: webfinger@ietf.org, webfinger@googlegroups.com
Subject: Re: [webfinger] Server Response language
X-BeenThere: webfinger@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discussion of the Webfinger protocol proposal in the Applications Area <webfinger.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webfinger>, <mailto:webfinger-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/webfinger>
List-Post: <mailto:webfinger@ietf.org>
List-Help: <mailto:webfinger-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webfinger>, <mailto:webfinger-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2012 17:24:21 -0000

This language is fine but the security considerations ought to recognize
and briefly discuss the risk of returning 401's vs. 404's (as I had
previously suggested).
On Dec 20, 2012 8:28 AM, "Paul E. Jones" <paulej@packetizer.com> wrote:

> Folks,****
>
> ** **
>
> We had this previously:****
>
> ** **
>
> “If the client queries the WebFinger server and provides a URI for which
> the server has no information, the server MUST return a 404 status code.”*
> ***
>
> ** **
>
> Someone posted to the list that we should talk about positive replies and
> mention that a client might be rejected with a 401.  So, I wrote this text
> to be appended to the end of that above paragraph:****
>
> ** **
>
> “If the server is able to provide information in response to a request, it
> MUST do so using an appropriate 2xx HTTP status code and including the
> requested representation in the body of the response.  A server MAY also
> return other HTTP status codes, as appropriate, such as a 401 to indicate
> that the client is not authorized to issue a request to the server.”****
>
> ** **
>
> Is this agreeable?  Please suggest wording changes, if not.****
>
> ** **
>
> Paul****
>
> ** **
>
> ** **
>
> _______________________________________________
> webfinger mailing list
> webfinger@ietf.org
> https://www.ietf.org/mailman/listinfo/webfinger
>
>