Re: [Cbor] Adoption call for CBOR Sequences

Joe Hildebrand <jhildebrand@mozilla.com> Thu, 01 August 2019 17:53 UTC

Return-Path: <jhildebrand@mozilla.com>
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 4BC3F120186 for <cbor@ietfa.amsl.com>; Thu, 1 Aug 2019 10:53:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mozilla.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 cdiwwLzFIehg for <cbor@ietfa.amsl.com>; Thu, 1 Aug 2019 10:53:32 -0700 (PDT)
Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (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 47874120182 for <cbor@ietf.org>; Thu, 1 Aug 2019 10:53:32 -0700 (PDT)
Received: by mail-io1-xd2d.google.com with SMTP id m24so146311966ioo.2 for <cbor@ietf.org>; Thu, 01 Aug 2019 10:53:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mozilla.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=6gLKmpdFP9WdyJcl9D9Ws/6rSJB+S48PS6ZcjJSdE60=; b=B37H6fgbaWDxI1D09MnzzkBPepvlvrWakLZeKvXarLpqz8iORd/p9/wS8y5DtdaeE/ tF9PuLVtJcuoIztYvwKZEViCrj7hGvaGLnfIszvblIHvrNfIgRgQJuYId4lIgdJ8R0QJ xacbu8FzIxk6lFbc8ng65dG5bxmtCddoGRYXI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=6gLKmpdFP9WdyJcl9D9Ws/6rSJB+S48PS6ZcjJSdE60=; b=nVeUd0qGH8ZFBAogn4XLwQgZqHBBnRFg8Qz9FEtmt/y0qQp3gsvFdBnq0EbOv/2Pih LKzvgxvkQkRBa4eCbei/bWGX9biqHfSdJDX5R+UPT4sXXiSvXB/3lW0KNgzsodZcMnpM RKRhLTKECpBwhXt4eY2rvsZrEsljpy2rzFHYIohqFTta7YyewKJRY9/U7Z4hpkdZtgi8 8B3HLYyogl9eL9DMPhiRiNAOljbSFy9NhgG+3VrZydUultQj/2vEpA64/5icWaBErH0R N2Fqy1Bael1W7gICGy7VX62w1Bj5PyEUCZ2znD/VB7OwnH129rIbOe/pRLGMV3A64Bn6 JGyA==
X-Gm-Message-State: APjAAAWiewFATBEfi2Per7WbnzxAgRVnKJhzw7HbBdud1ubEQYN86UtN yP7+vkrVz7mfDa1pJd0LDGmh9IC/0hk=
X-Google-Smtp-Source: APXvYqzdfsfSaFFv20FFYQ+C2xzyWlJLCv09A0r+1z/kfZ/f4dnZolSbHTxwElpFwGwFa+tFsWFwRg==
X-Received: by 2002:a5d:9ec4:: with SMTP id a4mr14799179ioe.125.1564682011350; Thu, 01 Aug 2019 10:53:31 -0700 (PDT)
Received: from [10.6.17.243] ([207.126.127.114]) by smtp.gmail.com with ESMTPSA id j5sm55657567iom.69.2019.08.01.10.53.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 10:53:30 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Joe Hildebrand <jhildebrand@mozilla.com>
In-Reply-To: <004a01d5461b$97fba390$c7f2eab0$@augustcellars.com>
Date: Thu, 1 Aug 2019 11:53:30 -0600
Cc: cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <B83D5750-445B-426B-88D8-F1B76B0EA2E1@mozilla.com>
References: <004a01d5461b$97fba390$c7f2eab0$@augustcellars.com>
To: Jim Schaad <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/fzvZq1Tz6gRiDjK7OSci53C2nvg>
Subject: Re: [Cbor] Adoption call for CBOR Sequences
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: Thu, 01 Aug 2019 17:53:34 -0000

I have read this document and support it being adopted.  

My existing code is a close match for this already.  I have to double-check that I'm not throwing an error on zero-length output, but I think that the doc is correct that zero-length inputs should be valid.

The end-of-file language in section 2 might need to be tweaked slightly as being provided by the external framing mechanism (be it a file or a network stream or what-have-you).

I like section 4.2, but would want to make it a little more clear that it is non-normative protocol design advice akin to section 3 of RFC 7049.

— 
Joe Hildebrand



> On Jul 29, 2019, at 8:40 AM, Jim Schaad <ietf@augustcellars.com>; wrote:
> 
> This starts a two week adoption call for draft-bormann-cbor-sequence ending
> 12 August 2019.
> 
> This document describes the Concise Binary Object Representation (CBOR)
> Sequence format and associated media type "application/cbor-seq".  A CBOR
> Sequence consists of any number of encoded CBOR data items, simply
> concatenated in sequence.
> 
> CBOR Chairs
> Francesca and Jim
> 
> 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor