Re: [CDNi] I-D Action: draft-ietf-cdni-uri-signing-22.txt

Kevin Ma <kevin.j.ma.ietf@gmail.com> Wed, 10 November 2021 18:05 UTC

Return-Path: <kevin.j.ma.ietf@gmail.com>
X-Original-To: cdni@ietfa.amsl.com
Delivered-To: cdni@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 360093A122B for <cdni@ietfa.amsl.com>; Wed, 10 Nov 2021 10:05:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 4C8Kiyy6dTsS for <cdni@ietfa.amsl.com>; Wed, 10 Nov 2021 10:05:16 -0800 (PST)
Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (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 124F53A122E for <cdni@ietf.org>; Wed, 10 Nov 2021 10:05:16 -0800 (PST)
Received: by mail-pl1-x630.google.com with SMTP id k4so3652291plx.8 for <cdni@ietf.org>; Wed, 10 Nov 2021 10:05:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KsLPY/fhM9fEKl68B1DcchINGFmsqXyx7eiXSSnSuP4=; b=gpfdXnb1Kn1fsnfr2ahk90lNyQnKpKkzY+gXbkypOPR+qF04ynR2gqoo1KrlLJ+I1P Ija2tM9OxCW290DGUEGgaHW2gYdS9bODRsL/BVUacyY9xM5a/574xTkyQrPjRoYYceWa X791GAgEEY6+CBoB0iEZUw2nJok1Tin8XdQtUYUcU6dm2iBegc9Z3FhU8YHFNPAtuRIg ptB4+hnTmeTxCTtShaZX4MAcXinqfQjB/x2uKPHMD3wC23hS/XJRdYPNO6Sxde9q0OVb MjOp2NYHSbyeae/ynCaDLB0qgLN0E+fIv9AsliOAVN8jDTZ9P5clMOInRlRBR1jw7Zeq n5Vg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KsLPY/fhM9fEKl68B1DcchINGFmsqXyx7eiXSSnSuP4=; b=lqukefhVivvwD7HJ/h9viFZraI/IEe3U8Ej5sJw6fmPPz9RCl7jJ0xn/4t09pWRj13 CXL3oNAG9mojb93fqY0wvSCIbzKL10c2QvqXE+axnSEqfQKIczRTVF3Evbj5O2rf/uAB GxzGrxFn1vh79drifH1wCovakL2bZ1Y58dnwAm6VCQzUr6g/eY4UXuWg8RCh2J/dpJ0N XqEMKZ6x+R/jVrLDxb+CIUr03e6w44ySyacCeZb8HiXK9L7p3so0JsOTj5bnmSo/4eXf PiCdAiQlJGx+CuW5xMePx5MkcA9zIsnOM+WE06tq5lGPlTELyzkqx2akkzl14Ruqzb6N 2bFQ==
X-Gm-Message-State: AOAM532pCakA4A3i4FK7OzAPtuNJLIbj5E0sgzVX0exaanoLSwSYvCjS DFbWU9IPQM91xqPEFNT3wNh5l/y7yYA6JLNVlbI=
X-Google-Smtp-Source: ABdhPJxLeNy+5HTVDmhGzICognoHstIbOZAZ89Mt1sXyFyfQNlv21efAOZj0FengnHW2tcv5yG9kYyr/3bXiwv0XV5Q=
X-Received: by 2002:a17:902:7246:b0:138:a6ed:66cc with SMTP id c6-20020a170902724600b00138a6ed66ccmr704686pll.22.1636567514977; Wed, 10 Nov 2021 10:05:14 -0800 (PST)
MIME-Version: 1.0
References: <163520346940.2076.13669341839825557305@ietfa.amsl.com> <CAMrHYE0tCc8idgi0-Fp+bcykW==Sv-FkqsqNmRMS19jgESqj8g@mail.gmail.com> <CABF6JR1UvFsBTS4EpUnGJ=Frxdvb=PSDqu9BHY9R=RPH3ZPh=Q@mail.gmail.com> <CAJEGKNtajKcuPtHOSdGZXQzTsi4jM50+CDr3GM8vGH=p5Ehg3g@mail.gmail.com> <CABF6JR3R_eOXWJzE_45nkZY+VE6qy7urpr0AigjR1hZQOPBFyQ@mail.gmail.com> <CAJEGKNtUm8bC5R_0yFBM+45uk0yuyyAMRCAD8i1w2qGXy3anig@mail.gmail.com>
In-Reply-To: <CAJEGKNtUm8bC5R_0yFBM+45uk0yuyyAMRCAD8i1w2qGXy3anig@mail.gmail.com>
From: Kevin Ma <kevin.j.ma.ietf@gmail.com>
Date: Wed, 10 Nov 2021 13:05:03 -0500
Message-ID: <CAMrHYE1NsUEuMq1MirkypjToBAq-Ddq8-dUMrk73o9+p39G_=w@mail.gmail.com>
To: Chris Lemmons <alficles@gmail.com>
Cc: Phil Sorber <sorber@apache.org>, "<cdni@ietf.org>" <cdni@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000061996405d073111a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cdni/NHZgonvdrmHPQFI2Hx3FKl8EQDE>
Subject: Re: [CDNi] I-D Action: draft-ietf-cdni-uri-signing-22.txt
X-BeenThere: cdni@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This list is to discuss issues associated with the Interconnection of Content Delivery Networks \(CDNs\)" <cdni.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cdni>, <mailto:cdni-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cdni/>
List-Post: <mailto:cdni@ietf.org>
List-Help: <mailto:cdni-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cdni>, <mailto:cdni-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Nov 2021 18:05:21 -0000

Thanks for the text Chris,

  Is there a reason to only reference 3.2.8 and not 3.2.9 for form-style
parameters?

  There is some redundancy in the MUSTs.  What about:

The URI Signing Package will be found by parsing any path-style parameters
[RFC6570] and form-style parameters [RFC6570] looking for a key name
matching the URI Signing Package Attribute.  Both path-style parameters
(generated in the form indicated by Section 3.2.7 of [RFC6570]) and
form-style parameters (generated in the form indicated by Sections 3.2.8
and 3.2.9 of [RFC6570]) MUST be supported.  The first matching parameter
SHOULD be taken to provide the signed JWT, though providing more than one
matching key is undefined behavior.

thanx!

--  Kevin J. Ma

On Wed, Nov 10, 2021 at 2:38 AM Chris Lemmons <alficles@gmail.com> wrote:

> To save a click, here's the text:
>
> The URI Signing Package will be found by parsing any path-style parameters
> and
> form-style parameters looking for a key name matching the URI Signing
> Package Attribute.
> Both parameter styles MUST be supported to allow flexibility of operation.
> The first matching parameter SHOULD be taken to provide the signed
> JWT, though providing
> more than one matching key is undefined behavior. Path-style
> parameters generated in the
> form indicated by Section 3.2.7 of [RFC6570] MUST be supported.
> Form-style parameters generated in the form indicated by Section 3.2.8
> of [RFC6570]
> MUST be supported.
>
> The last two sentences are what I'm proposing we add. This was the
> simplest variation I could come up with that doesn't add a whole bunch
> of construction rules to this document, but provides at least one
> clear MUST-accept implementation for each style that allows a dCDN to
> be certain that it knows how to find the URIs.
>
> On Tue, Nov 9, 2021 at 8:46 AM Phil Sorber <sorber@apache.org> wrote:
> >
> > Thanks, I merged two of these, but I think we should have a little more
> time to think on #72 before we merge it, just because it's been so debated
> and I don't want to keep changing it.
> >
> > On Tue, Nov 9, 2021 at 1:01 AM Chris Lemmons <alficles@gmail.com> wrote:
> >>
> >> Fixes for nits, regrettably also including the same ones you just
> >> fixed in 69: https://github.com/PSUdaemon/URISigningSpec/pull/70
> >>
> >> Updates that I _think_ fix the weird figure text? I'm not certain this
> >> is the best way to do it, but the existing way looks odd. Look at the
> >> diff linked earlier and check out the figure titles.
> >> https://github.com/PSUdaemon/URISigningSpec/pull/71
> >>
> >> The much-belated text I promised a while back on 6570:
> >> https://github.com/PSUdaemon/URISigningSpec/pull/72
> >>
> >> On Mon, Nov 8, 2021 at 7:55 PM Phil Sorber <sorber@apache.org> wrote:
> >> >
> >> > https://github.com/PSUdaemon/URISigningSpec/pull/69
> >> >
> >> > On Sat, Nov 6, 2021 at 10:02 PM Kevin Ma <kevin.j.ma.ietf@gmail.com>
> wrote:
> >> >>
> >> >> Hi Phil,
> >> >>
> >> >>   Thanks for getting the updated draft out.  A couple typos/nits:
> >> >>
> >> >>   - section 2.1.10: "for example in" -> "for example, in"
> >> >>   - section 3.2.1: "MAY bt" -> "MAY be"
> >> >>   - section 4: "after and access" -> "after an access"
> >> >>   - section 4.4: remove "against the key issuer with"
> >> >>   - section 5.2: "Sigbned" -> "Signed"
> >> >>
> >> >> --  Kevin J. Ma
> >> >>
> >> >>
> >> >> On Mon, Oct 25, 2021 at 7:12 PM <internet-drafts@ietf.org> wrote:
> >> >>>
> >> >>>
> >> >>> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> >> >>> This draft is a work item of the Content Delivery Networks
> Interconnection WG of the IETF.
> >> >>>
> >> >>>         Title           : URI Signing for Content Delivery Network
> Interconnection (CDNI)
> >> >>>         Authors         : Ray van Brandenburg
> >> >>>                           Kent Leung
> >> >>>                           Phil Sorber
> >> >>>         Filename        : draft-ietf-cdni-uri-signing-22.txt
> >> >>>         Pages           : 42
> >> >>>         Date            : 2021-10-25
> >> >>>
> >> >>> Abstract:
> >> >>>    This document describes how the concept of URI Signing supports
> the
> >> >>>    content access control requirements of Content Delivery Network
> >> >>>    Interconnection (CDNI) and proposes a URI Signing method as a
> JSON
> >> >>>    Web Token (JWT) profile.
> >> >>>
> >> >>>    The proposed URI Signing method specifies the information needed
> to
> >> >>>    be included in the URI to transmit the signed JWT, as well as the
> >> >>>    claims needed by the signed JWT to authorize a User Agent (UA).
> The
> >> >>>    mechanism described can be used both in CDNI and single Content
> >> >>>    Delivery Network (CDN) scenarios.
> >> >>>
> >> >>>
> >> >>> The IETF datatracker status page for this draft is:
> >> >>> https://datatracker.ietf.org/doc/draft-ietf-cdni-uri-signing/
> >> >>>
> >> >>> There is also an htmlized version available at:
> >> >>>
> https://datatracker.ietf.org/doc/html/draft-ietf-cdni-uri-signing-22
> >> >>>
> >> >>> A diff from the previous version is available at:
> >> >>> https://www.ietf.org/rfcdiff?url2=draft-ietf-cdni-uri-signing-22
> >> >>>
> >> >>>
> >> >>> Internet-Drafts are also available by anonymous FTP at:
> >> >>> ftp://ftp.ietf.org/internet-drafts/
> >> >>>
> >> >>>
> >> >>> _______________________________________________
> >> >>> CDNi mailing list
> >> >>> CDNi@ietf.org
> >> >>> https://www.ietf.org/mailman/listinfo/cdni
> >> >
> >> > _______________________________________________
> >> > CDNi mailing list
> >> > CDNi@ietf.org
> >> > https://www.ietf.org/mailman/listinfo/cdni
>