Re: [Gen-art] Genart last call review of draft-ietf-oauth-device-flow-10

William Denniss <wdenniss@google.com> Wed, 01 August 2018 23:56 UTC

Return-Path: <wdenniss@google.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BFF0130EB8 for <gen-art@ietfa.amsl.com>; Wed, 1 Aug 2018 16:56:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.509
X-Spam-Level:
X-Spam-Status: No, score=-17.509 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 vT1dpEDqRZIE for <gen-art@ietfa.amsl.com>; Wed, 1 Aug 2018 16:56:05 -0700 (PDT)
Received: from mail-ua0-x241.google.com (mail-ua0-x241.google.com [IPv6:2607:f8b0:400c:c08::241]) (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 C8E3F130E18 for <gen-art@ietf.org>; Wed, 1 Aug 2018 16:56:04 -0700 (PDT)
Received: by mail-ua0-x241.google.com with SMTP id k25-v6so238543uao.11 for <gen-art@ietf.org>; Wed, 01 Aug 2018 16:56:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=f5GEfUFuLrR90dh3isNkbUeZld4uPVDtqoKNG27Jpf8=; b=mUtV5Vhf/6qMPBAeF11XCJPpEk+yKXNxpqDFoHxFHmrsJl7R/YxlgxkMeRpMITUzvO qK2gQAbLqQgRRbw0a3hsz5///o2MLrh+nSeU6F9j6icdGqyLbd85HdxRatINmnY5w+Yh nlvRRpYhWBF/ovWiN+hj41DfVz4jDyd3J8KuvDiJb+wAi5ulwiHZ7slju4PvxUQ0jAJH RxgE89SzJEC6v1H17t4wjnwDipze0jW515iIW8wNr45IE8npkNYoK/oB+wL5qeLYWvnj M64RC2MwJamufSALS+zws9f2uHB6CGpPB/92/euf6BYiWuedGX88PuR1b48FsTSq2U43 0hJg==
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=f5GEfUFuLrR90dh3isNkbUeZld4uPVDtqoKNG27Jpf8=; b=LbmghiSQBfro8jFPutc42NCLlDGBUT0onaUSHymGmLdPIjXq63B5l/gvW+fAmePFbW ceDmJB/HXPj3ONEESacrXCUnx5LOoC+dRh7qPF5cpaXWQYggc0m4I/YwwSBsaMxFUX0A 3nbzHDihc6UHy8HTrGg9zSrIi0mhkorkLkDRQ5qcWztsvMwURzr/S2opunRkUhyalSDF aj44RXZyRwvW1d+Eojaw8xNRVFi1kV7do604nG72B/PX/srKAXKqRh3V6WlTJZHJvSqw eTcNrUN7F8nM6ChhEcvucQZSLP0/KvZDHZFSOshLFVWoqkirENn25Uy6QOl2spUygA6l S/pQ==
X-Gm-Message-State: AOUpUlGwBAcq9z1NcWwYNvOuP9T2W7eePVwe1QJizQbaNccFTlztFGld DM5oO6o+xgIPzjGir8ksCBWweiWhBHOHio2/mQP13w==
X-Google-Smtp-Source: AAOMgpfJAkpozUqwSeEa9YuIwZGRndLRAK9zGsmSjXDVLoK9fj2hDt0/w/8aoosX3O3v1dLyhw4F7gVKaTxGM6a4gbs=
X-Received: by 2002:ab0:5c0c:: with SMTP id q12-v6mr372008uaf.134.1533167763434; Wed, 01 Aug 2018 16:56:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:ab0:185a:0:0:0:0:0 with HTTP; Wed, 1 Aug 2018 16:55:42 -0700 (PDT)
In-Reply-To: <152873404689.2672.12557627140070509936@ietfa.amsl.com>
References: <152873404689.2672.12557627140070509936@ietfa.amsl.com>
From: William Denniss <wdenniss@google.com>
Date: Wed, 01 Aug 2018 16:55:42 -0700
Message-ID: <CAAP42hBorW5013fq83xwzQuX78eePswxHr-JTZcFSaTDWjba1w@mail.gmail.com>
To: Robert Sparks <rjsparks@nostrum.com>
Cc: General Area Review Team <gen-art@ietf.org>, draft-ietf-oauth-device-flow.all@ietf.org, ietf@ietf.org, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ec28670572686f83"
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/pRQ9ODCfaA_yUqWiEmHp0gya360>
Subject: Re: [Gen-art] Genart last call review of draft-ietf-oauth-device-flow-10
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Aug 2018 23:56:07 -0000

Robert,

Thank you for your valuable feedback. Version 12 incorporates your
feedback. Replies inline:

On Mon, Jun 11, 2018 at 9:20 AM, Robert Sparks <rjsparks@nostrum.com> wrote:

> Reviewer: Robert Sparks
> Review result: Ready with Nits
>
> I am the assigned Gen-ART reviewer for this draft. The General Area
> Review Team (Gen-ART) reviews all IETF documents being processed
> by the IESG for the IETF Chair.  Please treat these comments just
> like any other last call comments.
>
> For more information, please see the FAQ at
>
> <https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.
>
> Document: draft-ietf-oauth-device-flow-10
> Reviewer: Robert Sparks
> Review Date: 2018-06-11
> IETF LC End Date: 2018-06-12
> IESG Telechat date: Not scheduled for a telechat
>
> Summary: Ready for publication as a Proposed Standard RFC, but with nits to
> consider
>
> Nits/editorial comments:
>
> In 3.5 "the client MUST use a reasonable default polling interval" is not
> testable. Who determines "reasonable"? At the very least, you should add
> some
> text about how to determine what "reasonable" is for a given device, and
> add
> some text that says don't poll faster than earlier responses limited you
> to.
> For example, if the response at step B in the introductory diagram had an
> explicit interval of 15, but a slow-down response to an E message didn't
> have
> an explicit interval, you don't want them to default to, say 5 seconds
> (because
> that's what the example in section 3.2 said, so it must be reasonable).
>

Thanks for the feedback, version 12 specifies a default of 5s.


> In 3.3, you say the device_code MUST NOT be displayed or communicated. Is
> there
> a security property that's lost if there is? Or is this just saying "Don't
> waste space or the user's time"?
>

It's just a waste of the user's time. This text has been modified.


>
> The last paragraph of section 6.1 feels like a recipe for false positives,
> and
> for bug-entrenched code. Please reconsider it.
>

I've reworded it a bit, but it's actually an important usability
consideration so I do want to keep it in some form.



> You need line-folding in the example in section 3.2
>

Can you clarify what you mean by this?

Best,
William