Re: [OAUTH-WG] Robert Wilton's No Objection on draft-ietf-oauth-par-08: (with COMMENT)

"Rob Wilton (rwilton)" <rwilton@cisco.com> Thu, 08 July 2021 11:03 UTC

Return-Path: <rwilton@cisco.com>
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 B630A3A082C; Thu, 8 Jul 2021 04:03:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.895
X-Spam-Level:
X-Spam-Status: No, score=-11.895 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=Sbkz4NZf; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=b8dKtZoe
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 gtM8TpDQHOnT; Thu, 8 Jul 2021 04:02:57 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 928953A0820; Thu, 8 Jul 2021 04:02:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=34710; q=dns/txt; s=iport; t=1625742178; x=1626951778; h=from:to:cc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aScW6B2TRSVbHMX6UI17gCKYbUki95qIfII9Frd1CXaZ4g6fatK6xJW+whFRCDX4GU/f+rqGj2iq9NFmAYQ==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ByBgAL2uZg/5BdJa1QChwBAQEBAQEHAQESAQEEBAEBghmBIzAjBigHd1o3MYRIg0gDhTmIXAOPZIpDgUKBEQNUCwEBAQ0BATUMBAEBhFMCF4JfAiU4EwIEAQEBEgEBBQEBAQIBBgRxE4VoDYZFAQEBBBIRChMBASkOAQ8CAQgOAwQBASEHAwICAjAUCQgCBA4FCBcDglCBflcDLwEOmwkBgToCih96gTKBAYIHAQEGBASBSUGDJhiCMgMGgTqCe4QMAQGFZnsnHIFJRCZvQ4IQUj6CYgIDgR8JAQcFBgEJGisJgmE2gi6CLGtEIwMBAxQTLFgnBAIvGRIGAxoRHwuRRBENgnxGiCyDZYlMkhEKgyKKKIc4hW2BAYV1EoNjQYsMlw6iKZMkHSqEZgIEAgQFAg4BAQaCPiQrPnBwFTEPex2BIylQGQ6OHwwWgQIBAoJJhRSFSnM4AgYBCQEBAwmIC4FoXgEB
X-IronPort-AV: E=Sophos;i="5.84,222,1620691200"; d="scan'208,217";a="639296777"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 08 Jul 2021 11:02:56 +0000
Received: from mail.cisco.com (xbe-rcd-002.cisco.com [173.37.102.17]) by rcdn-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id 168B2tON002685 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Thu, 8 Jul 2021 11:02:56 GMT
Received: from xfe-aln-001.cisco.com (173.37.135.121) by xbe-rcd-002.cisco.com (173.37.102.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 8 Jul 2021 06:02:55 -0500
Received: from xfe-aln-001.cisco.com (173.37.135.121) by xfe-aln-001.cisco.com (173.37.135.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 8 Jul 2021 06:02:55 -0500
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (173.37.151.57) by xfe-aln-001.cisco.com (173.37.135.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15 via Frontend Transport; Thu, 8 Jul 2021 06:02:54 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WCj6Isoc7fyM7G54QPJ6Lz1krQX/s76YX/yTwhorokGqAJRqPJSqtaBQjQxqnoJFh6aFFOuCfUT0lA4MNQQLmxvthS45hJF7aX+PG2ejHdsmU4x5cO0xIcN6XQpPhxuQFMM+UGpYF49+AfNBbXyBEzZ2I85VQxAqeUUO32ZA1d0m8KnpYg+qR/Ti3Ed+mKm9L0Cnc0oYk97PBZb0BQmpkxXE3h+PBjUpsm25/WOZAGuLoO9WKOjsSfTHF8AqFYskNlYD2S7p93+Qdd7e84H5epq2X1Q/OsaA1JEeSpyhA9ovRsq/ym5RGOnKjuicaRl6yHv9DakIrlfhJEguxWOOBQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=neJot8/jkDeDCUy1JBiiFbXe0FM3IAE4SmM2tpW3z5w=; b=VCLHoAkZy//X4IOCqx1eI5+4don6Sd7S6rsxIVMjm7KC6d5X/GIXHcDn9JjZZj8NQF13C+t1F2ysD/OP0Z6hml5J64llZmUxe58d2RxUtBspOyRGVKpqjgAVZUUnSzzbjsrXYAbF9ZByduYiUg3E7v/rSuoMVGNUsjIkkcu4YKW6IersH4pBdVj4B3sFibMNrcdwZouBiMRCC2F035Tao6U9EbtqVvMfUlsV4syZDK6PzXCSUwILcbEcxONvhGlU+DL0ukTn7/liBnPbO4OpNhw+m7Wf/lFC8iT2JLVC7Iw0osHLg0bhqunkzRD+eNa+Gku+UyWsyKWbYQhe4A9gpA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=neJot8/jkDeDCUy1JBiiFbXe0FM3IAE4SmM2tpW3z5w=; b=b8dKtZoev1J/dkdf9q/KdmqKcjxmSMmaZNdj03i+j8vn+TjJY6gsWOm889ubRGRnl6N4Hg6ENUjjkqTVpCpi9tww7XFyaSgeO8jae3KOU8FN1T6WLEoA5s9NCAYRRweMT9a0vlRww6IjPjJg838kpCb2WWW0vwafCijp2Ph1Uus=
Received: from DM4PR11MB5438.namprd11.prod.outlook.com (2603:10b6:5:399::21) by DM6PR11MB3274.namprd11.prod.outlook.com (2603:10b6:5:b::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.22; Thu, 8 Jul 2021 11:02:53 +0000
Received: from DM4PR11MB5438.namprd11.prod.outlook.com ([fe80::a85a:cb8b:2d73:5e12]) by DM4PR11MB5438.namprd11.prod.outlook.com ([fe80::a85a:cb8b:2d73:5e12%6]) with mapi id 15.20.4308.021; Thu, 8 Jul 2021 11:02:53 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Brian Campbell <bcampbell@pingidentity.com>
CC: The IESG <iesg@ietf.org>, "draft-ietf-oauth-par@ietf.org" <draft-ietf-oauth-par@ietf.org>, "oauth-chairs@ietf.org" <oauth-chairs@ietf.org>, oauth <oauth@ietf.org>, Hannes Tschofenig <hannes.tschofenig@arm.com>
Thread-Topic: Robert Wilton's No Objection on draft-ietf-oauth-par-08: (with COMMENT)
Thread-Index: AQHXbMR39Yh4VElZOU+lbg10KM0zJKstD5eAgAC8KfCACL0kAIACYW8w
Date: Thu, 08 Jul 2021 11:02:53 +0000
Message-ID: <DM4PR11MB543841212CC57FA9B5B23B81B5199@DM4PR11MB5438.namprd11.prod.outlook.com>
References: <162495689162.17201.16673826726221874767@ietfa.amsl.com> <CA+k3eCQcouZOVbeN96pbKny5MBBf=463g4nrDyPFzWx2SmGN_w@mail.gmail.com> <DM4PR11MB5438A0C76AC3DEC2A194CE63B5009@DM4PR11MB5438.namprd11.prod.outlook.com> <CA+k3eCS6=EzJ-_L_h73yog3=eAFz9D7u1MXukTysQVkBEbOGpg@mail.gmail.com>
In-Reply-To: <CA+k3eCS6=EzJ-_L_h73yog3=eAFz9D7u1MXukTysQVkBEbOGpg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: pingidentity.com; dkim=none (message not signed) header.d=none; pingidentity.com; dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 012107cd-3a52-4a2c-b1d0-08d941ffef3c
x-ms-traffictypediagnostic: DM6PR11MB3274:
x-microsoft-antispam-prvs: <DM6PR11MB32744E63F54AC34AD31B80BBB5199@DM6PR11MB3274.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6790;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: aY8dZn1Ryr+GklwtFcHn8PHGXxPDVWubfknZBKskxg8YLfA/rrfbgFRHrR24Uq6m8qdalHsftNygLC8qunNOLt6x2MMIIn36K/ZCUX1EeGj3cXnfdZ0VpAKZFuEWaVQnuJawbMr968gzT9gY/5ry0fmYv5DIJMDSyHyKgD5L9h0Q6nF7FKvaAVOYqJ18kBrVmf15wn2zLwITeM0nGMZ9BFLaIfxewdwntJsRxkjQoxcOsLTCG/ErZA8oty1CUaBxBWw++mfQQY/XoFNPhvaC5SP0ui1n2uyX6IMpVWtNRCnbgewaeE0DQFJ/kN6rDREY3Cv39xJsmu0zL54t786EwCoqEJioQNQNKa2CR1Jo3hcI2gL696mS9PPs8d/78JHdGxdvLHSRdt+rYrRPyG3D1zSooyVGq3PADYllRY2CpPw+Y5iEPPTL62185m5l6uF3K6haXA0EGSDQsTE++KMUCOjlEjl1UnpQ3xvXbiStzMhoIHykqqO2Paw33RkTloVHHYIH6SSV2jqJfDmWxQD7NCOQbzMiPZPz3uP3ZWtf1zwW58Lk0YGDgsY8aokYV7Kx1yIkERwyK6dl8XFCln4W4o6P0sUByU+lNdQSIcpw3Pp4gXPWd7QfKLhqwTHb+BCufeHHNWCl1jTGWbgEXNDs7p3iLUW95bVF8RpEeGoKCFTBnctzAiAcPHVUJ6dZc6M9nEGPV/oCFUx1vUBc8hn+TNnjNaZ9kE0qQwpMfXmezok=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5438.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(376002)(136003)(346002)(366004)(396003)(6506007)(64756008)(66556008)(38100700002)(76116006)(66946007)(166002)(33656002)(26005)(966005)(186003)(71200400001)(478600001)(53546011)(7696005)(66446008)(66476007)(54906003)(8936002)(316002)(4326008)(2906002)(5660300002)(6916009)(86362001)(122000001)(52536014)(8676002)(9326002)(55016002)(83380400001)(9686003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: dmr2AviOb8cs5KSlt9kAX2jI4O3hpG2c9VUO36Ho5HREdu0fWm679ie2U+eCi9IB1u+pdq2+XUj5MySOvlMHZ3t+s/sMARoUq5WJG9ZI+v7/n1iBxa75KlHp7yDQpRQGdcKQwMUPzeti0uVZ1fN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JmjVNvXWCN5QJh73fCmhXWwCtAHYwrTbN/YYm1uKocLEskBeR/dQWlKxiO9L50yApWsuQHF/xVaiyrG5cdrbVrhOGV1Avhw4P
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DM4PR11MB543841212CC57FA9B5B23B81B5199DM4PR11MB5438namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5438.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 012107cd-3a52-4a2c-b1d0-08d941ffef3c
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2021 11:02:53.4589 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: FhJxBiEjkPmuYrhaX8/lHmu/nh1W8mGgEcaQb2f47uP6dHnqnLUyZVVLYGxd50NDKrTGSujPlYM6xHnOHYr/fw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3274
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.17, xbe-rcd-002.cisco.com
X-Outbound-Node: rcdn-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/G5OipjoFvfnkDJGXIKOJ9Lfzy4s>
Subject: Re: [OAUTH-WG] Robert Wilton's No Objection on draft-ietf-oauth-par-08: (with 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: Thu, 08 Jul 2021 11:03:03 -0000

Hi Brian,

Thanks for the detailed explanation, that at least resolves part of my concern.

But having said that, I must confess that I still don’t really understand why you wouldn’t want to set a limit (because you are writing an integer value in a field that is actually a double and hence not all integer values will fit) … but it is a non-blocking comment and I won’t push this any further.

Regards,
Rob


From: Brian Campbell <bcampbell@pingidentity.com>
Sent: 06 July 2021 22:52
To: Rob Wilton (rwilton) <rwilton@cisco.com>
Cc: The IESG <iesg@ietf.org>; draft-ietf-oauth-par@ietf.org; oauth-chairs@ietf.org; oauth <oauth@ietf.org>; Hannes Tschofenig <hannes.tschofenig@arm.com>
Subject: Re: Robert Wilton's No Objection on draft-ietf-oauth-par-08: (with COMMENT)

In this case the only entity that really has to cope with the lifetime is the same entity that controls the lifetime. The authorization server creates the request URI and its lifetime and retains the associated data for the stated time. The URI and expiry information is conveyed to the client. But the client will just use URI value immediately upon receipt (which invalidates it) and not care anything about it after that. The lifetime is largely just some extra information conveyed to the client that's arguably not even necessary. But sometimes things like that creep in during standards development. And I am aware of a test harness that is using the expiration info to test a negative case of checking that an expired URI value can't be successfully used. So I guess it's useful in some cases. But anyway, there's really no reason it'd be an especially large value and the only one that'd have to deal with it if it were is the same one that sets the value.

On Thu, Jul 1, 2021 at 6:38 AM Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>> wrote:
Hi Brian,

Thanks.

Regarding caching, yes, I think that you are right that POST requests don’t get cached.

Regarding the lifetime, why wouldn’t you want to specify a limit?  It would seem to make it easier for implementations if they know what they never have to cope with a value over X.

Thanks,
Rob



From: Brian Campbell <bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>>
Sent: 30 June 2021 22:12
To: Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>
Cc: The IESG <iesg@ietf.org<mailto:iesg@ietf.org>>; draft-ietf-oauth-par@ietf.org<mailto:draft-ietf-oauth-par@ietf.org>; oauth-chairs@ietf.org<mailto:oauth-chairs@ietf.org>; oauth <oauth@ietf.org<mailto:oauth@ietf.org>>; Hannes Tschofenig <hannes.tschofenig@arm.com<mailto:hannes.tschofenig@arm.com>>
Subject: Re: Robert Wilton's No Objection on draft-ietf-oauth-par-08: (with COMMENT)

Thanks for the review Rob. I've endeavored to reply to your comments inline below.

On Tue, Jun 29, 2021 at 2:54 AM Robert Wilton via Datatracker <noreply@ietf.org<mailto:noreply@ietf.org>> wrote:
Robert Wilton has entered the following ballot position for
draft-ietf-oauth-par-08: No Objection

The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-oauth-par/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Hi,

Thanks for this document.  Outside my area of expertise, but I have a couple of
questions/comments:

Section 2:
   Due to historical reasons there is potential ambiguity regarding the
   appropriate audience value to use when employing JWT client assertion
   based authentication (defined in Section 2.2 of [RFC7523] with
   "private_key_jwt" or "client_secret_jwt" authentication method names
   per Section 9 of [OIDC]).  To address that ambiguity the issuer
   identifier URL of the authorization server according to [RFC8414]
   SHOULD be used as the value of the audience.  In order to facilitate
   interoperability the authorization server MUST accept its issuer
   identifier, token endpoint URL, or pushed authorization request
   endpoint URL as values that identify it as an intended audience.

I may be misunderstanding this text, but I note that by giving flexibility to
the client (i.e., the SHOULD) and being strict on the receiver (MUST support x,
y, z), this seems to encourage a proliferation.  Hence, I was wondering whether
this might be better the other way round.  I.e., be strict with what is sent,
and less strict with what is received: MUST send 'issuer identifier', MUST
receive 'issuer identifier', SHOULD receive 'token endpoint URL' and 'pushed
authorization request endpoint URL'?

While definitely not trying to encourage proliferation, the text is aiming to help interoperability while also accounting for the treatment in other documents (RFC7523/21) and existing implementations while also allowing for consistent processing to be implemented across the different endpoints where JWT client assertion based authentication can be employed. It's kinda tricky and I don't know for sure that the current text is exactly right but it's made it through the WG process and seen a number of implementations.


2.
   *  "expires_in" : A JSON number that represents the lifetime of the
      request URI in seconds as a positive integer.  The request URI
      lifetime is at the discretion of the authorization server but will
      typically be relatively short (e.g., between 5 and 600 seconds).

JSON numbers are doubles, but the value is a positive integer.  Does it make
sense to put in a hard limit of 2^53, or given that these are expected to be
small numbers, 2^31 - 1?

 I think the soft general guidance is enough and don't believe a hard upper limit is needed.


3. The success and error examples both define:
    Content-Type: application/json
    Cache-Control: no-cache, no-store

The document states that the response should be JSON, but should it more
specifically specify the content type as "application/json"?

Yeah, it probably should be that specific. I'll add the content type specificity to the document.


Similarly, the
cache control makes sense, but should the document mandate that the response
must include "Cache-Control: no-cache, no-store"?

Although it makes sense not to cache I'm less comfortable mandating cache control stuff - particularly for a response to a POST (that I'm not sure is ever cacheable anyway) and for a client that is most likely not doing any caching at all and would immediately encounter failures if it were.


Regards,
Rob


CONFIDENTIALITY NOTICE: This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by e-mail and delete the message and any file attachments from your computer. Thank you.

CONFIDENTIALITY NOTICE: This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by e-mail and delete the message and any file attachments from your computer. Thank you.