Re: [OAUTH-WG] Adam Roach's Discuss on draft-ietf-oauth-jwt-bcp-06: (with DISCUSS and COMMENT)

Roman Danyliw <rdd@cert.org> Tue, 25 June 2019 13:39 UTC

Return-Path: <rdd@cert.org>
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 A5E4912003F; Tue, 25 Jun 2019 06:39:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 (1024-bit key) header.d=cert.org
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 03ii-UQ0o985; Tue, 25 Jun 2019 06:39:05 -0700 (PDT)
Received: from veto.sei.cmu.edu (veto.sei.cmu.edu [147.72.252.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6AF0312008F; Tue, 25 Jun 2019 06:39:05 -0700 (PDT)
Received: from delp.sei.cmu.edu (delp.sei.cmu.edu [10.64.21.31]) by veto.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id x5PDcxaY036555; Tue, 25 Jun 2019 09:39:00 -0400
DKIM-Filter: OpenDKIM Filter v2.11.0 veto.sei.cmu.edu x5PDcxaY036555
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cert.org; s=yc2bmwvrj62m; t=1561469940; bh=XTS/ABMLA8RnguzQ6193i/OV/QqyeP7qthmlT5cbL5A=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=OF7SdWg3f+fdZw3bXNhBPHv78LS61Cs0Zsx0pmCboUd5/R3Pgh8Qoq5UrUbc9BL3h ITYdGEE7l9VWc2tBuwH/1osOaCYYVcs7eIZ5mIGhA3foAfQ3L5dE3jPUC/HRBksXB5 1HA1dOGbEb4jqgxBlJE4Xgff1VC/5Rlxp9+pHTKQ=
Received: from CASCADE.ad.sei.cmu.edu (cascade.ad.sei.cmu.edu [10.64.28.248]) by delp.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id x5PDctfj013447; Tue, 25 Jun 2019 09:38:55 -0400
Received: from MARATHON.ad.sei.cmu.edu ([10.64.28.250]) by CASCADE.ad.sei.cmu.edu ([10.64.28.248]) with mapi id 14.03.0439.000; Tue, 25 Jun 2019 09:38:55 -0400
From: Roman Danyliw <rdd@cert.org>
To: Adam Roach <adam@nostrum.com>, The IESG <iesg@ietf.org>
CC: "draft-ietf-oauth-jwt-bcp@ietf.org" <draft-ietf-oauth-jwt-bcp@ietf.org>, "hannes.tschofenig@arm.com" <hannes.tschofenig@arm.com>, "oauth-chairs@ietf.org" <oauth-chairs@ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Thread-Topic: Adam Roach's Discuss on draft-ietf-oauth-jwt-bcp-06: (with DISCUSS and COMMENT)
Thread-Index: AQHVKxOLsQtgotl85EeK8iOCnVL3HKasWjKw
Date: Tue, 25 Jun 2019 13:38:54 +0000
Message-ID: <359EC4B99E040048A7131E0F4E113AFC01B33A4F04@marathon>
References: <156143908719.24005.13391480103830414058.idtracker@ietfa.amsl.com>
In-Reply-To: <156143908719.24005.13391480103830414058.idtracker@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.64.22.6]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/L-dpMIA5-0Pkj9766AWm_UHGrec>
Subject: Re: [OAUTH-WG] Adam Roach's Discuss on draft-ietf-oauth-jwt-bcp-06: (with DISCUSS and COMMENT)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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, 25 Jun 2019 13:39:08 -0000


> -----Original Message-----
> From: iesg [mailto:iesg-bounces@ietf.org] On Behalf Of Adam Roach via
> Datatracker
> Sent: Tuesday, June 25, 2019 1:05 AM
> To: The IESG <iesg@ietf.org>
> Cc: draft-ietf-oauth-jwt-bcp@ietf.org; hannes.tschofenig@arm.com; oauth-
> chairs@ietf.org; oauth@ietf.org
> Subject: Adam Roach's Discuss on draft-ietf-oauth-jwt-bcp-06: (with DISCUSS
> and COMMENT)
> 
> Adam Roach has entered the following ballot position for
> draft-ietf-oauth-jwt-bcp-06: Discuss
> 
> When responding, please keep the subject line intact and reply to all email
> addresses included in the To and CC lines. (Feel free to cut this introductory
> paragraph, however.)
> 
> 
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-oauth-jwt-bcp/
> 
> 
> 
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> Thanks for everyone who worked to get this document out the door. I found
> it to be well-organized and easy to read.
> 
> ---------------------------------------------------------------------------
> 
> This is a process discuss for Roman to handle, and I plan to clear it during the
> IESG formal telechat.
> 
> This document is intended for BCP status. It has a normative reference to
> RFC 8017, which is an informational document. Checking the last call text
> (https://datatracker.ietf.org/doc/draft-ietf-oauth-jwt-
> bcp/edit/lastcalltext/),
> there is no mention of RFC 8017, nor does RFC 8017 appear in the downref
> registry (https://datatracker.ietf.org/doc/downref/).
> 
> Thanks to RFC 8067, we are not required to run this document through IETF
> LC again (and, given that RFC 8017's predecessor, RFC 3447, is in the registry,
> we probably don't want to). However, we'll need to minute that the point
> was raised and addressed. There is also at least one additional requirement
> imposed by section 2 of RFC 8067 that needs to be satisfied (see the last
> sentence in that section).

Good catch.  This is my fault.  The caution of the downref was in the shepherd write-up (thanks Hannes).

I share your view that since RFC8017 (not in downref registry but referenced here) obsoletes RFC3447 (in the downref registry), we don't need to re-run the LC (per Section 2 of RFC8067).  Is there concern with this course of action?

Roman


> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> §3.2:
> 
> >  That said, if a JWT is cryptographically protected by a transport
> > layer, such as TLS using cryptographically current algorithms, there
> > may be no need to apply another layer of cryptographic protections to
> > the JWT.
> 
> It may be helpful to distinguish between end-to-end TLS encryption (such as
> that seen in HTTPS, even in the presence of proxies) and hop-by-hop TLS
> encryption (such as that seen in SIPS when proxies are present). In the latter
> case, intermediaries may perform attacks that would otherwise only be
> possible to mount by the endpoints.
> 
> My concrete suggestion is to modify the above text to read "...protected
> end-to-end by a transport layer, such as..."
> 
> ---------------------------------------------------------------------------
> 
> §3.2:
> 
> >  -  Avoid all RSA-PKCS1 v1.5 [RFC2313] encryption algorithms,
> >     preferring RSA-OAEP ([RFC8017], Sec. 7.1).
> 
> It's not clear to me what this recommendation intends to say regarding the
> algorithms in RFC 2437 and RFC 3447. One might infer that they're deprecated
> as well. If this is the intention, please be explicit.
>