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

Phil Sorber <sorber@apache.org> Wed, 26 October 2016 16:10 UTC

Return-Path: <sorber@apache.org>
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 8EE35129458 for <cdni@ietfa.amsl.com>; Wed, 26 Oct 2016 09:10:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.85
X-Spam-Level:
X-Spam-Status: No, score=-6.85 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.431] autolearn=ham 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 0GM63GHcU7YQ for <cdni@ietfa.amsl.com>; Wed, 26 Oct 2016 09:10:07 -0700 (PDT)
Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by ietfa.amsl.com (Postfix) with SMTP id 0B03012968E for <cdni@ietf.org>; Wed, 26 Oct 2016 09:10:02 -0700 (PDT)
Received: (qmail 174 invoked by uid 99); 26 Oct 2016 16:10:02 -0000
Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2016 16:10:02 +0000
Received: from mail-yw0-f180.google.com (mail-yw0-f180.google.com [209.85.161.180]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id DE9DB1A03EB for <cdni@ietf.org>; Wed, 26 Oct 2016 16:10:01 +0000 (UTC)
Received: by mail-yw0-f180.google.com with SMTP id h14so10019019ywa.2 for <cdni@ietf.org>; Wed, 26 Oct 2016 09:10:01 -0700 (PDT)
X-Gm-Message-State: ABUngvfasa5SHAtFexfhMyHXyMAYssYW0YYLzEm33IKlGn2yzmN4ygdWwN3HiKQmbRJoqbPhW3ozlQCRubwmRg==
X-Received: by 10.129.159.194 with SMTP id w185mr2412010ywg.179.1477498200927; Wed, 26 Oct 2016 09:10:00 -0700 (PDT)
MIME-Version: 1.0
References: <147556991928.12899.3720041473146885160.idtracker@ietfa.amsl.com> <E30D6B39-70EC-4345-AF5E-1698D8BD4FAD@tno.nl> <CABF6JR0Ak8GXicNJpf6LGyLAmZhW4zT2B3OaP_ik6nXp5dB-rQ@mail.gmail.com> <A419F67F880AB2468214E154CB8A556206F6A925@eusaamb103.ericsson.se>
In-Reply-To: <A419F67F880AB2468214E154CB8A556206F6A925@eusaamb103.ericsson.se>
From: Phil Sorber <sorber@apache.org>
Date: Wed, 26 Oct 2016 16:09:50 +0000
X-Gmail-Original-Message-ID: <CABF6JR1zhKmgddQ8euhDTBgM9HTAd-QJqx712wOR3vPDMyUc_A@mail.gmail.com>
Message-ID: <CABF6JR1zhKmgddQ8euhDTBgM9HTAd-QJqx712wOR3vPDMyUc_A@mail.gmail.com>
To: Kevin Ma J <kevin.j.ma@ericsson.com>, "Brandenburg, R. (Ray) van" <ray.vanbrandenburg@tno.nl>, "cdni@ietf.org" <cdni@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0c01266c371c053fc6db19"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cdni/j7BroOQ_cY2lbLKORO6zKPxAj44>
Subject: Re: [CDNi] I-D Action: draft-ietf-cdni-uri-signing-10.txt
X-BeenThere: cdni@ietf.org
X-Mailman-Version: 2.1.17
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, 26 Oct 2016 16:10:11 -0000

I added your text changes to the PR.

As far as ignoring extra claims, it was for third parties. I am rethinking
this though. Leif expressed some concerns about processing performance if
we allowed free form content. It seems like ignoring unknown claims is of
marginal value, but it had several downsides.

On Sun, Oct 23, 2016 at 7:50 PM Kevin Ma J <kevin.j.ma@ericsson.com> wrote:

> Hi Phil,
>
>
>
>   (as an individual) Wrt unknown claims and changing the MUST reject to a
> SHOULD ignore, is there a specific use case you are considering?
>
>
>
>   Is this to account for changes to the underlying JWT/JWS/JWE specs,
> algorithm support, etc.?  If so, is that something we need to handle
> explicitly?
>
>
>
>   Is this to allow third-parties to add proprietary claims but still be
> RFC compliant?  This seems like a dangerous feature.  If someone relies on
> that proprietary claim, but some intermediate CDN doesn't understand it,
> then the security or policy is lost.  If this is the intent, it is probably
> at least worth an explicit acknowledgement in the text (and possibly a
> special sandbox in the token itself), as well as a caveat in the security
> considerations?
>
>
>
> thanx.
>
>
>
> --  Kevin J. Ma
>
>
>
> minor comments:
>
>
>
> OLD:
>
>   A CDN MUST be able to parse and process all of the claims
>
>   listed below.  If the signed JWT contains any claims which the
>
>   CDN does not understand (i.e., is unable to parse and
>
>   process), the CDN SHOULD ignore them.
>
>
>
> NEW:
>
>   A CDN MUST be able to parse and process all of the claims
>
>   listed below.  If the signed JWT contains any other claims which the
>
>   CDN does not understand (i.e., is unable to parse and
>
>   process), the CDN SHOULD ignore them.
>
>
>
> OLD:
>
>   The type is JSON integer and the value for this version of
>
>   the specification is "1".
>
>
>
> NEW:
>
>   The type is JSON integer and the value MUST be set to "1",
>
>   for this version of the specification.
>
>
>
>
>
> *From:* CDNi [mailto:cdni-bounces@ietf.org] *On Behalf Of *Phil Sorber
> *Sent:* Tuesday, October 18, 2016 11:46 AM
> *To:* Brandenburg, R. (Ray) van <ray.vanbrandenburg@tno.nl>; cdni@ietf.org
> *Subject:* Re: [CDNi] I-D Action: draft-ietf-cdni-uri-signing-10.txt
>
>
>
> Seeing as there hasn't been any negative feedback on the new direction (or
> any feedback at all) I'd like to point out that we have this particular
> draft in revision control in github. I've also submitted a pull request if
> anyone would like to review it.
>
>
>
> https://github.com/rayvbr/URISigningSpec/pull/5
>
>
>
> This adds a version claim so that we can upgrade more easily and also
> ignore unknown claims. We originally had a version field to begin with but
> there was nothing in JWT that was similar so it was left out of the first
> JWT revision. We (Matt Miller and I) also consulted with a JWT expert on
> the name used and how to get it registered properly.
>
>
>
> Thanks.
>
>
>
> On Tue, Oct 4, 2016 at 2:34 AM Brandenburg, R. (Ray) van <
> ray.vanbrandenburg@tno.nl> wrote:
>
> Hi all,
>
> As you can see, we’ve just uploaded a new version of the URI Signing
> document. This is a major rewrite that incorporates the decision we made in
> Berlin to base the URI Signing algorithm on JSON Web Token.
>
> There are still a few open issues, but we wanted to get the groups opinion
> on whether this is going in the right direction.
>
> Best regards,
>
> Ray
>
>
>
> On 04/10/2016, 10:31, "CDNi on behalf of internet-drafts@ietf.org" <
> cdni-bounces@ietf.org on behalf of 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 of the IETF.
>
>             Title           : URI Signing for CDN Interconnection (CDNI)
>             Authors         : Ray van Brandenburg
>                               Kent Leung
>                               Phil Sorber
>                               Matthew Miller
>         Filename        : draft-ietf-cdni-uri-signing-10.txt
>         Pages           : 29
>         Date            : 2016-10-04
>
>     Abstract:
>        This document describes how the concept of URI signing supports the
>        content access control requirements of CDNI and proposes a URI
>        signing method as a JSON Web Token (JWT) [RFC7519] 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 UA.  The mechanism
>        described can be used both in CDNI and single CDN scenarios.
>
>
>     The IETF datatracker status page for this draft is:
>     https://datatracker.ietf.org/doc/draft-ietf-cdni-uri-signing/
>
>     There's also a htmlized version available at:
>     https://tools.ietf.org/html/draft-ietf-cdni-uri-signing-10
>
>     A diff from the previous version is available at:
>     https://www.ietf.org/rfcdiff?url2=draft-ietf-cdni-uri-signing-10
>
>
>     Please note that it may take a couple of minutes from the time of
> submission
>     until the htmlized version and diff are available at tools.ietf.org.
>
>     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
>
>
> This message may contain information that is not intended for you. If you
> are not the addressee or if this message was sent to you by mistake, you
> are requested to inform the sender and delete the message. TNO accepts no
> liability for the content of this e-mail, for the manner in which you use
> it and for damage of any kind resulting from the risks inherent to the
> electronic transmission of messages.
> _______________________________________________
> CDNi mailing list
> CDNi@ietf.org
> https://www.ietf.org/mailman/listinfo/cdni
>
>