Re: Adam Roach's Discuss on draft-ietf-httpbis-expect-ct-07: (with DISCUSS and COMMENT)

Adam Roach <adam@nostrum.com> Thu, 13 September 2018 13:49 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 7BABA130DE7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 13 Sep 2018 06:49:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.651
X-Spam-Level:
X-Spam-Status: No, score=-2.651 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 fh1koeHXpazc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 13 Sep 2018 06:49:04 -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 4DB9E1252B7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 13 Sep 2018 06:49:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1g0Rwk-0004Xm-Dr for ietf-http-wg-dist@listhub.w3.org; Thu, 13 Sep 2018 13:46:14 +0000
Resent-Date: Thu, 13 Sep 2018 13:46:14 +0000
Resent-Message-Id: <E1g0Rwk-0004Xm-Dr@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 <adam@nostrum.com>) id 1g0Rwe-0004X3-Rm for ietf-http-wg@listhub.w3.org; Thu, 13 Sep 2018 13:46:08 +0000
Received: from raven-v6.nostrum.com ([2001:470:d:1130::1] helo=nostrum.com) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <adam@nostrum.com>) id 1g0Rwc-0007gE-SC for ietf-http-wg@w3.org; Thu, 13 Sep 2018 13:46:08 +0000
Received: from Svantevit.roach.at (99-152-146-228.lightspeed.dllstx.sbcglobal.net [99.152.146.228]) (authenticated bits=0) by nostrum.com (8.15.2/8.15.2) with ESMTPSA id w8DDjTR4086605 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 13 Sep 2018 08:45:32 -0500 (CDT) (envelope-from adam@nostrum.com)
X-Authentication-Warning: raven.nostrum.com: Host 99-152-146-228.lightspeed.dllstx.sbcglobal.net [99.152.146.228] claimed to be Svantevit.roach.at
To: Julian Reschke <julian.reschke@gmx.de>, The IESG <iesg@ietf.org>
Cc: draft-ietf-httpbis-expect-ct@ietf.org, Mark Nottingham <mnot@mnot.net>, httpbis-chairs@ietf.org, ietf-http-wg@w3.org
References: <153682169290.9530.10396840495307914328.idtracker@ietfa.amsl.com> <1cd77fc5-b6e2-6bbc-7e31-057d0d2b8273@gmx.de>
From: Adam Roach <adam@nostrum.com>
Message-ID: <6529d389-98e3-cedd-0963-8fbb62315ad9@nostrum.com>
Date: Thu, 13 Sep 2018 08:45:23 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.0
MIME-Version: 1.0
In-Reply-To: <1cd77fc5-b6e2-6bbc-7e31-057d0d2b8273@gmx.de>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-W3C-Hub-Spam-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: AWL=-0.767, BAYES_00=-1.9, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1g0Rwc-0007gE-SC cf6895ea963ef6230d90dd0ae0b51ff0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Adam Roach's Discuss on draft-ietf-httpbis-expect-ct-07: (with DISCUSS and COMMENT)
Archived-At: <https://www.w3.org/mid/6529d389-98e3-cedd-0963-8fbb62315ad9@nostrum.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/35912
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 9/13/18 6:23 AM, Julian Reschke wrote:
> On 9/13/2018 8:54 AM, Adam Roach wrote:
>> ... > §2.1:
>>
>>>   Expect-CT           = #expect-ct-directive
>>>   expect-ct-directive = directive-name [ "=" directive-value ]
>>>   directive-name      = token
>>>   directive-value     = token / quoted-string
>>
>> I note that there is no registry for directive names in the IANA 
>> section, so
>> presumably there is a small, closed set of directives allowed here. 
>> Typically,
>> when this is the case, the ABNF includes the permissible values; e.g.:
>>
>>     directive-name      = "report-uri" / "enforce" / "max-age"
>>
>> ...although I also note that list item (5) under the ABNF implies 
>> that the
>> intention here is to be extensible. If such is the case, I would suggest
>> adding an IANA registry that records Expect-CT directives, and 
>> specifying the
>> ABNF as:
>>
>>     directive-name      = "report-uri" / "enforce" / "max-age" / token
>> ...
>
> Disagreed. We have stopped doing this in the HTTP specs for a reason - 
> it conflates two different thing: parsing, and detecting certain 
> predefined tokens. 


Thanks. If HTTP-related RFCs do this consistently, then I agree that you 
should keep with that convention.

/a