Re: [Cbor] Lars Eggert's No Objection on draft-ietf-cbor-file-magic-11: (with COMMENT)

Carsten Bormann <cabo@tzi.org> Wed, 20 April 2022 15:44 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E0FBE3A0E3A; Wed, 20 Apr 2022 08:44:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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 jmCQQjHSDTR9; Wed, 20 Apr 2022 08:44:55 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 35CD63A0DF7; Wed, 20 Apr 2022 08:44:51 -0700 (PDT)
Received: from [192.168.217.118] (p5089ad4f.dip0.t-ipconnect.de [80.137.173.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4Kk4jq3NW1zDCbK; Wed, 20 Apr 2022 17:44:47 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <165038165332.18287.1889149892427829915@ietfa.amsl.com>
Date: Wed, 20 Apr 2022 17:44:47 +0200
Cc: The IESG <iesg@ietf.org>, draft-ietf-cbor-file-magic@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, Christian Amsüss <christian@amsuess.com>
X-Mao-Original-Outgoing-Id: 672162287.232107-1b3e20dcbb330c6ed06d6f8bfd61a5d3
Content-Transfer-Encoding: quoted-printable
Message-Id: <ADF164CC-9D3E-45E6-BC12-627C2225728E@tzi.org>
References: <165038165332.18287.1889149892427829915@ietfa.amsl.com>
To: Lars Eggert <lars@eggert.org>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/PtQwUkO21oL-QZlfDvdmSS4pE7w>
Subject: Re: [Cbor] Lars Eggert's No Objection on draft-ietf-cbor-file-magic-11: (with COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Apr 2022 15:45:00 -0000

Hi Lars,

thank you for these comments.

I have collected my proposed changes based on these comments in 

https://github.com/cbor-wg/cbor-magic-number/pull/21

> […]
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-cbor-file-magic/
> 
> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> "Abstract", paragraph 1, comment:
>>   This document defines an on-disk format for CBOR data items that is
>>   friendly to common on-disk recognition systems such as the Unix
>>   file(1) command.
> 
> I suggest to not talk about disks or stable storage in this abstract or the
> document body. What's actually being defined here is a file layout, and files
> can be stored on a variety of media. (And "file" isn't an "on-disk recognition
> system" either, it's a heuristic file type classifier.)

Indeed.
I have replaced “on-disk” by “stored”, and defined “file” for the purposes of this document.

(LE 1): Avoid "disk" (-> stored), define “file"
https://github.com/cbor-wg/cbor-magic-number/pull/21/commits/8152734


The rest of the comments below is addressed in
(LE 2): detailed comments

https://github.com/cbor-wg/cbor-magic-number/pull/21/commits/4d17d91


There will be a separate response to the GEN-ART review.

Grüße, Carsten


> 
> Section 2.1, paragraph 1, comment:
>>   The IANA policy for 4-byte CBOR Tags is First Come First Served, so
>>   all that is required is an email to IANA, having filled in the small
>>   template provided in Section 9.2 of [STD94].
> 
> FCFS codepoints may be requested in different ways in the future (e.g., web
> forms) in addition to email. The document need not go into details on how FCFS
> requests are made.
> 
> Section 2.1, paragraph 0, comment:
>>   In order to be in the four-byte range, and so that there are no
>>   leading zeros, the value needs to be in the range 0x01000000 (decimal
>>   16777216) to 0xFFFFFFFF (decimal 4294967295).
> 
> Including or excluding those two boundary values?
> 
> Section 2.1, paragraph -1, comment:
>>   The use of a sequence of four US-ASCII codes which are mnemonic to
>>   the protocol is encouraged, but not required.
> 
> If it's encouraged, why not require it, so that software can actually depend on
> it rather than needing to test for it? (Ditto for the suggestion to avoid
> zeroes.)
> 
> Thanks to Pete Resnick for their General Area Review Team (Gen-ART) review
> (https://mailarchive.ietf.org/arch/msg/gen-art/UX8_f-rnj6FGgrSKRd-WCB8SuYg).
> 
> -------------------------------------------------------------------------------
> 
> All comments below are about very minor potential issues that you may choose to
> address in some way - or ignore - as you see fit. Some were flagged by
> automated tools (via https://github.com/larseggert/ietf-reviewtool), so there
> will likely be some false positives. There is no need to let me know what you
> did with these suggestions.
> 
> Paragraph 7768, nit:
>> shutting the daemon down. During testing it is sometimes the case that upgr
>>                                  ^^^^^^^
> A comma is probably missing here.
> 
> Paragraph 7824, nit:
>> ot normally loaded in the daemon. Instead the IPC that is normally sent acro
>>                                  ^^^^^^^
> A comma may be missing after the conjunctive/linking adverb "Instead".
> 
> 
>