Re: AD review of draft-ietf-httpbis-expect-ct-07

Emily Stark <estark@google.com> Mon, 29 October 2018 02:55 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44FCB1286D9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2018 19:55:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.251
X-Spam-Level:
X-Spam-Status: No, score=-10.251 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_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 MHPLtwW8fKcD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2018 19:55:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 21CCB12F1A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 28 Oct 2018 19:55:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1gGxgV-0006SI-3N for ietf-http-wg-dist@listhub.w3.org; Mon, 29 Oct 2018 02:53:43 +0000
Resent-Date: Mon, 29 Oct 2018 02:53:43 +0000
Resent-Message-Id: <E1gGxgV-0006SI-3N@frink.w3.org>
Received: from mimas.w3.org ([2603:400a:ffff:804:801e:34:0:4f]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <estark@google.com>) id 1gGxgT-0006RZ-Js for ietf-http-wg@listhub.w3.org; Mon, 29 Oct 2018 02:53:41 +0000
Received: from mail-yb1-xb34.google.com ([2607:f8b0:4864:20::b34]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <estark@google.com>) id 1gGxgS-0005G6-1r for ietf-http-wg@w3.org; Mon, 29 Oct 2018 02:53:41 +0000
Received: by mail-yb1-xb34.google.com with SMTP id g75-v6so2819741yba.10 for <ietf-http-wg@w3.org>; Sun, 28 Oct 2018 19:53:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kUy9Fnq0N/cV7hAGSjRMbAuCAJ+hbsTbUW3Iuikpo0E=; b=Ok4dxCA1D64UJQGYijj3chn1EYVZjXOGqDG0uETy8glf8eliwJgpX0a14bKf/l21KG r6NVp0TTBHc2+5mDaiI4T70oLw6mQ0urXQ2JpUzcLlYtY3kswL+xU/Q9FBZjj59Ct2Q5 mZdgvC1xaV/jvy0l5Y8RBYXlpYC0gWL2xvdJT3cw8eet5cgMb07QbBZexuZY+6F0IHQ+ vA0UlndOUUolBRj4F890iHTvTWoBhdbIW7jQiRka2mY2DKRnVnwQVjxRxyPoq9E0aq5e hRhBSARrD7a4+Sw9T+JywXVkuGgyNSZv7ap89/FnOvmevlpgIg6q3VqJNvUrwNTyLiJz r0+w==
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=kUy9Fnq0N/cV7hAGSjRMbAuCAJ+hbsTbUW3Iuikpo0E=; b=YcpbftmjcRlrs3uM9v67+PUSKiYUfNe55gxUyx7Lnv8l6r0mb6Xgv0YtyEYuLiLguE f1mZcJA0dLaD5mW798rUNbb7NWKsuq1xKTVOCUn44m/tb9bHp5RiHE/AwzbSA4FCOTev BEUj4IW4usxg2AU8dC5Ayi0wIvRzrVsISHyXv9CgAbH33uRRfwgo37sMXvjVX1M5IFBN T7o0MBSn3r7hhwZLkESyr45lOfc/1gCfDqoPeY2qtPEM9oh/iuj94qqMV2VWjH78hJ8G zJJRtGAwByiN/hizSFb01Id0I7bPmNDxA5ZfZEHQGBWHMB74LyGZ5H4bd4Hx/sw3b7Ak XwIA==
X-Gm-Message-State: AGRZ1gLEMc8Wc2d9/YYwZrspogGZwa7JoMpr5M7f5mVJ1tbNylX93NnZ WiTzL/G0emGIHd0qmknf+5YeJ1ZoG0wWnq/8OaQN7iA/l1QGwg==
X-Google-Smtp-Source: AJdET5e3o+msdaUzvOonx+p86ROpiqXUINqGKQTe8xO//ZHMokXxwj6STGH8yaB+s4ijoArBI7tJpCCv2WJZA1KdyHE=
X-Received: by 2002:a5b:588:: with SMTP id l8-v6mr12112401ybp.21.1540781599137; Sun, 28 Oct 2018 19:53:19 -0700 (PDT)
MIME-Version: 1.0
References: <031bd969-a731-5c77-59f4-98ce50596bc1@isode.com> <CAPP_2SZaTReENHE=C0+QZ0VrfTfZ3UGiMAkJV-5FzWykB=d0Dg@mail.gmail.com> <c8468cdc-ec00-848b-2c41-48d76c07685e@isode.com>
In-Reply-To: <c8468cdc-ec00-848b-2c41-48d76c07685e@isode.com>
From: Emily Stark <estark@google.com>
Date: Sun, 28 Oct 2018 19:53:08 -0700
Message-ID: <CAPP_2SbLDBK2iojUW5Xt2AUD2PKHPutF5w6BB6Up3TONVOFniw@mail.gmail.com>
To: alexey.melnikov@isode.com
Cc: httpbis <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000e525850579552b96"
X-W3C-Hub-Spam-Status: No, score=-21.5
X-W3C-Hub-Spam-Report: 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, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1gGxgS-0005G6-1r ce55547a5ed96d7ebd176f421097012e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: AD review of draft-ietf-httpbis-expect-ct-07
Archived-At: <https://www.w3.org/mid/CAPP_2SbLDBK2iojUW5Xt2AUD2PKHPutF5w6BB6Up3TONVOFniw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/35992
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Wed, Sep 5, 2018 at 7:14 AM Alexey Melnikov <alexey.melnikov@isode.com>
wrote:

> Hi Emily,
> Sorry for the slow response:
>
> On 07/08/2018 20:38, Emily Stark wrote:
> > Thanks for the feedback! I've addressed this
> > in
> https://github.com/httpwg/http-extensions/commit/c2ae923f03a25432c145292b0ceda5f99f750e22
> ,
> > with a couple clarifications inline.
> >
> > On Tue, Jul 31, 2018 at 6:06 AM Alexey Melnikov
> > <alexey.melnikov@isode.com <mailto:alexey.melnikov@isode.com>> wrote:
> >
> >     Hi,
> >
> >     The document is well written, but I have a short list of issues I
> >     would like to discuss:
> >
> >     2.1.  Response Header Field Syntax
> >
> >        Expect-CT           = #expect-ct-directive
> >        expect-ct-directive = directive-name [ "=" directive-value ]
> >        directive-name      = token
> >        directive-value     = token / quoted-string
> >
> >                   Figure 1: Syntax of the Expect-CT header field
> >
> >        Optional white space ("OWS") is used as defined in Section 3.2.3
> of
> >
> >     I don't see "OWS" used above. Should it be used around the "="
> >     character?
> >
> >     It looks like you've copied syntanx from RFC 6797, which used old
> >     HTTP ABNF with "implied *LWS" rule.
> >     So you need to update it to explicitly insert OWS. (It is already a
> >     part of #expect-ct-directive construct though.)
> >
> > This was leftover from mashing up RFC 6797 and 7469, and I think it's
> > actually just not needed at all anymore (no OWS is intended around the
> "=").
>
> Ok with me, as long as the WG is happy with this.
> >
> >     2.1.1.  The report-uri Directive
> >
> >     The first mention of HSTS in Section2.1.1 needs a reference to
> >     [RFC6797].
> >
> >
> >        UAs SHOULD limit the rate at which they send reports.  For
> example,
> >        it is unnecessary to send the same report to the same "report-uri"
> >        more than once.
> >
> >     "More than once" in which period. Ever? I think you need to
> >     elaborate/clarify here.
> >
> >
> >     In Section 3.1:
> >
> >          *  The "serialized_sct" key, with a string value.  If the value
> of
> >              the "version" key is "1", the UA MUST set this value to the
> >              base64 encoded [RFC4648] serialized
> >
> >     Which base64 alphabet? There is one in section 4 and another one in
> >     section 5 of that RFC.
> >
> > Is this really needed? Happy to include it for clarity's sake, but
> > Section 5 of RFC 4648 already says:
> >
> > This encoding may be referred to as "base64url".  This encoding
> > should not be regarded as the same as the "base64" encoding and
> > should not be referred to as only "base64".  Unless clarified
> > otherwise, "base64" refers to the base 64 in the previous section.
>
> I prefer to be explicit, as there is big variety of things in use.
>
>
Sure -- addressed in
https://github.com/httpwg/http-extensions/commit/94f47313b45538548830fcf253ed6e70eb1fbe97.
I'll publish a new version after addressing some more review comments.


>
> Please post a new version at your convenience and I will ask IESG to
> review it.
>
> Best Regards,
> Alexey
>