Re: [C430] AUTH48 [JM]: RFC 9001 <draft-ietf-quic-tls-34.txt> NOW AVAILABLE

Sandy Ginoza <sginoza@amsl.com> Mon, 03 May 2021 20:07 UTC

Return-Path: <sginoza@amsl.com>
X-Original-To: c430@rfc-editor.org
Delivered-To: c430@rfc-editor.org
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id 88780F4079C; Mon, 3 May 2021 13:07:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at rfc-editor.org
X-Spam-Flag: NO
X-Spam-Score: -198
X-Spam-Level:
X-Spam-Status: No, score=-198 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=0.01, SPF_HELO_NONE=2, SPF_PASS=-0.001, SUBJECT_IN_WHITELIST=-100, URIBL_BLOCKED=0.001, USER_IN_WELCOMELIST=-0.01, USER_IN_WHITELIST=-100] autolearn=no autolearn_force=no
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RMsEupOs2umB; Mon, 3 May 2021 13:07:03 -0700 (PDT)
Received: from mail.amsl.com (c8a.amsl.com [4.31.198.40]) by rfc-editor.org (Postfix) with ESMTPS id 6FCE7F4079B; Mon, 3 May 2021 13:07:03 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by c8a.amsl.com (Postfix) with ESMTP id A609B38B4E9; Mon, 3 May 2021 13:07:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from c8a.amsl.com ([127.0.0.1]) by localhost (c8a.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id soZtY0u1xHrB; Mon, 3 May 2021 13:07:23 -0700 (PDT)
Received: from [192.168.1.175] (cpe-172-113-155-155.socal.res.rr.com [172.113.155.155]) by c8a.amsl.com (Postfix) with ESMTPSA id 3BB8D38B4E8; Mon, 3 May 2021 13:07:23 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Sandy Ginoza <sginoza@amsl.com>
In-Reply-To: <3fac22d9-bbbc-4963-92f8-2a3aa399a390@www.fastmail.com>
Date: Mon, 03 May 2021 13:07:22 -0700
Cc: RFC Editor <rfc-editor@rfc-editor.org>, Sean Turner <sean@sn3rd.com>, Zaheduzzaman Sarker <Zaheduzzaman.Sarker@ericsson.com>, Martin Thomson via C430 <c430@rfc-editor.org>, Matt Joras <matt.joras@gmail.com>, Mark Nottingham <mnot@mnot.net>, Lucas Pardue <lucaspardue.24.7@gmail.com>, Lars Eggert <lars@eggert.org>, Martin Duke <martin.h.duke@gmail.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8C6D1371-0EF7-461B-A311-F2D762CDBE48@amsl.com>
References: <20210427074149.B07ADF40797@rfc-editor.org> <3fac22d9-bbbc-4963-92f8-2a3aa399a390@www.fastmail.com>
To: Martin Thomson <mt@lowentropy.net>
X-Mailer: Apple Mail (2.3273)
Subject: Re: [C430] AUTH48 [JM]: RFC 9001 <draft-ietf-quic-tls-34.txt> NOW AVAILABLE
X-BeenThere: c430@rfc-editor.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <c430.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/c430>, <mailto:c430-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/c430/>
List-Post: <mailto:c430@rfc-editor.org>
List-Help: <mailto:c430-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/c430>, <mailto:c430-request@rfc-editor.org?subject=subscribe>
X-List-Received-Date: Mon, 03 May 2021 20:07:07 -0000

Hi Martin,

Please see notes in-line below. 


> On Apr 28, 2021, at 7:24 PM, Martin Thomson <mt@lowentropy.net> wrote:
> 
> Thanks for the work on this document.
> 
> I've staged a bunch of changes in our source repository for review.  I will provide updated XML once that process is complete.  For now, I will try to note differences so that there are no surprises.
> 
> The complete set of outstanding changes to this document are in progress, so they are either in our working copy:
>  https://github.com/quicwg/base-drafts/blob/master/draft-ietf-quic-tls.md
> or they are in open pull requests that affect that document:
>  https://github.com/quicwg/base-drafts/pulls?q=is%3Apr+is%3Aopen+label%3A-tls
> 
> I have only made very minor changes in this document on top of what has been suggested.
> 
> One annoying little nit comes from unrelated edits in one paragraph that caused the string 2<sup>-57</sup> to render badly in text.  In text, this now renders with "2^-" on one line and "57" on the next.  Do we have any strategy for dealing with this?  I don't think that moving to a non-breaking hyphen is a good answer for this case.  Changes to xml2rfc so that it avoids line breaks before and inside <sup> (and <sub>) might be worth considering though.

Thanks for noting this.  We discussed this with the XML and style guide change management group - we will add a ticket to improve handling of line breaks.  This will be a low priority item.  For this case in particular, would the following update be acceptable:

Current:
   Thus, endpoints that do not send packets larger than 2^11 bytes
   cannot protect more than 2^28 packets in a single connection without
   causing an attacker to gain a larger advantage than the target of 2^-
   57.

Perhaps:
   Thus, endpoints that do not send packets larger than 2^11 bytes
   cannot protect more than 2^28 packets in a single connection without
   causing an attacker to gain a more significant advantage than the
   target of 2^-57.


> I have not yet worked out how to generate <th> elements instead of <td> for the left column of tables as proposed.  While the rendering from xml2rfc in text of a table like this is terrible enough that I was initially inclined to reject this change, that is a problem with xml2rfc, not the change.  The semantic change is good.  I just wanted to note that I've an open issue to work out how to manage this: https://github.com/quicwg/base-drafts/issues/4872
> 
> I note that many <artwork> elements have been converted to <sourcecode>.  This is mostly good, but I don't think that it is appropriate to label the notation we've invented here as "pseudocode".  I've not applied that change.  I note that RFC-to-be 8999 didn't include that change, which in this case is appropriate.  This is deliberately not a formal grammar, it's an illustration aid.

In RFC 9001, I believe the type was set to pseudocode where the lead-in text introduced what followed as pseudocode.  For these cases, is <sourcecode type=“”> suitable (i.e., no type set)?  Or is the preference to revert to <artwork>?    


> https://www.rfc-editor.org/authors/rfc9001-xmldiff2.html exists, but is broken.  The other XML diff currently shows numbered anchors.  The XML diff completely mangled the appendix, so I've applied changes based on the text diff only.

My mistake for not catching this — a corrected file is available.



> Though I did say I wouldn't update references, I have done so for the two that had changes here.  We have another tooling issue to work through; <refcontent> is being stripped out for the moment, but I'm working on that.
> 
> On Tue, Apr 27, 2021, at 17:41, rfc-editor@rfc-editor.org wrote:
>> 2) <!-- [rfced] Please review the items marked "Note:" and let us know 
>> if any should be marked as <aside>.  Some are not clear to us, 
>> especially those that contain RFC 2119 keywords.  
>> 
>> For example:
>>   Note:  An endpoint MUST NOT reject a ClientHello that offers a cipher
>>      suite that it does not support, or it would be impossible to
>>      deploy a new cipher suite.  This also applies to
>>      TLS_AES_128_CCM_8_SHA256.
>> 
>> -->
> 
> I found two such cases and have proposed changes that remove the "note: " lead-in.  The others are all appropriate uses of <aside/> and I've also proposed a matching change.  Now, if the rendering of <aside> in text weren't so terrible I'd be happy about this outcome.
> 
> I would say that better support in the grammar for notes would be worth exploring.  <aside prologue="Note"> would be a very useful feature.

We will pass your suggestion along to the XML and style guide change management group.


Thanks,
Sandy 






> 
>> 3) <!-- [rfced]  We are having difficulty parsing the following sentence. 
>> 
>> Current:
>>   The same number of bytes are always sampled, but an allowance needs 
>>   to be made for the endpoint removing protection, which will not know 
>>   the length of the Packet Number field.
>> 
>> Perhaps:
>>   The same number of bytes are always sampled, but an allowance needs 
>>   to be made for the removal of protection by the endpoint, which 
>>   will not know the length of the Packet Number field. 
>> -->
> 
> That is better, though endpoint role here probably needs clarification.  I've used "receiving endpoint" instead. 
> 
>> 4) <!-- [rfced]  FYI  We have updated the following cross reference to point 
>> to Section 9.5 (Header Protection Timing Side Channels) rather than 
>> 9.4 (Header Protection Analysis). Please let us know if changes are 
>> necessary:
> 
> Yes, this is a good change.  Thanks.
> 
>> 5) <!-- [rfced]  We are having difficulty parsing the following:
>> 
>> Current:
>>   Using dummy keys will generate no variation in the
>>   timing signal produced by attempting to remove packet protection, and
>>   results in all packets with an invalid Key Phase bit being rejected.
>> 
>> Perhaps:
>>   The use of dummy keys introduces no variation in the
>>   timing signal, which could be altered by attempting to remove packet 
>>   protection, and results in all packets with an invalid Key Phase bit 
>>   being rejected.
>> -->
> 
> That would subtly change the meaning.
> 
> I'm going to suggest:
> 
>> Using randomized keys ensures that attempting to remove packet protection does not result in timing variations, and results in packets with an invalid Key Phase bit being rejected.
> 
> An aside: someone noted that "dummy" was problematic and so I've separately changed this to "randomized" in the preceding sentence also.
> 
>> 6) <!-- [rfced]  FYI  We have made the following edit to improve readability.
>>   QUIC extensions MUST either describe how replay attacks affect their
>>   operation or prohibit the use of the extension in 0-RTT.  
> 
> This is good.
> 
>> 7) <!-- [rfced]  Note that we have updated the date and URL listed for 
>> [AEBounds] 
> 
> Thanks.
> 
>> 8) <!-- [rfced]  FYI  We have made the following update to improve 
>> readability. 
>>   *  The number of ciphertext blocks an attacker uses in forgery
>>      attempts is bounded by v * l, which is the number of forgery 
>>      attempts multiplied by the size of each packet (in blocks). 
> 
> Also good, thanks.
> 
>> 9) <!-- [rfced] Throughout the text, the following term appears to be used 
>> inconsistently. Please review these occurrences and let us know if/how they
>> may be made consistent.  
>> 
>> application data / Application Data / Application data
>> 
>> Note that RFC-to-be 9000 <draft-ietf-quic-transport> uses the lowercase 
>> form consistently.  
> 
> Yes. I have reviewed this and I think that I've made it more consistent.  The outcome is that figures will use title case for consistency (as appropriate) and text will use the lowercase form.  There is one reference to TLS Application Data, where I have kept the title case to match the usage in RFC 8446.
>