Re: [OAUTH-WG] FW: I-D Action: draft-ietf-oauth-jwsreq-13.txt

John Bradley <ve7jtb@ve7jtb.com> Thu, 30 March 2017 21:44 UTC

Return-Path: <ve7jtb@ve7jtb.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 A333E129576 for <oauth@ietfa.amsl.com>; Thu, 30 Mar 2017 14:44:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ve7jtb-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 ZlAIqUT5fNxG for <oauth@ietfa.amsl.com>; Thu, 30 Mar 2017 14:44:27 -0700 (PDT)
Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (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 72CE41252BA for <oauth@ietf.org>; Thu, 30 Mar 2017 14:44:13 -0700 (PDT)
Received: by mail-io0-x231.google.com with SMTP id f84so28509249ioj.0 for <oauth@ietf.org>; Thu, 30 Mar 2017 14:44:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ve7jtb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0wcCnsUPLWKL1WqP+eXqnw5Oj9ymUYNC5bBpy6asYDw=; b=tCr4iBFPt/HAMeVVEstHLgIE4MLvpmYSzuP6EEd2lIESc3Imr0X12dkYQ9bRCksZ7M i1LLY7MM9RaroBoqMA3+RK3FaHHy6nhuBphDPc8OJTphuSHFSSoMN6S4C1SWeJxD6gBF 6wXOphgnSTWwyRbyk5eEGqi4qxvP5hKXXSgRUSuZyrwRyx4weQlW0b0XvJzK52dMcPRD k1DZyBuqUtp4erKPI96JWw43Sk4Y1hcfX9/PeKMALKpyltzz0G6+XgStg99u2MlwdSKQ aYU+WYctnBVJgSPn4jVIxrOHP/I4rK0XRsqwfsY/5raE3Hcro2jCnjBMVZPwGQpsDJNa 7mpg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0wcCnsUPLWKL1WqP+eXqnw5Oj9ymUYNC5bBpy6asYDw=; b=dvIlx0OKTY26tAhVfMldOrmht7v4WzEzjPR/sAMF3xX2H3TO4KALWcFnGPysMThcSG VN4O73Imh1p88Zhut4Q3I8jSk1TcefavBw7oi2gnfkfMNC3koAru8Lt/pm73sSaRa5g3 2/Hs8AB+knVGEeMh6rzlFrVQME7R2SbxIDJ6+mFqFfi/SfMaoXag8g3XEeyupfqeWw6L bT3DjRj26y0pzcAtAeCQoiTHvUCDAz5NgzMDY/bh6t5VZ1ppHIeAVE7EB7iOvX36wrMp fTXWpowL3zQErcxd24xlF0WHERKf6aLLPv6TmcFmR03nqXL7rnSz01TGKkyNNEzYVuAI Co1A==
X-Gm-Message-State: AFeK/H2O2NUs5mFdNEfWlweugT1YJ1ke9GnXg17ONFhn9HUDlM3Tg3XDZutYSk0K+4P3mmdvi47kn+S0xby1gLaD
X-Received: by 10.107.135.136 with SMTP id r8mr3289500ioi.36.1490910252626; Thu, 30 Mar 2017 14:44:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.167.139 with HTTP; Thu, 30 Mar 2017 14:44:12 -0700 (PDT)
Received: by 10.107.167.139 with HTTP; Thu, 30 Mar 2017 14:44:12 -0700 (PDT)
In-Reply-To: <CY4PR21MB05049EB2094DF00A482CA03EF5340@CY4PR21MB0504.namprd21.prod.outlook.com>
References: <149089911092.15436.12952695214868679547@ietfa.amsl.com> <58dd63ca.e7136b0a.5e8ec.8d9e@mx.google.com> <CY4PR21MB05049EB2094DF00A482CA03EF5340@CY4PR21MB0504.namprd21.prod.outlook.com>
From: John Bradley <ve7jtb@ve7jtb.com>
Date: Thu, 30 Mar 2017 16:44:12 -0500
Message-ID: <CAANoGhLvwSrNTcA6+gXvkVPVoDwu3QHFoTsOfwV2BynVGQsk1A@mail.gmail.com>
To: Michael Jones <Michael.Jones@microsoft.com>
Cc: Nat Sakimura <nat@sakimura.org>, IETF oauth WG <oauth@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="001a113ec77c049ef4054bf998f4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/Uke1nxRlgx62EJLevZgpWCz_UwY>
Subject: Re: [OAUTH-WG] FW: I-D Action: draft-ietf-oauth-jwsreq-13.txt
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.22
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, 30 Mar 2017 21:44:35 -0000

The intent of the change is to only allow the paramaters to be in the
signed object if a signed object is used.

This requires State, nonce etc to be in the JWT.  Only one place to check
will hopefully reduce implimentation errors.

This also allows us to remove the caching text as we now have one JWT per
request, so caching won't happen.

John B.



On Mar 30, 2017 4:36 PM, "Mike Jones" <Michael.Jones@microsoft.com> wrote:

> I **believe** the intent is that **all** parameters must be in the
> request object, but the spec doesn’t actually say that, as far as I can
> tell.  Or maybe the intent is that parameters must not be duplicated
> between the query parameters and the request object.
>
>
>
> One or the other of these statements should be explicitly included in the
> specification.  Of course, I could have missed the statement I’m asking for
> in my review, in which case please let me know what I missed.
>
>
>
>                                                        Thanks,
>
>                                                       -- Mike
>
>
>
> *From:* OAuth [mailto:oauth-bounces@ietf.org] *On Behalf Of *John Bradley
> *Sent:* Thursday, March 30, 2017 3:00 PM
> *To:* IETF OAUTH <oauth@ietf.org>
> *Subject:* [OAUTH-WG] FW: I-D Action: draft-ietf-oauth-jwsreq-13.txt
>
>
>
> Based on feeback from the IESG we have removed some of the optionality in
> the draft.
>
>
>
> It is a shorter read than draft 12.
>
>
>
> John B.
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *internet-drafts@ietf.org
> *Sent: *March 30, 2017 1:38 PM
> *To: *i-d-announce@ietf.org
> *Cc: *oauth@ietf.org
> *Subject: *[OAUTH-WG] I-D Action: draft-ietf-oauth-jwsreq-13.txt
>
>
>
>
>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>
> This draft is a work item of the Web Authorization Protocol of the IETF.
>
>
>
>         Title           : The OAuth 2.0 Authorization Framework: JWT
> Secured Authorization Request (JAR)
>
>         Authors         : Nat Sakimura
>
>                           John Bradley
>
>            Filename        : draft-ietf-oauth-jwsreq-13.txt
>
>            Pages           : 27
>
>            Date            : 2017-03-30
>
>
>
> Abstract:
>
>    The authorization request in OAuth 2.0 described in RFC 6749 utilizes
>
>    query parameter serialization, which means that Authorization Request
>
>    parameters are encoded in the URI of the request and sent through
>
>   user agents such as web browsers.  While it is easy to implement, it
>
>    means that (a) the communication through the user agents are not
>
>    integrity protected and thus the parameters can be tainted, and (b)
>
>    the source of the communication is not authenticated.  Because of
>
>    these weaknesses, several attacks to the protocol have now been put
>
>    forward.
>
>
>
>    This document introduces the ability to send request parameters in a
>
>    JSON Web Token (JWT) instead, which allows the request to be signed
>
>    with JSON Web Signature (JWS) and/or encrypted with JSON Web
>
>    Encryption (JWE) so that the integrity, source authentication and
>
>    confidentiality property of the Authorization Request is attained.
>
>    The request can be sent by value or by reference.
>
>
>
>
>
> The IETF datatracker status page for this draft is:
>
> https://datatracker.ietf.org/doc/draft-ietf-oauth-jwsreq/
>
>
>
> There are also htmlized versions available at:
>
> https://tools.ietf.org/html/draft-ietf-oauth-jwsreq-13
>
> https://datatracker.ietf.org/doc/html/draft-ietf-oauth-jwsreq-13
>
>
>
> A diff from the previous version is available at:
>
> https://www.ietf.org/rfcdiff?url2=draft-ietf-oauth-jwsreq-13
>
>
>
>
>
> 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/
>
>
>
> _______________________________________________
>
> OAuth mailing list
>
> OAuth@ietf.org
>
> https://www.ietf.org/mailman/listinfo/oauth
>
>
>