Re: [Cbor] 🔔 WGLC on draft-ietf-cbor-array-tags-03

Jeffrey Yasskin <jyasskin@chromium.org> Wed, 13 March 2019 18:29 UTC

Return-Path: <jyasskin@google.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 6F0F9130F35 for <cbor@ietfa.amsl.com>; Wed, 13 Mar 2019 11:29:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.499
X-Spam-Level:
X-Spam-Status: No, score=-9.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=chromium.org
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 iTKFk7bi3VF6 for <cbor@ietfa.amsl.com>; Wed, 13 Mar 2019 11:29:31 -0700 (PDT)
Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 86C0612AF7E for <cbor@ietf.org>; Wed, 13 Mar 2019 11:29:31 -0700 (PDT)
Received: by mail-lj1-x229.google.com with SMTP id x13so2498025ljj.5 for <cbor@ietf.org>; Wed, 13 Mar 2019 11:29:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w04qyRO2ycN5yF0JktKxZ9lZqmGWnbtCxS1+29Vgdi4=; b=aDOkQZDdB7tKf32cVRa1L2pPZduqwYT8MJZpCok4mazDNB33ne5hT5H1XHVWzxhtKW F27mHstIZkGDzGtSdUSGfDJIg4C2cDOGgZJQHzalvjIGJp9GqBSytmKaV+uYOKTTRDOw ADbqool1Dqh1J3dfABrt4bcydLoWv9h2aNBRY=
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=w04qyRO2ycN5yF0JktKxZ9lZqmGWnbtCxS1+29Vgdi4=; b=guAefoURTNyaQiAQVKsHedMHomQ4pH8pL4WsXEqojyQb8CXRrac2jDenvDJkPqw2pk 4KsCrneVo9hZXOK3Z8vNwEFTTgpHUNEAYg7ciqEoVExWu1teXBsmqz5GWcopq+7HGFh2 RUY3chG4UaQVVL81kbKdVQZ/fwZAhVlSeC31+e18DtsXW6Urn00wAiBE4ViPyp4NKVYy 4ekVi5yowcRUyIjK6WtTv9T5eyiZjfGcclfI7zgfAdkE997gephn4/YQe/0OKMN6EAdy /Q0LobWjrYFMt+ue9I/Uiwjrdv4MlUXL5+zJ0v0frJFuJNZbQfSopBOZ1x6OoEIqqZCp NCKw==
X-Gm-Message-State: APjAAAVx4CUNuuV5DXKrG4uHs6VrL975yMa4sq/YCU7yDIz3tfNGq7u/ Fz97HGyr3st1dYmQkVQ1+bRk4nVYnDr/kooxXQr1HA==
X-Google-Smtp-Source: APXvYqydWvQzj6NB+kgkEgZtk1h4a65rdxrYlTU0B0tWeegL9cQXgj3f1dQ68vDuAydHWldZ/f27/q4lNIhoUPlr/Mw=
X-Received: by 2002:a2e:811:: with SMTP id 17mr25403085lji.42.1552501769435; Wed, 13 Mar 2019 11:29:29 -0700 (PDT)
MIME-Version: 1.0
References: <426CD514-B174-4CE7-B467-2727C6B5B354@ericsson.com> <6F7C83DD-E98C-44EF-A315-194E31759518@island-resort.com> <72F7B17A-2684-4591-8D70-01DE32BFA03B@island-resort.com>
In-Reply-To: <72F7B17A-2684-4591-8D70-01DE32BFA03B@island-resort.com>
From: Jeffrey Yasskin <jyasskin@chromium.org>
Date: Wed, 13 Mar 2019 11:29:17 -0700
Message-ID: <CANh-dX=Yao9pYfd-ubrsUsMYH6boqEKzaeZpYe09sz1tDovPxg@mail.gmail.com>
To: Laurence Lundblade <lgl@island-resort.com>
Cc: Francesca Palombini <francesca.palombini@ericsson.com>, "cbor@ietf.org" <cbor@ietf.org>, "draft-ietf-cbor-array-tags@ietf.org" <draft-ietf-cbor-array-tags@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000007b64910583fdfcda"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/KwPJvgt9W-YESKFyD-weY_rG7NI>
Subject: Re: [Cbor] =?utf-8?q?=F0=9F=94=94_WGLC_on_draft-ietf-cbor-array-tags?= =?utf-8?q?-03?=
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, 13 Mar 2019 18:29:34 -0000

On Fri, Mar 8, 2019 at 7:43 AM Laurence Lundblade <lgl@island-resort.com>;
wrote:

> In addition to what I said before, a deterministic encoding should be
> specified (formerly known as canonical) in the specification and that
> should probably be network / big endian.
>

I think it's the job of the protocol to describe how it's encoded
deterministically, rather than this tag. For example, the choice of whether
or not to tag an array at all is a potential point for non-determinism to
enter, so the protocol needs to specify whether there's a tag, and if so,
which one. At that point, it's made the choice of little-vs-big endian, so
there's no more question for this document to answer.

Jeffrey