Re: [OAUTH-WG] draft-ietf-oauth-jwsreq-21

Dominick Baier <dbaier@leastprivilege.com> Mon, 11 May 2020 08:15 UTC

Return-Path: <dbaier@leastprivilege.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 72C6C3A08B8 for <oauth@ietfa.amsl.com>; Mon, 11 May 2020 01:15:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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=leastprivilege-com.20150623.gappssmtp.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 Pwg0Q918XUad for <oauth@ietfa.amsl.com>; Mon, 11 May 2020 01:15:12 -0700 (PDT)
Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (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 D38533A08DC for <oauth@ietf.org>; Mon, 11 May 2020 01:15:11 -0700 (PDT)
Received: by mail-qk1-x72c.google.com with SMTP id s186so7044180qkd.4 for <oauth@ietf.org>; Mon, 11 May 2020 01:15:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leastprivilege-com.20150623.gappssmtp.com; s=20150623; h=from:in-reply-to:references:mime-version:date:message-id:subject:to; bh=t/CYaxUohdGLdKhXG2sQ3GSPmaChyVrt6t7a5HVKsRc=; b=PgGiLqvXKKKB+IH+a6k0v41CiT0ao7aX2ecFO4s7gKdcBgxUeDorOboP+QkBl+Q1rm WiwHc8Oz7STi/s8bUsCU2nzSzELNTjg76OYXl7NdVFF7MuUKGpuiNpYYaErPj7mc+gm3 ysBg3en1njGz4AUuoyV1CWYGC8xEGo3KLYQmbqM4f39gRV6pqwvakdfwO6Cwz+KiO4oA OUxa82bAB7PjBKK17OVV9AXafgXQSeXOA/QpW1FgkSTxtjwneSRSaBjtt8zTdK6SQtlT eeXOGywWjAjUHVWdV2TXtkmM9ZqaStUIsCiOLNxfhkvK8P3+0N1fGNLTaOk+P82ljmTY wCog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to; bh=t/CYaxUohdGLdKhXG2sQ3GSPmaChyVrt6t7a5HVKsRc=; b=FH+JCLU94vRcUAvklFEpKf2/HBludDm6wQWaZPoZlMQXSCJtQD8UtH76A9HNJ50s0s +q4z3HBMDjE97RFm6K24w8fgSfcKcLCsBStHkjkTje/GRQEoDmePFpQltLLqoJA1glJE QOf3aqFj/xz6nUwwkQhGTeeJiHxDyBPt5RGmGnuDyuJGQmfMct5rFkQ4IAKneLDg+gxO LKtDmvs7s917vWlvAhlpEa8HiWLi4sjz8brdNIycTniuFZsjkeLftVhpgmIi3jg+ffEu q9HV9f1RtfEN4ARoWoAbs2oNYl3YD6V4YAzfWY7B+tNns34kCna700v3W7D7ZJze7nGC uoJg==
X-Gm-Message-State: AGi0PubbVIdCM/8LdDOqajH3YcgKQ9wkJpI+vzpxCPINQjiPYslzJWyi zzuqybPlE8Bs0I0k3r9mzp8/zrc7Gf5+c2N8PDbc
X-Google-Smtp-Source: APiQypJ+IGt5Itpnfmiid8hwt+tpACU/CXZ8dr8moTJoa/EwLwQS/7hCfkXCRKQuwIxXXSvpYdN1+eUUu4LODwuk1a0=
X-Received: by 2002:a37:688c:: with SMTP id d134mr14354501qkc.450.1589184910677; Mon, 11 May 2020 01:15:10 -0700 (PDT)
Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Mon, 11 May 2020 04:15:10 -0400
From: Dominick Baier <dbaier@leastprivilege.com>
In-Reply-To: <Mailbird-635821db-1f3a-4def-b157-a92bb7dddcdf@gmail.com>
References: <Mailbird-635821db-1f3a-4def-b157-a92bb7dddcdf@gmail.com>
MIME-Version: 1.0
Date: Mon, 11 May 2020 04:15:10 -0400
Message-ID: <CAO7Ng+vmL46ijwV1hNmM25WN--j3esX=jLgD0K8fy+9SP7WxbA@mail.gmail.com>
To: Brock Allen <brockallen@gmail.com>, oauth@ietf.org
Content-Type: multipart/alternative; boundary="000000000000156bec05a55af2bc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/crNVKgasWGbSXdSFJd5Wm1sAcMo>
Subject: Re: [OAUTH-WG] draft-ietf-oauth-jwsreq-21
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: Mon, 11 May 2020 08:15:15 -0000

Would be also interested in the official language here.

Would an implementation need to introduce an optional  “strict JAR
validation mode”  - which complies with JAR, but breaks OIDC compatibility?

———
Dominick Baier

On 7. May 2020 at 15:32:33, Brock Allen (brockallen@gmail.com) wrote:

Perhaps quite late, but a few comments/questions related to this:

1) When decoded, all the JWT samples are missing the "typ" claim from the
header, which I think should be "oauth.authz.req+jwt".

2) When validating the JAR if we are to validate the "typ" then this would
be incompatible with OIDC's request object, I think?

3) When the JAR is passed by reference, then the HTTP response Content-Type
of "application/oauth.authz.req+jwt" would also seem to break or be
incompatible with OIDC's request object passed by reference?

There might need to be clarification when mixing this w/ an OIDC OP
implementation.

TIA

-Brock

_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth