Re: [GNAP] Resource Servers draft

Adrian Gropper <agropper@healthurl.com> Sun, 09 May 2021 18:53 UTC

Return-Path: <agropper@gmail.com>
X-Original-To: txauth@ietfa.amsl.com
Delivered-To: txauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B62E03A1ADB for <txauth@ietfa.amsl.com>; Sun, 9 May 2021 11:53:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.499
X-Spam-Level:
X-Spam-Status: No, score=0.499 tagged_above=-999 required=5 tests=[FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4u7jNN4HwoT2 for <txauth@ietfa.amsl.com>; Sun, 9 May 2021 11:53:42 -0700 (PDT)
Received: from mail-vs1-f43.google.com (mail-vs1-f43.google.com [209.85.217.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6BB043A1AD7 for <txauth@ietf.org>; Sun, 9 May 2021 11:53:42 -0700 (PDT)
Received: by mail-vs1-f43.google.com with SMTP id 66so7308102vsk.9 for <txauth@ietf.org>; Sun, 09 May 2021 11:53:42 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G7LRWTiLHCPWzBPK06ymkvmlTbnBErMnqSvCOKDLCqw=; b=j4x8/UNIQYeIdFzwvLkWE9XAqR/COaA7oG/YsxntNHCJdV/hm1PSDYFvv1EiOiHU1H LRTNP3PVgzJZv1K9VtZAT0lkd7hypUHaEQeFnhCzvy6GrkZtNb2kxy+AR4NzBc4rZpi7 hH9X1NsjRk/ZPbc7ZonTFOyHHCKhb2flfk7wmHmoyMwJK87L0tbclzHCcRkNxOg+U4Xm OgFdVsHezCYdcUbAviBUhi9xc3fWB8CR7hq/pvt1KX+QBkFqfFxsFKuDtAUmcoCbPwDi 6kzrbfuXgb6csJXfLRxWmb+OvhkObZ+fgKQVR8KTF8lD3yBcJUYdFVGqK7QP2E1iKd4+ adrw==
X-Gm-Message-State: AOAM5320VaXbaodG8uEZ3Ib36meE3p+A1ibKqmLQmvi1FvWNkhb+H6Zc LBV3cS4pr8FGRl6d5NbmywMxbjixhK1KBn0nG9s=
X-Google-Smtp-Source: ABdhPJxbDemv5NxI6pgjoV13o4ZiGBJR/Ab+dvdlh+L76X3zkOfedwPkIMzWNB3Blx7haSNUV8BCLOisCEzlQMilBJk=
X-Received: by 2002:a67:c283:: with SMTP id k3mr17680319vsj.12.1620586420640; Sun, 09 May 2021 11:53:40 -0700 (PDT)
MIME-Version: 1.0
References: <8517AD16-92CD-7743-92CC-D8ABC4DAAEC9@hxcore.ol> <CAM8feuRa8wJdwSpz6JhUfdmPyoafj0N7aXxQWtPuAna2hfHHOg@mail.gmail.com>
In-Reply-To: <CAM8feuRa8wJdwSpz6JhUfdmPyoafj0N7aXxQWtPuAna2hfHHOg@mail.gmail.com>
From: Adrian Gropper <agropper@healthurl.com>
Date: Sun, 09 May 2021 14:53:29 -0400
Message-ID: <CANYRo8gM6fk4VSn=_vC16TcH+GPbs6gLUGBipfcab5oOXzdCdA@mail.gmail.com>
To: Fabien Imbault <fabien.imbault@gmail.com>
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, GNAP Mailing List <txauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ee1ed605c1ea2d05"
Archived-At: <https://mailarchive.ietf.org/arch/msg/txauth/ixHJpfSc6NrriJyUblPsOqlCUeQ>
Subject: Re: [GNAP] Resource Servers draft
X-BeenThere: txauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: GNAP <txauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/txauth>, <mailto:txauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/txauth/>
List-Post: <mailto:txauth@ietf.org>
List-Help: <mailto:txauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/txauth>, <mailto:txauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 09 May 2021 18:53:47 -0000

macaroons, biscuits, and ZCAP-LD

- Adrian

On Sun, May 9, 2021 at 2:34 PM Fabien Imbault <fabien.imbault@gmail.com>
wrote:

> Hi Yaron,
>
> A comment on access token formats: I don't think we should define our own
> format, but we can reference other documents such as
> https://datatracker.ietf.org/doc/html/draft-bertocci-oauth-access-token-jwt
> and the references to macaroons, biscuits.
>
> The rest I believe makes good issues, most of which should be quick to fix.
>
> Cheers
> Fabien
>
> On Sun, May 9, 2021 at 4:00 PM Yaron Sheffer <yaronf.ietf@gmail.com>
> wrote:
>
>> Hi Editors,
>>
>>
>>
>> Here’s a bunch of comments to the latest version (Editor’s Draft as of
>> today). Please respond with what is easy to fix, and what I should open an
>> issue for.
>>
>>
>>
>> Thanks,
>>
>>                 Yaron
>>
>>
>>
>>    - Abstract: better use more concrete terms than "piece of software".
>>    Even if this creates a dependency on the Terminology section.
>>    - Typo: by (AS).
>>    - "client-facing discovery mechanism" - I'm not seeing any
>>    client-facing protocol in the document (and it wouldn't belong here anyway).
>>    - Terminology: include a reference to the Terminology section of the
>>    Core doc.
>>    - Access Token Formats: IMO we should specify a minimal, generic
>>    format in an appendix, as a non-normative starting point for developers. It
>>    would be better than having each implementation make its own mistakes.
>>    - Macaroons, biscuits, other baked goods: add a reference.
>>    - AS Discovery: why do we need a "well known" URI? Either we use GNAP
>>    Core to pass the AS address to the RS, and then we could pass a full URI,
>>    or we don't, and then how does the RS even know how to find the AS?
>>    - Protecting RS requests to the AS: the RS, by definition, owns
>>    resources. This means that it needs to have a persistent identity, in
>>    addition to the (ephemeral) keys being presented. Otherwise (especially
>>    with TOFU registration) we could easily have Resource Servers squatting on
>>    other people’s resources. It is very hard to manage the mapping of RS to
>>    resources if we don't have such a persistent identity.
>>    - Token Introspection: it is not clear to what depth we are defining
>>    the API: is it only the existence of the "introspect" endpoint? Or do we
>>    define a minimal set of standard attributes that need to be returned? The
>>    API would not be useful for interoperability unless we define some of the
>>    returned attributes. At the very least: "active".
>>    - "client instance's request" - should be "Resource Server's request".
>>    - And we should add: the AS MUST validate that the token is
>>    appropriate for the RS that presented it, and return an error otherwise.
>>    - Typo: internal link to "token format".
>>    - IANA Considerations: the "well known" URL should be registered
>>    (BTW, it's a well-known *URI*). Also, please list the registries that we
>>    need to establish.
>>
>> --
>> TXAuth mailing list
>> TXAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/txauth
>>
> --
> TXAuth mailing list
> TXAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/txauth
>