Re: [OAUTH-WG] [UNVERIFIED SENDER] RE: Cryptographic hygiene and the limits of jwks_uri

Dick Hardt <dick.hardt@gmail.com> Fri, 10 January 2020 18:15 UTC

Return-Path: <dick.hardt@gmail.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 12069120B27 for <oauth@ietfa.amsl.com>; Fri, 10 Jan 2020 10:15:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.995
X-Spam-Level:
X-Spam-Status: No, score=-1.995 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_FONT_LOW_CONTRAST=0.001, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 hI-H6Un0VFEV for <oauth@ietfa.amsl.com>; Fri, 10 Jan 2020 10:15:45 -0800 (PST)
Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (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 69015120B01 for <oauth@ietf.org>; Fri, 10 Jan 2020 10:15:39 -0800 (PST)
Received: by mail-lj1-x22c.google.com with SMTP id a13so3047616ljm.10 for <oauth@ietf.org>; Fri, 10 Jan 2020 10:15:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SOgatk4uJJoZMaSBkJgcX7OzbjCCLO2roUtOXToR6a4=; b=mIlr0WZymJDPpnmiXkBj96/PoczULt9oWknAikQdTkJi470JbMqEzgOvtdkCDLOIM+ i7zFVPK2vrG9vyV/jjydiU+kSn3eHTp9ay2g8DYg6ivEERIDoiLdBwdH7+uYIl8o8sS2 rp+WU1yT3oyzGPtr5aPl2NtCPNp0zodS2o5az7M3ZGfXjJkvGbNv2lcd4gF2wj7psRJN TmOzOTXiflgB2uHZ2DErEcUqhNSBwrzaHQI00QADa04QXArOfU4WoHE7ngaWTsZmrFQz UFfqTnkfp6zOGhbh0OjNuPuErcpLiuWazRNwQYo/XLYrF1ZrFXhfjkYl4f7Knac2D6ya 7ltg==
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=SOgatk4uJJoZMaSBkJgcX7OzbjCCLO2roUtOXToR6a4=; b=o9NjVOSbFucgnIu2xMXXlOvoXt7T1yjpDgfc1s9kQWzoNusYdGtyZ8+gRrDpcW0Xc7 FqTyCQV/WeGvJdN/ZVEcqAYvPpX9bV89NtqWLrzmlPuaSNRYz2t96qgLw6fR7BdqlRtP p5VSmkTtcrBGqBCai+98oXfMNsxnOAHT0K3Tqc2M0eyu2N/deEPfANWAyViy5mQcTpWf eSNYid9MA5ccWiwWn85ifD6t04OpXyOvVQTq9I90TYHkfr7SlfUkClQ6TtZ3uLijjk9v IsFfPoKmIRXd2De2Jkrv4qZMa82PgjVB9pkT/ry0F5yE1m0f0ASQ7eAF84eu6HYi1eDY BnvA==
X-Gm-Message-State: APjAAAVV2S7gNPyBFBVlU7tzoY0JHzzwIRuJlDXwsWU29Mf00ktALBmS 3qzejVmQK/QkLo02LlzhE5xDXt/ukJIzEOCg5dY=
X-Google-Smtp-Source: APXvYqyvghkBnzHgE0llA8pT8vWCc9v1pagF8o4YbG59zI2zNn5eIxr99ZYzr1Mv06IuhUohtoINcqER6KyVLfCQjnM=
X-Received: by 2002:a2e:9e4c:: with SMTP id g12mr3456649ljk.15.1578680137612; Fri, 10 Jan 2020 10:15:37 -0800 (PST)
MIME-Version: 1.0
References: <CAD9ie-sHSNn34S-hyQHa-uxMKNhH22i-9ajdyTEyPh8w61yHsA@mail.gmail.com> <9D366169-C548-4D5C-8F4B-E546829DC9B0@lodderstedt.net>
In-Reply-To: <9D366169-C548-4D5C-8F4B-E546829DC9B0@lodderstedt.net>
From: Dick Hardt <dick.hardt@gmail.com>
Date: Fri, 10 Jan 2020 10:15:26 -0800
Message-ID: <CAD9ie-vChM=AamCTmZpM5SuhZmeahV+Ym8Vfnr5GoN=xQn614g@mail.gmail.com>
To: Torsten Lodderstedt <torsten@lodderstedt.net>
Cc: Justin Richer <jricher@mit.edu>, oauth <oauth@ietf.org>, "Richard Backman, Annabelle" <richanna=40amazon.com@dmarc.ietf.org>, Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d10393059bcd1c34"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/nyYzmG3mXGDa6Cr5KGO0OgclDIo>
Subject: Re: [OAUTH-WG] [UNVERIFIED SENDER] RE: Cryptographic hygiene and the limits of jwks_uri
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: Fri, 10 Jan 2020 18:15:50 -0000

Yes. Thanks for clarifying.
ᐧ

On Fri, Jan 10, 2020 at 10:14 AM Torsten Lodderstedt <
torsten@lodderstedt.net> wrote:

> You mean additional JWKS URIs, for example?
>
> Am 10.01.2020 um 19:09 schrieb Dick Hardt <dick.hardt@gmail.com>:
>
> 
> Perhaps I am misunderstanding what Annabelle was getting at, but having
> more than one key in the metadata document would solve the the issue. IE,
> extensions would define their own key instead of using the same one.
>
> The metadata document itself was an extension.
>
>
> On Fri, Jan 10, 2020 at 9:58 AM Torsten Lodderstedt <
> torsten@lodderstedt.net> wrote:
>
>>
>>
>> > Am 10.01.2020 um 18:23 schrieb Dick Hardt <dick.hardt@gmail.com>:
>> >
>> > As OAuth 2.0 has been extended, the AS is now also an OpenID Connect
>> Provider, and the access token is being defined. These extensions have
>> assumed all of this functionality is a monolith.
>> >
>> > I'm not suggesting that we MUST make changes to existing extensions,
>> but design future extensions so that an implementation can separate duties
>> if desired.
>>
>> How do you envision this to work? As you said, OAuth 2.0 is built on the
>> assumption the AS is (at least logically) a monolith. All extension were
>> built on that underlying assumption. I don’t see how an arbitrary extension
>> can relax that assumption and still be compatible with the rest (just
>> revisit the discussion re PAR and keys).
>>
>> I think we should accept this design assumption, in the same way we
>> should accept form encoding as request format instead of JSON, for OAuth
>> 2.0 extensions.
>>
>> OAuth 3.0 could explicitely be developed with different architectures in
>> mind.
>
>