Re: [OAUTH-WG] Barry Leiba's No Objection on draft-ietf-oauth-spop-14: (with COMMENT)

John Bradley <ve7jtb@ve7jtb.com> Tue, 07 July 2015 22:53 UTC

Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77D1D1B2A25 for <oauth@ietfa.amsl.com>; Tue, 7 Jul 2015 15:53:29 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable
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 RZ3a9JP7iFdj for <oauth@ietfa.amsl.com>; Tue, 7 Jul 2015 15:53:26 -0700 (PDT)
Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) (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 13AD91B2A1E for <oauth@ietf.org>; Tue, 7 Jul 2015 15:53:23 -0700 (PDT)
Received: by qkhu186 with SMTP id u186so151448150qkh.0 for <oauth@ietf.org>; Tue, 07 Jul 2015 15:53:22 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=WiC88R+NOnOJEj5O2vTBaVj3zWd6YRtHpZk9wY4YgLU=; b=ghDAPk5Py42L9VXH43gj3bEgXwigJT5/pOPpTPXjhXpcdMaiTwraGg389ONufY8Rql NcFLO+pVdOecPlpgNhSAMs93okPJ+yoMBF9b5S0I0QfD/M53LpTvEwjd2Lv/o1KaHosN dgh1CwW2TS7n+MEyLNDk3bEmVDfalBFUDZRdlHGKxW55UPC6QZi6IkGukYedxDnyj4vI +BGrxKk58sWzymqOCslnJ6lGx0BT420VYSiQNb5CFS3HWQ+N47fJlH7dd/0ooGnt/oy+ cYIQ4zVjSEg4BXnFTrUYFoSeYbFZDnVf4tAQXX57DUQ+HejUx90YNLDjgtjvTNJVZFGi Fjew==
X-Gm-Message-State: ALoCoQmSoW2wvwfXNBCALwhqvyCJ+Dv73scBb001LITyjz3qJ+lOyEEKGJ+iL1lroPvb59PwVn4W
X-Received: by 10.55.48.18 with SMTP id w18mr11097131qkw.34.1436309602194; Tue, 07 Jul 2015 15:53:22 -0700 (PDT)
Received: from [192.168.1.34] (181-163-0-38.baf.movistar.cl. [181.163.0.38]) by smtp.gmail.com with ESMTPSA id 128sm90438qhg.45.2015.07.07.15.53.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Jul 2015 15:53:21 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_66D61172-406B-437E-8333-E50AE26BBE1D"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <CAHbuEH7mH490wDam+LEgHUj85PqOk0H5KRsFLxztoxQi5O01Mw@mail.gmail.com>
Date: Tue, 7 Jul 2015 19:53:00 -0300
Message-Id: <8DE357B8-63E0-4225-95E5-B97AE3916B6F@ve7jtb.com>
References: <20150707024902.24716.2952.idtracker@ietfa.amsl.com> <CABzCy2AW474zv7EU0EZ3UpQP74S2CRmBZuzLs8FG_=Ey7E_GXw@mail.gmail.com> <CA+k3eCQDZcQmzvwv7VaTTktEoUbBmqaurH=QvSkByDVvihSUeQ@mail.gmail.com> <CAHbuEH7mH490wDam+LEgHUj85PqOk0H5KRsFLxztoxQi5O01Mw@mail.gmail.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/U_QcDnzdh0T2QBlZ6E-kiS_fM6I>
Cc: Barry Leiba <barryleiba@computer.org>, draft-ietf-oauth-spop@ietf.org, oauth <oauth@ietf.org>, draft-ietf-oauth-spop.shepherd@ietf.org, The IESG <iesg@ietf.org>, oauth-chairs@ietf.org, draft-ietf-oauth-spop.ad@ietf.org
Subject: Re: [OAUTH-WG] Barry Leiba's No Objection on draft-ietf-oauth-spop-14: (with COMMENT)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
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, 07 Jul 2015 22:53:29 -0000

I have a draft with Barry’s edits less the removal of ASCII(string) ready to go.

In JWS we used ASCII(string) to indicate that the output is a sequence of octets, strings are not necessarily 8 characters bits and may have null termination etc.

However as Brian states other changes may have removed the need for that.

I admit saying "where STRING is a sequence of zero or more ASCII characters.” looks a bit circular.   How about saying "where STRING is a sequence of zero or more characters”

The ABNF in Sec 4.1 should keep people from going too wrong on its own.

I think it is OK the way it is, but am willing to change it if people feel strongly.

Let me know if I should make that change or publish a draft without it, addressing the other comments.

John B.




> On Jul 7, 2015, at 5:40 PM, Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>; wrote:
> 
> Thanks for your responses on these comments.
> 
> I can approve an updated draft to make this change and the one for IANA if that is the easiest path.  The other option is to write this all up in an RFC editor note and I can send that with the approval.  Making the direct updates may be simpler to avoid mistakes.
> 
> Can you submit a new version?
> 
> Thank you,
> Kathleen
> 
> On Tue, Jul 7, 2015 at 12:35 PM, Brian Campbell <bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>> wrote:
> Regarding the comment on Section 2, I had originally argued for the inclusion of ASCII(xxx) as I felt it was important to avoid potential ambiguity that was in the draft at the time (it wasn't 100% clear to me at the time if the code_verifier was to be base64url decoded as input into the hash or if the ASCII bytes were to be used). However, other content (particularly §4.1 <https://tools.ietf.org/html/draft-ietf-oauth-spop-14#section-4.1>) has since changed and removed the potential for the ambiguity I thought might be there. 
> 
> Which is a long way of explaining that I'm okay with Barry's proposed change to Section 2, and occurrences of ASCII(...) throughout, despite it undoing something I'd previously requested.  
> 
> On Tue, Jul 7, 2015 at 10:09 AM, Nat Sakimura <sakimura@gmail.com <mailto:sakimura@gmail.com>> wrote:
> Thanks Barry, 
> 
> 
> These are the issues that I wanted to discuss with John before making change. 
> 
> -- Section 6.2 -- John has partly addressed your IANA comment already. I needed 
> to check if there was any reason for just doing partly. 
> 
> -- Section 7.2 -- is probably just my oversight. I will deal with it. 
> 
> -- Section 2 -- : I agree with you and I wanted to confirm it with John and other people to commit the change. 
> 
> Cheers, 
> 
> Nat
> 
> 2015-07-07 11:49 GMT+09:00 Barry Leiba <barryleiba@computer.org <mailto:barryleiba@computer.org>>:
> Barry Leiba has entered the following ballot position for
> draft-ietf-oauth-spop-14: No Objection
> 
> 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 <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-spop/ <https://datatracker.ietf.org/doc/draft-ietf-oauth-spop/>
> 
> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> Version -14 resolves my DISCUSS (and also some of my non-blocking
> comments).  Thanks very much for considering these and working with me on
> them!
> 
>   =========================================
> My comment about the IANA Considerations remains.  While it's
> non-blocking, I still hope you will accept the change I suggest:
> 
> -- Section 6.2 --
> I have the same comment here as in the other OAuth document: please shift
> the focus away from telling IANA how to handle tracking of the expert
> review, and make the mailing list something that the designated expert(s)
> keep track of.  Also, please give more instructions to the DEs about what
> they should consider when they're evaluating a request (for example,
> should they approve all requests, or are there criteria they should
> apply?).
> 
> For the first, here's a text change that I suggest we move toward for
> this sort of thing:
> 
> OLD
> <most of Section 6.2>
> 
> NEW
>    Additional code_challenge_method types for use with the authorization
>    endpoint are registered using the Specification Required policy
>    [RFC5226], which includes review of the request by one or more
>    Designated Experts.  The DEs will ensure there is at least a two-week
>    review of the request on the oauth-ext-review@ietf.org <mailto:oauth-ext-review@ietf.org> mailing list,
>    and that any discussion on that list converges before they respond to
>    the request.  To allow for the allocation of values prior to
>    publication, the Designated Expert(s) may approve registration once
>    they are satisfied that an acceptable specification will be
> published.
> 
>    Discussion on the oauth-ext-review@ietf.org <mailto:oauth-ext-review@ietf.org> mailing list should use
>    an appropriate subject, such as "Request for PKCE
>    code_challenge_method: example").
> 
>    The Designated Expert(s) should consider the discussion on the
>    mailing list, as well as <<these other things>> when evaluating
>    registration requests.  Denials should include an explanation
>    and, if applicable, suggestions as to how to make the request
>    successful.
> END
> 
>   =========================================
> -- Section 7.2 --
> I find the first first paragraph confusingly worded, and after discussion
> with the author I suggest this:
> 
> NEW
> Clients MUST NOT downgrade to "plain" after trying the S256 method.
> Because servers are required to support S256, an error when S256 is
> presented can only mean that the server does not support PKCE at all.
> Otherwise, such an error could be indicative of a MITM attacker trying
> a downgrade attack.
> END
> 
>   =========================================
> Finally, there is this comment, which is not a big deal and you should
> proceed as you think best:
> 
> -- Section 2 --
> There is no real distinction between STRING and ASCII(STRING), because
> STRING is already defined to be ASCII.  Using "ASCII(xxx)" only adds
> clutter, and a suggest removing it.
> 
> So, for example, that would result in changes such as this:
> 
> OLD
> BASE64URL-ENCODE(SHA256(ASCII(code_verifier))) == code_challenge
> NEW
> BASE64URL-ENCODE(SHA256(code_verifier)) == code_challenge
> END
> 
> 
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org <mailto:OAuth@ietf.org>
> https://www.ietf.org/mailman/listinfo/oauth <https://www.ietf.org/mailman/listinfo/oauth>
> 
> 
> 
> -- 
> Nat Sakimura (=nat)
> Chairman, OpenID Foundation
> http://nat.sakimura.org/ <http://nat.sakimura.org/>
> @_nat_en
> 
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org <mailto:OAuth@ietf.org>
> https://www.ietf.org/mailman/listinfo/oauth <https://www.ietf.org/mailman/listinfo/oauth>
> 
> 
> 
> 
> 
> -- 
> 
> Best regards,
> Kathleen