
From nobody Wed Mar  3 04:23:37 2021
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 72FBD3A0FB8; Wed,  3 Mar 2021 04:23:35 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
To: <cbor-chairs@ietf.org>, <cbor@ietf.org>, <draft-richardson-cbor-network-addresses@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 7.26.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <161477421545.23263.2801573087311332265@ietfa.amsl.com>
Date: Wed, 03 Mar 2021 04:23:35 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/DubT55UD7w2Yt3FPYVg2mSMD-L0>
Subject: [Cbor] The CBOR WG has placed draft-richardson-cbor-network-addresses in state "Adopted by a WG"
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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, 03 Mar 2021 12:23:35 -0000

The CBOR WG has placed draft-richardson-cbor-network-addresses in state
Adopted by a WG (entered by Christian Amsüss)

The document is available at
https://datatracker.ietf.org/doc/draft-richardson-cbor-network-addresses/



From nobody Wed Mar  3 04:23:43 2021
Return-Path: <christian@amsuess.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 48E8F3A0FB8; Wed,  3 Mar 2021 04:23:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 fg6TFSUQcKwN; Wed,  3 Mar 2021 04:23:39 -0800 (PST)
Received: from prometheus.amsuess.com (prometheus.amsuess.com [5.9.147.112]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 00CB53A0FD8; Wed,  3 Mar 2021 04:23:38 -0800 (PST)
Received: from poseidon-mailhub.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd]) by prometheus.amsuess.com (Postfix) with ESMTPS id 5304A407E4; Wed,  3 Mar 2021 13:23:33 +0100 (CET)
Received: from poseidon-mailbox.amsuess.com (poseidon-mailbox.amsuess.com [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id E4CC3D3; Wed,  3 Mar 2021 13:23:29 +0100 (CET)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a5bc:dfe8:ae76:33f8]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 7C7FF10A; Wed,  3 Mar 2021 13:23:29 +0100 (CET)
Received: (nullmailer pid 2647443 invoked by uid 1000); Wed, 03 Mar 2021 12:23:29 -0000
Date: Wed, 3 Mar 2021 13:23:29 +0100
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: cbor@ietf.org
Cc: draft-richardson-cbor-network-addresses@ietf.org, cbor-chairs@ietf.org
Message-ID: <YD9/wbRARmAaC9fe@hephaistos.amsuess.com>
References: <YCwai8ND5CBJKfno@hephaistos.amsuess.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ls9w83WjzJlwDNot"
Content-Disposition: inline
In-Reply-To: <YCwai8ND5CBJKfno@hephaistos.amsuess.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/5h2zwrF_ZV-2D--LWt-9ZMI8sok>
Subject: Re: [Cbor]  =?utf-8?q?=F0=9F=94=94_WG_adoption_call_on_draft-richards?= =?utf-8?q?on-cbor-network-addresses?=
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, 03 Mar 2021 12:23:41 -0000

--ls9w83WjzJlwDNot
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello CBOR group,

On Tue, Feb 16, 2021 at 08:18:35PM +0100, Christian Ams=FCss wrote:
> This starts a WG adoption call on
> <https://tools.ietf.org/html/draft-richardson-cbor-network-addresses-01>,
> ending on 2021-03-02 (Tuesday before the IETF). Please reply to this
> thread by stating support or opposition of the adoption.

there has been explicit support on the list. Adding my personal +1 for
adoption, and accepting the document into the group without further ado.

Michael, please submit the next version as draft-ietf-cbor-network-addresse=
s.

Thanks
Christian

--ls9w83WjzJlwDNot
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECM1tElX6OodcH7CWOY0REtOkveEFAmA/f7wACgkQOY0REtOk
veE+og//afxTr7tD3v6g5Ncln6Px+zTALCM1t0to0r5aaMATXuFur3lzrBmWvTDR
6QAWpJsGidBxvxtzk1csOGcN6UI7AB2/tMv6YdBUcM0CpoXSv0qHzKa+pr28jW+y
0BysEcF33QDkuIX1eeiYg7K0Rhukrq8A+EcRerR+o9yeOz3poxbUjv21jWq4mDgS
V+GVEOJChhspFMQw4X9eE+VQES3iy4vuyJoLoe/TqnZkuQvEPVz15uCPZH0KDdb4
xcdU1wupnSHyV42HM8s9D1nL7uAazkmsJ5SrV8PeGMKFDEL/LkAgWSqxovYcsR0V
IB0LpT00/5ac6OKgh5C+ILBv4RylvgwMhvNVTdUqku1iHGSEBPibvrcWTioIkrsi
ODV2LM4Jx6XQHKMhiMOy5D5iLRvsAcIYymkPoCRsnvN/6elk9ebvz/tGtaBnMYRT
Sbhcmr3tVdRV3aZiYJh0FbEczfof9uYThEg1QuzrYUqULDbyzH5qjbD2qxBIOZlY
e6IG1wYjowNMAF6ukQIqI5R5dmt5d7NvrTYs8/aVuE11j8I6F5jptlkAyJLvQ0sn
itgJ/j0qdjc6unIYCVCftsBXPkE8mAC//RCuGIuqnJZWBJkgKsHLdTYh9HRxCs/d
gEaaTW/mqOWz+s0gLT3Ic96DBUxL0INFB/HPWXtS8JVgxrrlObw=
=MZzM
-----END PGP SIGNATURE-----

--ls9w83WjzJlwDNot--


From nobody Wed Mar  3 04:27:59 2021
Return-Path: <christian@amsuess.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 C86243A0FCF; Wed,  3 Mar 2021 04:27:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 K_v3dWSIylHr; Wed,  3 Mar 2021 04:27:55 -0800 (PST)
Received: from prometheus.amsuess.com (prometheus.amsuess.com [5.9.147.112]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54EB73A0FCC; Wed,  3 Mar 2021 04:27:55 -0800 (PST)
Received: from poseidon-mailhub.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd]) by prometheus.amsuess.com (Postfix) with ESMTPS id C4897407E4; Wed,  3 Mar 2021 13:27:47 +0100 (CET)
Received: from poseidon-mailbox.amsuess.com (poseidon-mailbox.amsuess.com [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 67FFBD3; Wed,  3 Mar 2021 13:27:43 +0100 (CET)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a5bc:dfe8:ae76:33f8]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 0A5C610A; Wed,  3 Mar 2021 13:27:43 +0100 (CET)
Received: (nullmailer pid 2647930 invoked by uid 1000); Wed, 03 Mar 2021 12:27:42 -0000
Date: Wed, 3 Mar 2021 13:27:42 +0100
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: cbor@ietf.org
Cc: draft-richardson-cbor-file-magic@ietf.org, cbor-chairs@ietf.org
Message-ID: <YD+AvmwA73y4jB6N@hephaistos.amsuess.com>
References: <YCwajOdK//yoqe20@hephaistos.amsuess.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QACzAdoUAXgecNaN"
Content-Disposition: inline
In-Reply-To: <YCwajOdK//yoqe20@hephaistos.amsuess.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/1wSj_xNro6DnlSjuwqCX1RgmvS8>
Subject: Re: [Cbor]  =?utf-8?q?=F0=9F=94=94_WG_adoption_call_on_draft-richards?= =?utf-8?q?on-cbor-file-magic?=
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, 03 Mar 2021 12:27:58 -0000

--QACzAdoUAXgecNaN
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello CBOR group,

On Tue, Feb 16, 2021 at 08:18:36PM +0100, Christian Ams=FCss wrote:
> This starts a WG adoption call on
> <https://tools.ietf.org/html/draft-richardson-cbor-file-magic-01>,
> ending on 2021-03-02 (Tuesday before the IETF). Please reply to this
> thread by stating support or opposition of the adoption.

there has been explicit support on the list. Adding my personal +1 for
adoption, and accepting the document into the group without further ado.

Michael, please submit the next version as draft-ietf-cbor-file-magic
whenever that is ready.

Thanks
Christian

--=20
A beginning is the time for taking the most delicate care that the
balances are correct.
  -- Princess Irulan, Manual of Muad'Dib

--QACzAdoUAXgecNaN
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECM1tElX6OodcH7CWOY0REtOkveEFAmA/gL4ACgkQOY0REtOk
veEyeQ/+OA1j2WYVT8FySyaCeCclDnGBbfUMNg2uPqSc6Ks3+wcXWUl+DDTSsAt4
36Z7hNCcc4LhIkTjGr1J2nR45fKvxb3CZAES+I5BIlM5w/X6hGmy28yL9Pxd17j6
uZOF5mRkB+4vbteAd/+2Jn5oFDiT9yQJ5X0sQHJ9aptFr1BtratgWpNupOR/zpxQ
0/0kRpYhxPjHY7MePubOapr9P/MrROhumtuvoyYXO7L5E3q9dzOMLsjp80Fih0/6
UU1/x51R4/vK66cxdMx/IOObZfOorjn/fFZCKLEutP8Hx+ZQ2e2OE8ZBVUInsCJm
FhV4Dy5R3udqpcLyv7eHCyrff5+OEYgv63VAVM6vNcUh62sw124T1QCI4KwGNYiU
5xi70GYCje04mjah474ZE2Nmyw/G+ybrVG1XAFMqVFfDRQev58gR+qLtor3wVQGY
vd1Ptuc1eSOKwqlp/Mq55YO/7nK09FCLA0sLH5q/VWSNWs/1YSX7UP3ncPMx34/D
OowoQAqohtLW3QIPL3wB34Q3oqossl2NQXUgpxqxTwYDMYXpG565lKjzTPTu7Zmi
qFP2OFqOYPrenwbh3Vw94eLcPupRW3X4mkUp3yhemXe+58gN1ClMRnwCm1XpC78I
8K5wGw384bx/RyFe0/xMgvHUkNcz4yA41W/81YgjWuwq4zmcCFw=
=jTTT
-----END PGP SIGNATURE-----

--QACzAdoUAXgecNaN--


From nobody Wed Mar  3 04:28:22 2021
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 0AA0F3A0FD7; Wed,  3 Mar 2021 04:28:21 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
To: <cbor-chairs@ietf.org>, <cbor@ietf.org>, <draft-richardson-cbor-file-magic@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 7.26.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <161477450102.21448.6925645949496652502@ietfa.amsl.com>
Date: Wed, 03 Mar 2021 04:28:21 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/gOVytLwHZy-mXHFFs-qkI6hzQFg>
Subject: [Cbor] The CBOR WG has placed draft-richardson-cbor-file-magic in state "Adopted by a WG"
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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, 03 Mar 2021 12:28:21 -0000

The CBOR WG has placed draft-richardson-cbor-file-magic in state
Adopted by a WG (entered by Christian Amsüss)

The document is available at
https://datatracker.ietf.org/doc/draft-richardson-cbor-file-magic/



From nobody Wed Mar  3 06:50:17 2021
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 1F9243A141B for <cbor@ietfa.amsl.com>; Wed,  3 Mar 2021 06:50:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 ITnIn4T_pxjt for <cbor@ietfa.amsl.com>; Wed,  3 Mar 2021 06:50:13 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 860D63A141A for <cbor@ietf.org>; Wed,  3 Mar 2021 06:50:13 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4DrH3R6JZ3zyRg; Wed,  3 Mar 2021 15:50:11 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <DDB153F6-B2AA-4D12-BB1C-9C2D90AD6DA3@tzi.org>
Date: Wed, 3 Mar 2021 15:50:11 +0100
X-Mao-Original-Outgoing-Id: 636475811.251511-47ed9bb6f9f7e6cc3f127385b8252b17
Content-Transfer-Encoding: quoted-printable
Message-Id: <6F6CB2FB-A7A0-4C57-A70A-267175B04DBF@tzi.org>
References: <AC771EE9-9672-4B2D-B66A-2C815D102687@tzi.org> <358dd1e3-74a5-c32e-235a-c0a6c308ae6f@alum.mit.edu> <CD82E5A7-4D46-412F-B45F-B4970C2FF8E8@tzi.org> <3a80f922-cfc9-2831-c4f0-7c918e211d74@alum.mit.edu> <8B7422CF-6DE1-4ACB-B6A8-BE0B466BB072@tzi.org> <DDB153F6-B2AA-4D12-BB1C-9C2D90AD6DA3@tzi.org>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/EE2EqoCZ6W2QZGYj94xHOPNu7FA>
Subject: Re: [Cbor] cddl 0.8.17: Add .abnf (draft-ietf-cbor-cddl-control)
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, 03 Mar 2021 14:50:16 -0000

On 2021-02-27, at 14:36, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> The retronym generation process for .bat is now officially started (or =
maybe you have a different name for this that also is short and to the =
point; .cat-with-undenting-of-right-hand-side is not it).

Well, the obvious name is dedenting cat, or .dedcat.

As some animal lovers won=E2=80=99t like that abbreviation too much, I =
propose to shorten that to .det (*).

Gr=C3=BC=C3=9Fe, Carsten

(*)
It is relatively unlikely that we will need a CDDL operator for =
determinants.

Oh, and for Germans, Det is the left guy on this photo: =
https://de.wikipedia.org/wiki/Mainzelm%C3%A4nnchen#/media/Datei:Mainzelm%C=
3%A4nnchen_Det_Conni_Goebel.jpg =E2=80=94
who has been close to my heart since the 1960s, especially since when I =
got my first glasses.



From nobody Wed Mar  3 07:54:05 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id A328A3A1575; Wed,  3 Mar 2021 07:54:03 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: =?utf-8?q?Christian_Ams=C3=BCss_via_Datatracker?= <noreply@ietf.org>
To: <barryleiba@gmail.com>
X-Test-IDTracker: no
X-IETF-IDTracker: 7.26.0
Auto-Submitted: auto-generated
Precedence: bulk
Cc: cbor-chairs@ietf.org, cbor@ietf.org, christian@amsuess.com, iesg-secretary@ietf.org
Message-ID: <161478684364.24158.3306212820521640804@ietfa.amsl.com>
Date: Wed, 03 Mar 2021 07:54:03 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/0LhposBMddMMR5lChSxMBCNyLwE>
Subject: [Cbor] Publication has been requested for draft-ietf-cbor-tags-oid-05
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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, 03 Mar 2021 15:54:04 -0000

Christian Amsüss has requested publication of draft-ietf-cbor-tags-oid-05 as Proposed Standard on behalf of the CBOR working group.

Please verify the document's state at https://datatracker.ietf.org/doc/draft-ietf-cbor-tags-oid/



From nobody Wed Mar  3 08:14:11 2021
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id C7F873A15C5; Wed,  3 Mar 2021 08:14:09 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 7.26.0
Auto-Submitted: auto-generated
Precedence: bulk
CC: barryleiba@gmail.com, cbor-chairs@ietf.org, cbor@ietf.org, christian@amsuess.com, draft-ietf-cbor-tags-oid@ietf.org
Reply-To: last-call@ietf.org
Sender: <iesg-secretary@ietf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-ID: <161478804980.26099.10355192606526568978@ietfa.amsl.com>
Date: Wed, 03 Mar 2021 08:14:09 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/OX5VFO2KsEXwADwni_F8xxxipI4>
Subject: [Cbor] Last Call: <draft-ietf-cbor-tags-oid-05.txt> (Concise Binary Object Representation (CBOR) Tags for Object Identifiers) to Proposed Standard
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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, 03 Mar 2021 16:14:10 -0000

The IESG has received a request from the Concise Binary Object Representation
Maintenance and Extensions WG (cbor) to consider the following document: -
'Concise Binary Object Representation (CBOR) Tags for Object
   Identifiers'
  <draft-ietf-cbor-tags-oid-05.txt> as Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits final
comments on this action. Please send substantive comments to the
last-call@ietf.org mailing lists by 2021-03-24. Exceptionally, comments may
be sent to iesg@ietf.org instead. In either case, please retain the beginning
of the Subject line to allow automated sorting.

Abstract


   The Concise Binary Object Representation (CBOR, RFC 8949) is a data
   format whose design goals include the possibility of extremely small
   code size, fairly small message size, and extensibility without the
   need for version negotiation.

   The present document defines CBOR tags for object identifiers (OIDs).
   It is intended as the reference document for the IANA registration of
   the CBOR tags so defined.




The file can be obtained via
https://datatracker.ietf.org/doc/draft-ietf-cbor-tags-oid/



No IPR declarations have been submitted directly on this I-D.


The document contains these normative downward references.
See RFC 3967 for additional information: 
    rfc6256: Using Self-Delimiting Numeric Values in Protocols (Informational - IRTF Stream)





From nobody Wed Mar  3 09:19:34 2021
Return-Path: <housley@vigilsec.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 2F5823A1700 for <cbor@ietfa.amsl.com>; Wed,  3 Mar 2021 09:19:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 D_bldRejNVhn for <cbor@ietfa.amsl.com>; Wed,  3 Mar 2021 09:19:30 -0800 (PST)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4CE423A16F8 for <cbor@ietf.org>; Wed,  3 Mar 2021 09:19:30 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 12CDC300B6A for <cbor@ietf.org>; Wed,  3 Mar 2021 12:11:17 -0500 (EST)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OfhretioVEiG for <cbor@ietf.org>; Wed,  3 Mar 2021 12:11:14 -0500 (EST)
Received: from [192.168.1.161] (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id 50040300B54; Wed,  3 Mar 2021 12:11:14 -0500 (EST)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <161478804980.26099.10355192606526568978@ietfa.amsl.com>
Date: Wed, 3 Mar 2021 12:11:14 -0500
Cc: christian@amsuess.com, cbor@ietf.org, barryleiba@gmail.com, draft-ietf-cbor-tags-oid@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <C0ABE813-36C8-4D0F-8540-42FCA7584C3E@vigilsec.com>
References: <161478804980.26099.10355192606526568978@ietfa.amsl.com>
To: last-call@ietf.org
X-Mailer: Apple Mail (2.3445.104.17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/ZOO8TaA9KzdgE1Wc3LNdeCvW-7I>
Subject: Re: [Cbor] Last Call: <draft-ietf-cbor-tags-oid-05.txt> (Concise Binary Object Representation (CBOR) Tags for Object Identifiers) to Proposed Standard
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, 03 Mar 2021 17:19:32 -0000

I had to read Section 2 several time to fully understand it, and I was =
not sure I got it right until I worked through the examples in Section =
3.  I think a small change would have helped me.

The text says "...MUST be a syntactically valid BER representation of an =
object identifier ...", but this is not fully correct.  It is the value =
portion of the BER representation.  The CBOR encoding does not carry =
(and dies not need to carry) the type of length bytes of the BER =
representation.

Russ=20

> On Mar 3, 2021, at 11:14 AM, The IESG <iesg-secretary@ietf.org> wrote:
>=20
>=20
> The IESG has received a request from the Concise Binary Object =
Representation
> Maintenance and Extensions WG (cbor) to consider the following =
document: -
> 'Concise Binary Object Representation (CBOR) Tags for Object
>   Identifiers'
>  <draft-ietf-cbor-tags-oid-05.txt> as Proposed Standard
>=20
> The IESG plans to make a decision in the next few weeks, and solicits =
final
> comments on this action. Please send substantive comments to the
> last-call@ietf.org mailing lists by 2021-03-24. Exceptionally, =
comments may
> be sent to iesg@ietf.org instead. In either case, please retain the =
beginning
> of the Subject line to allow automated sorting.
>=20
> Abstract
>=20
>=20
>   The Concise Binary Object Representation (CBOR, RFC 8949) is a data
>   format whose design goals include the possibility of extremely small
>   code size, fairly small message size, and extensibility without the
>   need for version negotiation.
>=20
>   The present document defines CBOR tags for object identifiers =
(OIDs).
>   It is intended as the reference document for the IANA registration =
of
>   the CBOR tags so defined.
>=20
>=20
>=20
>=20
> The file can be obtained via
> https://datatracker.ietf.org/doc/draft-ietf-cbor-tags-oid/
>=20
>=20
>=20
> No IPR declarations have been submitted directly on this I-D.
>=20
>=20
> The document contains these normative downward references.
> See RFC 3967 for additional information:=20
>    rfc6256: Using Self-Delimiting Numeric Values in Protocols =
(Informational - IRTF Stream)


From nobody Wed Mar  3 15:16:03 2021
Return-Path: <mcr+ietf@sandelman.ca>
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 CDE803A1D11; Wed,  3 Mar 2021 15:16:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 APRSDhuVEq_C; Wed,  3 Mar 2021 15:16:00 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 763503A1D10; Wed,  3 Mar 2021 15:16:00 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 79C0C389B2; Wed,  3 Mar 2021 18:20:37 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1m29BfD6ZGsf; Wed,  3 Mar 2021 18:20:36 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id BF44A389B1; Wed,  3 Mar 2021 18:20:36 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id E361B885; Wed,  3 Mar 2021 18:15:57 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Christian =?us-ascii?Q?=3D=3Fiso-8859-1=3FQ=3FAms=3DFCss=3F=3D?= <christian@amsuess.com>
cc: cbor@ietf.org, draft-richardson-cbor-network-addresses@ietf.org, cbor-chairs@ietf.org
In-Reply-To: <YD9/wbRARmAaC9fe@hephaistos.amsuess.com>
References: <YCwai8ND5CBJKfno@hephaistos.amsuess.com> <YD9/wbRARmAaC9fe@hephaistos.amsuess.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Wed, 03 Mar 2021 18:15:57 -0500
Message-ID: <16410.1614813357@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/rG7TH0_GhasbKvgjcoBeIFWUEZU>
Subject: Re: [Cbor]  =?utf-8?q?=F0=9F=94=94_WG_adoption_call_on_draft-richards?= =?utf-8?q?on-cbor-network-addresses?=
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, 03 Mar 2021 23:16:03 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Christian Ams=C3=BCss <christian@amsuess.com> wrote:
    > On Tue, Feb 16, 2021 at 08:18:35PM +0100, Christian Ams=C3=BCss wrote:
    >> This starts a WG adoption call on
    >> <https://tools.ietf.org/html/draft-richardson-cbor-network-addresses=
-01>,
    >> ending on 2021-03-02 (Tuesday before the IETF). Please reply to this
    >> thread by stating support or opposition of the adoption.

    > there has been explicit support on the list. Adding my personal +1 for
    > adoption, and accepting the document into the group without further
    > ado.

    > Michael, please submit the next version as
    > draft-ietf-cbor-network-addresses.

Wonderbar! I will post both on Monday.






=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmBAGK0ACgkQgItw+93Q
3WXRHgf/cdhrRMXLFyGJJggtdSaNgU+r/KVzIoImjfUuGsKcAiUtk1iAgV6lROWx
aTgkvOQdABXod93yUjhVBOxyxWWtvfxgsUCduSFOyAl1euSkGNakykUchD8TE/D+
Jko06NzGHZKyI+V3UKU+AMOP518V7R1gXLUTsz7Pt9DvtrWiFcYTFXjAyQkJk7bt
THEMe9EEjgevuKaElnq6KSJZZVzv7f4SIHqHM53/YfVupwJrThRR4qJ28ekh9Hec
t1YEAjLw5ZCtD1A0ze10scrOHQQDmrNW3vg/PUcf8AtR/c0Q5EnvhPaiGy8n/n/g
DlZ83VLcVzISqyERujWCLtEsUKWnSg==
=wl4A
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Thu Mar  4 01:43:35 2021
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 9AE4A3A17D0; Thu,  4 Mar 2021 01:43:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 PG-JJuQhXTsc; Thu,  4 Mar 2021 01:43:26 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9298F3A17CD; Thu,  4 Mar 2021 01:43:26 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4DrmC03b12zyVd; Thu,  4 Mar 2021 10:43:24 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <C0ABE813-36C8-4D0F-8540-42FCA7584C3E@vigilsec.com>
Date: Thu, 4 Mar 2021 10:43:24 +0100
Cc: Last Call <last-call@ietf.org>, =?utf-8?Q?Christian_Ams=C3=BCss?= <christian@amsuess.com>, cbor@ietf.org, barryleiba@gmail.com, draft-ietf-cbor-tags-oid@ietf.org
X-Mao-Original-Outgoing-Id: 636543804.043149-b09c1519cd5c6dda4e8ef0cc890ff716
Content-Transfer-Encoding: quoted-printable
Message-Id: <E7DB52CC-8565-4AFC-AB16-6EFA299B9520@tzi.org>
References: <161478804980.26099.10355192606526568978@ietfa.amsl.com> <C0ABE813-36C8-4D0F-8540-42FCA7584C3E@vigilsec.com>
To: Russ Housley <housley@vigilsec.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/g4Rqy1Z9RoZUi-6mhDuPQ0oPI1Y>
Subject: Re: [Cbor] [Last-Call] Last Call: <draft-ietf-cbor-tags-oid-05.txt> (Concise Binary Object Representation (CBOR) Tags for Object Identifiers) to Proposed Standard
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, 04 Mar 2021 09:43:31 -0000

On 2021-03-03, at 18:11, Russ Housley <housley@vigilsec.com> wrote:
>=20
> The text says "...MUST be a syntactically valid BER representation of =
an object identifier ...", but this is not fully correct.  It is the =
value portion of the BER representation.  The CBOR encoding does not =
carry (and dies not need to carry) the type of length bytes of the BER =
representation.

Indeed.

Now https://github.com/cbor-wg/cbor-oid/pull/8

Thank you!

Gr=C3=BC=C3=9Fe, Carsten


From nobody Thu Mar  4 03:56:55 2021
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 EE1A93A19CB for <cbor@ietfa.amsl.com>; Thu,  4 Mar 2021 03:56:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level: 
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, 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 5ZXSryzdOVQG for <cbor@ietfa.amsl.com>; Thu,  4 Mar 2021 03:56:49 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 80F6D3A19C9 for <cbor@ietf.org>; Thu,  4 Mar 2021 03:56:49 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4Drq8v2bmgzyVH; Thu,  4 Mar 2021 12:56:47 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <6F6CB2FB-A7A0-4C57-A70A-267175B04DBF@tzi.org>
Date: Thu, 4 Mar 2021 12:56:46 +0100
X-Mao-Original-Outgoing-Id: 636551806.8765939-daa83303cbe79a5b5decd2bbd57c3b86
Content-Transfer-Encoding: quoted-printable
Message-Id: <4089140A-8867-4831-A2F3-CF1D3EB2CE65@tzi.org>
References: <AC771EE9-9672-4B2D-B66A-2C815D102687@tzi.org> <358dd1e3-74a5-c32e-235a-c0a6c308ae6f@alum.mit.edu> <CD82E5A7-4D46-412F-B45F-B4970C2FF8E8@tzi.org> <3a80f922-cfc9-2831-c4f0-7c918e211d74@alum.mit.edu> <8B7422CF-6DE1-4ACB-B6A8-BE0B466BB072@tzi.org> <DDB153F6-B2AA-4D12-BB1C-9C2D90AD6DA3@tzi.org> <6F6CB2FB-A7A0-4C57-A70A-267175B04DBF@tzi.org>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/AA4vJzP5ye0_knP9U8QgX_l7Dzs>
Subject: Re: [Cbor] cddl 0.8.17: Add .abnf (draft-ietf-cbor-cddl-control)
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, 04 Mar 2021 11:56:52 -0000

.det is now in=20
https://github.com/cbor-wg/cddl-control/pull/6
as well as in CDDL tool 0.8.21 (gem update).

Gr=C3=BC=C3=9Fe, Carsten


From nobody Thu Mar  4 11:03:00 2021
Return-Path: <christian@amsuess.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 49EEB3A146E for <cbor@ietfa.amsl.com>; Thu,  4 Mar 2021 11:02:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 wkiDTiAY6iqT for <cbor@ietfa.amsl.com>; Thu,  4 Mar 2021 11:02:56 -0800 (PST)
Received: from prometheus.amsuess.com (prometheus.amsuess.com [5.9.147.112]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9D14C3A146A for <cbor@ietf.org>; Thu,  4 Mar 2021 11:02:56 -0800 (PST)
Received: from poseidon-mailhub.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd]) by prometheus.amsuess.com (Postfix) with ESMTPS id 8B3C0407B5 for <cbor@ietf.org>; Thu,  4 Mar 2021 20:02:53 +0100 (CET)
Received: from poseidon-mailbox.amsuess.com (hermes.amsuess.com [10.13.13.254]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 93464D3 for <cbor@ietf.org>; Thu,  4 Mar 2021 20:02:52 +0100 (CET)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:5bc8:c736:82a1:6aa5]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 22E1F10A for <cbor@ietf.org>; Thu,  4 Mar 2021 20:02:52 +0100 (CET)
Received: (nullmailer pid 2825626 invoked by uid 1000); Thu, 04 Mar 2021 19:02:51 -0000
Date: Thu, 4 Mar 2021 20:02:51 +0100
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: cbor@ietf.org
Message-ID: <YEEu227lwNUT+nrP@hephaistos.amsuess.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MGc+87cVlEZ/b9Bf"
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/IQJ96ea2J7vxm8skk9dPda2gOGw>
Subject: [Cbor] CBOR agenda for IETF 110
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, 04 Mar 2021 19:02:59 -0000

--MGc+87cVlEZ/b9Bf
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello CBOR group,

the agenda for our IETF 110 meeting has been set as follows:

Mon, 2021-03-08, 14:30-15:30 UTC

* Active WG documents
  * draft-ietf-cbor-tags-oid-05 (Chairs) -- 5'
 =20
  * draft-ietf-cbor-cddl-control-02 (CB) -- 5'
  * draft-ietf-cbor-packed-02 (CB) -- 15'
    with a focus on open questions

  * draft-richardson-cbor-file-magic-01 (MCR) -- 10'
  * draft-richardson-cbor-network-addresses-01 (MCR) -- 10'

* Individual
  * draft-bormann-cbor-time-tag-04 (CB) -- 5'
    as a candidate for working group adoption
  * ordered map (cbor-map-entries) (Kio) -- 5'
  * draft-bormann-cbor-notable-tags-03 (CB) -- 5'

* If time allows
  * draft-bormann-cbor-cddl-freezer-05 -- 0'

=CE=A3: 60'

Presenters, please upload PDF slides in the data tracker (or send them
to me) before Monday 11:00 UTC.

Best regards
Christian

--=20
You don't use science to show that you're right, you use science to
become right.
  -- Randall Munroe

--MGc+87cVlEZ/b9Bf
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECM1tElX6OodcH7CWOY0REtOkveEFAmBBLtcACgkQOY0REtOk
veFvIg//ela0i+AmZIst8P642eptPiRGQuoVqBvry7kNyG4clfHcSOruS8kN6YlL
ODXklQDx4nKZdh8gxAJ8aIj6gdRUqA71PrKY20bjPyED8yB2+p8OXEQNo1vd47gR
vyvyj7n+Wvf/Bo4KplEywC6qOmUZjYBZ5MEvb69KOGwK8bhFDZQgPBMGdd49LnlG
CiJ5G16Cz9hslL/WYbxxQB9fuLLxlTFM8qvN8PhQdYjHuvg+f9C0R4RMHS9bKJAn
KkFhx4LhvIxjN9TH7QcsivVojTxOPNn1xdShnVV3Ziw+gO7qNvBpATmyyX6BIm9v
/tmxG0S44umM5swq+ozOEm8g0zeVA1jQVYvQxvBuHumZX89tjh9zyMmM0PlQu0bJ
3MVGSpPU5agYHKsRGhYmqrHWEYlq/OlmJy8d72ddDSE2QTUIfH1fOkRB+qHtSBsa
FA55fnSv/sosnHH5nJno4kIe+nnpPo2EJCXs5cD3iowkHY+xJfPyf3/CALEFs1mp
kxG7Ocy8i2ZNCZNNEFq3QVRySdj/6Pqwc44kMEwcVrXYRwQ4vcKgIX+hfDQVl6jo
wPqIVhqu7WZPRB+h5BP5zobSmY4w8RP0hcKRfXOXQc9tYjxhk1nJrpMcJccqEct0
11hif9GnKLrbp7tUjmRAu/o3h8KlhQ8JRZ72bdHt0QNLUwCz6G4=
=xTEo
-----END PGP SIGNATURE-----

--MGc+87cVlEZ/b9Bf--


From nobody Fri Mar  5 08:26:51 2021
Return-Path: <mcr+ietf@sandelman.ca>
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 D1F2B3A27A5 for <cbor@ietfa.amsl.com>; Fri,  5 Mar 2021 08:26:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 XLYGU8eRjtCr for <cbor@ietfa.amsl.com>; Fri,  5 Mar 2021 08:26:48 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 207E53A278A for <cbor@ietf.org>; Fri,  5 Mar 2021 08:26:48 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id C71C2389E9; Fri,  5 Mar 2021 11:31:31 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bg5oJXBCguKC; Fri,  5 Mar 2021 11:31:30 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id D8D04389E8; Fri,  5 Mar 2021 11:31:30 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 8759FB2; Fri,  5 Mar 2021 11:26:45 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Christian =?us-ascii?Q?=3D=3Fiso-8859-1=3FQ=3FAms=3DFCss=3F=3D?= <christian@amsuess.com>
cc: cbor@ietf.org
In-Reply-To: <YEEu227lwNUT+nrP@hephaistos.amsuess.com>
References: <YEEu227lwNUT+nrP@hephaistos.amsuess.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Fri, 05 Mar 2021 11:26:45 -0500
Message-ID: <22944.1614961605@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/6H1T797IFbEv-zIjsP7COiLEqmA>
Subject: Re: [Cbor] CBOR agenda for IETF 110
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: Fri, 05 Mar 2021 16:26:50 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Christian Ams=C3=BCss <christian@amsuess.com> wrote:
    >   * draft-richardson-cbor-file-magic-01 (MCR) -- 10' *
    > draft-richardson-cbor-network-addresses-01 (MCR) -- 10'

I doubt I'll need ten minutes each.
I'll post slides this afternoon.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmBCW8UACgkQgItw+93Q
3WUXLQf/eiFYRUwdOaBjsVdtH1Is1ungKEKhpKav5KIPKq4PRRS/8HszSr/dclE/
nyaEFXYOwCo43Wl9EeMWJ9h5IeZaaoA97M8OdfQwkqrHqikYqlOsvGtKd3oOCwfT
HUkWxTudSSbx+b/v04L7b3pU6yOeqYbEXW8tltWBj0HjqX9r25jyVEnQQTmOJZn9
Jmk+ovL5Iiya4dtkoSVXcLeo2zPa3dbiaH/TbXqrkO0LJ4Q7g42uFNZtAOArokv/
6Fg0YEaITMGblNGRHwU1HNTRgjBf8xKoNZuYOazjc5JvCeGC7uqpbwLpfEPgFUV0
XGFeTufU7B/iui/b6MlM6ah29XdlqQ==
=DV6q
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Sun Mar  7 03:45:57 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 57CB13A111C; Sun,  7 Mar 2021 03:45:55 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <161511755523.23050.14330066930873250269@ietfa.amsl.com>
Date: Sun, 07 Mar 2021 03:45:55 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/gZxCtvzeQ-0FyoWFeqclvwMgABs>
Subject: [Cbor] I-D Action: draft-ietf-cbor-file-magic-00.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 07 Mar 2021 11:45:55 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : On storing CBOR encoded items on stable storage
        Author          : Michael Richardson
	Filename        : draft-ietf-cbor-file-magic-00.txt
	Pages           : 8
	Date            : 2021-03-06

Abstract:
   This document proposes an on-disk format for CBOR objects that is
   friendly to common on-disk recognition systems like the Unix file(1)
   command.

   This document is being discussed at: https://github.com/mcr/cbor-
   magic-number


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-file-magic/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-file-magic-00.html


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Sun Mar  7 03:46:32 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 178C83A117D; Sun,  7 Mar 2021 03:46:19 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <161511757905.27183.11512319766901982442@ietfa.amsl.com>
Date: Sun, 07 Mar 2021 03:46:19 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Bm1XHL6vlmyw4YSkyXXtLhT7ck4>
Subject: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-00.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 07 Mar 2021 11:46:26 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : CBOR tags for IPv4 and IPv6 addresses and prefixes
        Author          : Michael Richardson
	Filename        : draft-ietf-cbor-network-addresses-00.txt
	Pages           : 4
	Date            : 2021-03-06

Abstract:
   This document describes two CBOR Tags to be used with IPv4 and IPv6
   addresses and prefixes.

   RFC-EDITOR-please remove: This work is tracked at
   https://github.com/mcr/cbor-network-address.git


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-network-addresses-00.html


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Sun Mar  7 11:16:46 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AC893A1B32; Sun,  7 Mar 2021 11:16:41 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <161514460151.27711.5917503298881031512@ietfa.amsl.com>
Date: Sun, 07 Mar 2021 11:16:41 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/hBTdVuGvUlf1MhtxN9qBqQRuBcs>
Subject: [Cbor] I-D Action: draft-ietf-cbor-cddl-control-03.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 07 Mar 2021 19:16:42 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : Additional Control Operators for CDDL
        Author          : Carsten Bormann
	Filename        : draft-ietf-cbor-cddl-control-03.txt
	Pages           : 12
	Date            : 2021-03-07

Abstract:
   The Concise Data Definition Language (CDDL), standardized in RFC
   8610, provides "control operators" as its main language extension
   point.

   The present document defines a number of control operators that did
   not make it into RFC 8610: ".plus", ".cat" and ".det" for the
   construction of constants, ".abnf"/".abnfb" for including ABNF (RFC
   5234/RFC 7405) in CDDL specifications, and ".feature" for indicating
   the use of a non-basic feature in an instance.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl-control/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-cddl-control-03.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-cddl-control-03


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Sun Mar  7 11:20:11 2021
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 978DE3A1B3D for <cbor@ietfa.amsl.com>; Sun,  7 Mar 2021 11:20:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 AXz6MwJwN2wn for <cbor@ietfa.amsl.com>; Sun,  7 Mar 2021 11:20:06 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 884433A1B3A for <cbor@ietf.org>; Sun,  7 Mar 2021 11:20:06 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4Dtrs035XmzyWD; Sun,  7 Mar 2021 20:20:04 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <161514460151.27711.5917503298881031512@ietfa.amsl.com>
Date: Sun, 7 Mar 2021 20:20:04 +0100
X-Mao-Original-Outgoing-Id: 636837603.9145809-c05ee53c46c38891c32bfca475b8d917
Content-Transfer-Encoding: quoted-printable
Message-Id: <BA5404FF-46D1-436C-BAC2-947504330DED@tzi.org>
References: <161514460151.27711.5917503298881031512@ietfa.amsl.com>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/wQ-ys_r_9Y1WUiu4pLsoHKIrBLk>
Subject: Re: [Cbor] I-D Action: draft-ietf-cbor-cddl-control-03.txt
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: Sun, 07 Mar 2021 19:20:11 -0000

I uploaded a version with .det =E2=80=94 if we decide tomorrow we =
don=E2=80=99t like that, this is easy to back out.

The intention is that -03, if we like it, would be the basis for =
potential pre-WGLC reviews and/or a WGLC.

Gr=C3=BC=C3=9Fe, Carsten


> On 2021-03-07, at 20:16, internet-drafts@ietf.org wrote:
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the Concise Binary Object Representation =
Maintenance and Extensions WG of the IETF.
>=20
>        Title           : Additional Control Operators for CDDL
>        Author          : Carsten Bormann
> 	Filename        : draft-ietf-cbor-cddl-control-03.txt
> 	Pages           : 12
> 	Date            : 2021-03-07
>=20
> Abstract:
>   The Concise Data Definition Language (CDDL), standardized in RFC
>   8610, provides "control operators" as its main language extension
>   point.
>=20
>   The present document defines a number of control operators that did
>   not make it into RFC 8610: ".plus", ".cat" and ".det" for the
>   construction of constants, ".abnf"/".abnfb" for including ABNF (RFC
>   5234/RFC 7405) in CDDL specifications, and ".feature" for indicating
>   the use of a non-basic feature in an instance.
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl-control/
>=20
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-cbor-cddl-control-03.html
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-cbor-cddl-control-03
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
>=20
> _______________________________________________
> I-D-Announce mailing list
> I-D-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/i-d-announce
> Internet-Draft directories: http://www.ietf.org/shadow.html
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


From nobody Sun Mar  7 15:36:59 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id A3ECC3A1EE7; Sun,  7 Mar 2021 15:36:57 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <161516021762.30025.3581883922446345007@ietfa.amsl.com>
Date: Sun, 07 Mar 2021 15:36:57 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/6dLyQdfMJP2dfXgF0oxZe0CWJwU>
Subject: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-01.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 07 Mar 2021 23:36:58 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : CBOR tags for IPv4 and IPv6 addresses and prefixes
        Author          : Michael Richardson
	Filename        : draft-ietf-cbor-network-addresses-01.txt
	Pages           : 6
	Date            : 2021-03-07

Abstract:
   This document describes two CBOR Tags to be used with IPv4 and IPv6
   addresses and prefixes.

   RFC-EDITOR-please remove: This work is tracked at
   https://github.com/mcr/cbor-network-address.git


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-network-addresses-01.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-network-addresses-01


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Sun Mar  7 15:37:57 2021
Return-Path: <mcr+ietf@sandelman.ca>
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 484823A1EEA for <cbor@ietfa.amsl.com>; Sun,  7 Mar 2021 15:37:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 XzV0BfQz4pDB for <cbor@ietfa.amsl.com>; Sun,  7 Mar 2021 15:37:54 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DB2343A1EE9 for <cbor@ietf.org>; Sun,  7 Mar 2021 15:37:53 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 7FD93389C1; Sun,  7 Mar 2021 18:42:46 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cK5QsMN0Pe5W; Sun,  7 Mar 2021 18:42:42 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id CF37D389BF; Sun,  7 Mar 2021 18:42:42 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id CC7BF88A; Sun,  7 Mar 2021 18:37:48 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: cbor@ietf.org
CC: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <a15c4d67-e67f-c210-0477-29564c2b67e0@gmail.com>
References: <161266446471.542.2418789735601546566@ietfa.amsl.com> <a15c4d67-e67f-c210-0477-29564c2b67e0@gmail.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Sun, 07 Mar 2021 18:37:48 -0500
Message-ID: <30430.1615160268@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/R_zoa3B1KQdD0xKonw9q-7lPsmI>
Subject: [Cbor] changes to draft-ietf-cbor-network-addresses-01.txt
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: Sun, 07 Mar 2021 23:37:56 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


>        Title           : CBOR tags for IPv4 and IPv6 addresses and prefix=
es
>	Filename        : draft-ietf-cbor-network-addresses-01.txt
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-cbor-network-addresses-01


Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
    bec> FYI, I am not tracking the CBOR list, but this caught my eye.

    bec> Since prefixes may be of any length and are not required to be
    bec> nibble-aligned, how is 2001:db8:1234::/47 encoded? Is it just this?

    bec>     TBD1([ 47, h'20010db81234'])

    bec> What is the specified behaviour if the byte string is too short or
    bec> too long?

The intention is that it is always zero-padded out to the needed prefix
length.

I have added sections in draft-ietf-cbor-network-addresses-01 which address=
es
this as _Encoder Considerations_ and _Decoder Considerations_

I can't recall who asked about Covert Channels, but there are indeed an
opportunity.
In particular, with non-byte aligned prefixes (like 47 above), the 48th bit
(and bits 48 to 128) should be forced to zero.

Brian also laments:

> Reminder: in draft-ietf-anima-prefix-management-07 (RFC Editor queue), we
> have the CDDL below. Of course we could have used your tags if they had
> existed.

>     prefval /=3D pref6val
>     pref6val =3D [version6, length, ?prefix]
>     version6 =3D 6
>     length =3D 0..128             ; requested or offered prefix length
>     prefix =3D bytes .size 16     ; offered prefix in binary format

So, one byte for 4/6, vs two bytes for a 1+1 tag.
Unclear if "prefix" can be shortened though.

I just adjusted my code to omit trailing zeros, and to force bits to zero
when sending and receiving.
(Oh, I don't force trailing bits in a byte to zero when sending yet)

My C code is short, I could put it in an appendix if someone thought that w=
as
useful, but I'm afraid it might cause more comments.

=2D-
]               Never tell me the odds!                 | ipv6 mesh network=
s [
]   Michael Richardson, Sandelman Software Works        |    IoT architect =
  [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails  =
  [


=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmBFY8wACgkQgItw+93Q
3WWMdAf/YWB6wLl6Cu0vT1ooLPQqLHPeWJFNEtF5NB7Oc82LeZ0n4tSUjcix9dCs
DXhby0V+FpLtksIGaqeXYnD6rAM5iBs0C75Vwbb4auihYKdAXOPYwZtlZ9X/yOO1
0K3OkbLI6m7o8O8YoN6h6tx+ixLU77oIe7nCQ0POqpNFNJEk23F1Laua4RqgcVRX
fJyKN4nWv2S2PfS03iuWAglxZzpZ5bKhQZ5Wf95zpZAfxE631GBmWZF25Rpe6Fhk
mNiJ2GCRpLA4pLK4FHmntRkytmBFPlIGkzouL4SApI2hzaJZicvzKcusueuDB5B4
XES6ejicLu4jXkAr/QmOAqRwBmT4DA==
=VOqQ
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Sun Mar  7 19:48:29 2021
Return-Path: <superuser@gmail.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 D40CF3A2380 for <cbor@ietfa.amsl.com>; Sun,  7 Mar 2021 19:48:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Sj_9E5w3KTnZ for <cbor@ietfa.amsl.com>; Sun,  7 Mar 2021 19:48:25 -0800 (PST)
Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) (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 11D0C3A237D for <cbor@ietf.org>; Sun,  7 Mar 2021 19:48:25 -0800 (PST)
Received: by mail-ua1-x92d.google.com with SMTP id 92so2895042uas.2 for <cbor@ietf.org>; Sun, 07 Mar 2021 19:48:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=m141sV3GyEWYyaKQwceApIR0f5bnXI/YJMqmEdP3XNk=; b=C08OVaPkL7R2d8DJ5jg9UGsiaBjhD8MVyTpHXDpQsAdf3tZqRL9H+F97c7x4YBDv2H UD4JsKFYjak4MVHdDi2fq/bl415AKG0e38j8gw7e1GrUjdAGllcfHCiAshmxYleEqKK0 V+22xCh2JxEU/S/EqwEipIfVZtoiIK5XCoi2MwUr3xjBGdPpAl/tZMzMR0XB5DoVpuBB IjY0CrfNPOnvGOxbgVHsuMHnOKFWHdbTL9jvHLYU8u5k94Dp+Vx8k2lG5toQmqVZ8YGX KQfWNDLbGya1Vfz3dz9xHCHNrSw1qRa9dzcOyfmZoMPjC8ZoEec7q8R0AdYo3da0kNj4 awYg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=m141sV3GyEWYyaKQwceApIR0f5bnXI/YJMqmEdP3XNk=; b=gyleG1fpPRnwolLj8HWMcTMXpOYAMnuh17l+KRzjv5RsnzniRn/eATUzphJ8BOSJX4 2AKh7xxgJtVCH4yQXbxbvXtf+N9IwDs1GiV5wHpVS/Af2q3u5FWvfAvyAQKQpZo+nEDF ZoX43H0gYHYGKP2KXLSlxwrrCiD04DZxRZPNUDPoux0efD+eHSY/ZanpxmlYNSb+ldV4 MSeV4h773uyEixrVQBCnVygodjvfAZxSPaiqQJxbhoD4KoLOauq9qXX8Zas8Xeb1AD2C 0mbP4N6kkX2pv7TRdl9fp0f0vK+dCMM/lqT/JP3mI8odCam4aM04gHI7LDYnfuI59D20 UaRQ==
X-Gm-Message-State: AOAM530Uql9KmxI4A75WZFNVYz0/rkkYjl3snrFgOSTcm8m7uj/qL33I JUnmAcHqhbNp8Si4FQKnFzH1q2LY6frsJq8tCyp3i94HIAs=
X-Google-Smtp-Source: ABdhPJwMGq6gfA+Gf7kTWNrpzvkpr7MziOdq7trBR630aSmkEo9UNG8cClvy7FtSGDwinhUyM9RoH39fdUmctsY0+zI=
X-Received: by 2002:ab0:3c8b:: with SMTP id a11mr12003891uax.87.1615175303158;  Sun, 07 Mar 2021 19:48:23 -0800 (PST)
MIME-Version: 1.0
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Sun, 7 Mar 2021 19:48:12 -0800
Message-ID: <CAL0qLwYjXpvkjhP1h7U0O7R8ueo6Mcemnj5t-zQqwjuC_zYpng@mail.gmail.com>
To: cbor@ietf.org
Content-Type: multipart/alternative; boundary="00000000000031df8005bcfe4e7a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/cH2VaJwc8ERIu2Q6kn1k_59cRJc>
Subject: [Cbor] Chair rotation during IETF 110
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: Mon, 08 Mar 2021 03:48:27 -0000

--00000000000031df8005bcfe4e7a
Content-Type: text/plain; charset="UTF-8"

 Colleagues,

With Francesca's appointment as incoming ART Area Director, she needs to
step down as co-chair of CBOR.  She will remain involved with the working
group, of course, moving instead to be the Area Director that is
responsible for it at the IESG.

Barry Leiba's current term on the IESG is ending, and he has volunteered to
step in to fill this vacated co-chair role going forward.

Christian, Barry, and Francesca will all sit as co-chairs for the CBOR
meeting at IETF 110, and Francesca will step down after that meeting.

I would like to thank Francesca for the work she's done in support of
CBOR's output as one of its co-chairs, and Barry for his years of work and
leadership (and mentorship!) as an Area Director.  The working group is in
good hands.

-MSK, continuing ART AD

--00000000000031df8005bcfe4e7a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">
<div>Colleagues,</div><div><br></div><div>With Francesca&#39;s appointment =
as incoming ART Area Director, she=20
needs to step down as co-chair of CBOR.=C2=A0 She will remain involved with=
=20
the working group, of course, moving instead to be the Area Director=20
that is responsible for it at the IESG.</div><div><br></div><div>Barry=20
Leiba&#39;s current term on the IESG is ending, and he has volunteered to=
=20
step in to fill this vacated co-chair role going forward.<br></div><div><br=
></div><div>Christian,
 Barry, and Francesca will all sit as co-chairs for the CBOR meeting at=20
IETF 110, and Francesca will step down after that meeting.</div><div><br></=
div><div>I
 would like to thank Francesca for the work she&#39;s done in support of=20
CBOR&#39;s output as one of its co-chairs, and Barry for his years of work =
and
 leadership (and mentorship!) as an Area Director.=C2=A0 The working group =
is
 in good hands.</div><div><br></div><div>-MSK, continuing ART AD</div>

</div>

--00000000000031df8005bcfe4e7a--


From nobody Sun Mar  7 23:53:07 2021
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 100CE3A273D for <cbor@ietfa.amsl.com>; Sun,  7 Mar 2021 23:53:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, 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 4dVedcnQauKM for <cbor@ietfa.amsl.com>; Sun,  7 Mar 2021 23:53:03 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 229973A2739 for <cbor@ietf.org>; Sun,  7 Mar 2021 23:53:03 -0800 (PST)
Received: from [192.168.217.152] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4Dv9Yn0GpzzyTN; Mon,  8 Mar 2021 08:53:01 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <30430.1615160268@localhost>
Date: Mon, 8 Mar 2021 08:53:00 +0100
Cc: cbor@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <EDD97469-5F4F-4182-A81C-ABAE2D86F075@tzi.org>
References: <161266446471.542.2418789735601546566@ietfa.amsl.com> <a15c4d67-e67f-c210-0477-29564c2b67e0@gmail.com> <30430.1615160268@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/fee6NHUEs-RB3tIv_T-eaZgrO8k>
Subject: Re: [Cbor] changes to draft-ietf-cbor-network-addresses-01.txt
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: Mon, 08 Mar 2021 07:53:06 -0000

I think prefixes and addresses are completely separate use cases.

There is rarely a point in suppressing trailing zeroes in an address.
We shouldn=E2=80=99t burden implementations to cater to this 0.4 % case =
(probably less in practice).

Prefixes are different, and they should indeed always be tail-cut.
(They are usually /64 or shorter, so there is a real win.)

We could imagine an alternate world where IIDs are carefully chosen so =
that actual addresses have as many trailing zeroes as possible.
But that=E2=80=99s not what happens today.  If we were to compress inner =
zero runs (as in =E2=80=9C::=E2=80=9D), we=E2=80=99d need to give the =
byte position where that happens (the length would be implied by the =
length of the remaining byte string).
I=E2=80=99m not proposing we cater to that.

Gr=C3=BC=C3=9Fe, Carsten

(The /24 IPv4 example in the draft is wrong.)


From nobody Mon Mar  8 08:10:32 2021
Return-Path: <john.mattsson@ericsson.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 1B2B63A2CED for <cbor@ietfa.amsl.com>; Mon,  8 Mar 2021 08:10:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.348
X-Spam-Level: 
X-Spam-Status: No, score=-2.348 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.248, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-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=ericsson.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 hzvDkeJhBKmr for <cbor@ietfa.amsl.com>; Mon,  8 Mar 2021 08:10:28 -0800 (PST)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130072.outbound.protection.outlook.com [40.107.13.72]) (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 86CCC3A2CEB for <cbor@ietf.org>; Mon,  8 Mar 2021 08:10:28 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XYaLSxDO1TqNX9qO15ZIrJoJwpC+FFJNaHV7TCurJhaSVqMjjCi9CgPp3F/yU6beTx/3nLbtivYTne4yRN9Atjd0/GhT7TliTht2oMMT8g2A07Y0xaTXQKY/IX/UpdAXAwav+Z3mORwF/yUL+MLTa8wRqvpjelnvug7Q9PYwOwd1eUMUuMiWRDtIuXFW9g5VY4hG/+6dROV1pVXvaLjN6xnXE+xB4rXYKLufFp0dnfyQJyk/jqKXmDnke4R6HfMCvNDubEDkwiA7uBqAyOZVpaY5Fs3tnA5rTPV/tliFIwR7Y8ascGJCNkLr7Dg0nerDs+/GGwSMm+zfc/pBWySHLw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O0SZtIv3Ww3Ssb16N4bk9HEapHUb4eLfvhrHbhC3FT4=; b=TP5Rlf/alp6X72VXbpzjjJQbjHEW4SA1qDxVq9IAsR8iaf59xzYN5zx3zoQGSu9cpK3Mtn2DkcvPIr92EJspQAVEb8c7rKi9H+FfId4ldG8hVqJXdY9WRpw85wQD8Z6/dnk2fV/yfL74P098dG1CEIcD+9g+6FXaysWKCuemZfIrCBTeH6cBj+JJiAP8MkHToSXvQ5Bd2n3bMtSZgpS9rCK0sBiyqVQczMucEnFP0hXtdRrs5mT6Lxa5Lkoipo8N4qMbVo42E4V2qPUMr0RjjpjolpCsU01Dfh18ki8wxkHJxZFrKrB095YAUjEJPDMjW6vhX6JKbrx7/7Ju+4dHmQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O0SZtIv3Ww3Ssb16N4bk9HEapHUb4eLfvhrHbhC3FT4=; b=NxMq+Rllan4ixJX4wyb4XONoSqv8ZTB8G4+n1XalihP7yRYJyrapMiXzy+n5MWYpB6Sffz4ngFBf005WB8dvfpUwPlUP/du1MnGhkRutIepi9w+dYg7VG3l93cnJLTi4UjeiuQHAc4aUGeCvAtZukkDMQr+O07MifDQZck/r+5Y=
Received: from HE1PR0701MB3050.eurprd07.prod.outlook.com (2603:10a6:3:4b::8) by HE1PR07MB3434.eurprd07.prod.outlook.com (2603:10a6:7:2c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.11; Mon, 8 Mar 2021 16:10:25 +0000
Received: from HE1PR0701MB3050.eurprd07.prod.outlook.com ([fe80::69ab:83ff:dd6e:3536]) by HE1PR0701MB3050.eurprd07.prod.outlook.com ([fe80::69ab:83ff:dd6e:3536%4]) with mapi id 15.20.3912.027; Mon, 8 Mar 2021 16:10:25 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: draft-ietf-cbor-packed - Have you considered infixes?
Thread-Index: AQHXFDWMSXjgSOcRs0eUlmEgK0oWcA==
Date: Mon, 8 Mar 2021 16:10:24 +0000
Message-ID: <76541F9A-947C-42FC-8427-89BAEEF5DB7F@ericsson.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/16.46.21021202
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [192.176.1.85]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: bccbf667-2e57-46bf-75eb-08d8e24caec4
x-ms-traffictypediagnostic: HE1PR07MB3434:
x-microsoft-antispam-prvs: <HE1PR07MB3434650CD5E6FA40F4EFAE3789939@HE1PR07MB3434.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Ibsbds9qZgYAQMWc9FPnxMeIw0zL4YDd665droCjMTxOE2E6yBcO3ekDrwUhSuqHexIpUY6Z7Be1UJQ9aVGUwqd1kK1gfF4sTU2pyvpEW/BQABrQ/eOSeV1PvSL2MBnlmLMlH6+1P0WM2NDi/mdFV7PPMBetYII3E/nGJkM6gRDnEa8kcurIn6pFftyUYVgNvUxo9CnQWKwN6mLFP/oCcAm4G0KEhfT8B+Vr3u2+tORb6eHDEWA3fkMlOW7i8UAQRiAwohngtjg+ecClP/Sj+1o8eVzEt6X/v0nTHEdNs+UMRvKt666TBcAfkaRanrdsGE6wa4wcHr9yIeswoMyMYERtt084kn4TVs1/au0ogK8XZrxOy88fRPf27IiP8aPUa1tbGHGODtAhSMZxd7kLNeU5hvj4YgcpizwpzWKN2h//YMQvH03Bu8+Zkq/mIoaiXb3uzdOpjd+LC1Dw0N88mnvVqZJT0seSbJAPHkNJmSrac3EZ+hPmq5OGp1VTePS4gJHpwb68WujWC0kCkV8ozmaozuBDEnNVu21c2lAD8Hw0wuvZZmCa34O1EFKXCm9YsY0PS4h+Baowrh/R7fM4Fb34jeXY0/eVvRYA8I0CL6P6oo6Spzj4CRv7HqcAaBWKGfWVaJ5qJ5vf9C2ZKOvBWP8SQ+etql4ijqo1GDc/IFGk7mAAL1WCnPjZEUoIxf1i
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:HE1PR0701MB3050.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(136003)(376002)(346002)(39860400002)(396003)(366004)(186003)(6506007)(8676002)(26005)(6486002)(33656002)(6512007)(166002)(5660300002)(44832011)(86362001)(8936002)(66946007)(316002)(76116006)(2906002)(478600001)(66446008)(64756008)(66556008)(966005)(66476007)(6916009)(36756003)(71200400001)(4744005)(2616005)(562404015)(45980500001); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: =?utf-8?B?OTd6RDVFbVorNWtaUlpJeGM0Y0k3MVp0ZlhxSkxXUUpHbmtwclJZSzlETEJB?= =?utf-8?B?akd6N2g4ZExQRERGZmdPV2xpdzlZNS9VdnZMaTJPRHZmNGZydDQ4bFNSK0RE?= =?utf-8?B?NDIwekhCTDNESDJGVVBlekxvSDQwam1YaDFoZ3VuTjlnMTFLNXo3S1Ryam1S?= =?utf-8?B?TE9RQ0dkVjU4WjFRQzJGWnNkMHdVeE9XRjQrOVo5ZVRlNlJjMXFqUG0xQm04?= =?utf-8?B?V28vUk5JbDJLKzdhR0gwZUhFS3JMbUFFWnRQOXVqZy9wS0UrZ3phYkliWnRn?= =?utf-8?B?QzZVRXpEWlY1K29PZFBaaWtRNmU5NC9DWTNjTmY3MGY2RENUdDFwK0Zpemxl?= =?utf-8?B?MDdVVUVLWmFxNTRMU2JLYmZNaEo0WjF5WnRSWlp1cTZVVkZZcllMLzlCS2gr?= =?utf-8?B?UXlFb0NQeFpzWVQ5QlZXR0F1eHhzd0d6c1U1M0YvYmZja09OcURncUdocWlp?= =?utf-8?B?S1l6bzVxS29hRnowZUVPcXoveGxSRjROZ0VZdGNWRkRFL1M2d0xjUWNqaVJI?= =?utf-8?B?akFMSlUyNG4wSmpoZk1qUUhGYzB3K2ZEeS83c25CQU5DdEkxK3ZRZndCMitK?= =?utf-8?B?dUliSDZ6ZmZ0alZtbWltUytpdnNpdzB2VC9mekxqaHdteHUySmNWaVVSMkVr?= =?utf-8?B?cElrVmtKVVFVbkFkOGdDTmtpbmdJdVo5SXdjNUZqaEJoRmYwQTh2WGJLandy?= =?utf-8?B?QVh3Q2NSY09uNlJwWndZWS9uYS81WUc2SW9aRUVZdUVuLzBQdFdaWldDOVQ2?= =?utf-8?B?dkY4cjg3Uzc1QzMvZ1lSSGNWWjQ1VFc5dkYzSzlOYnRyemJwM1JOS1lKaHlw?= =?utf-8?B?bmhHUTlyMElsRXRoaHlmUmppUEg4dUlSUkxxblhuc1dVUFJoNWNjS1hialc1?= =?utf-8?B?cGVRMUgrVnhzNWxhU2ZlQlFkbW1CMXVaZTNwRk91ZGJjRnJpRW5vcXZJOFVO?= =?utf-8?B?a2RJaTBwV1poMWFCTEQxZnV1ekVYa3JSTW9XVlB1L3c5OWYxb3FNQXg5ZnRL?= =?utf-8?B?MHIweU9MZ1E3bGpRV1VTVDNHUUdGbEdWWTZkSVlvYmJlUFFaSUFURDFOOFpp?= =?utf-8?B?ZjFhclpPaTlqTGVvUmsvQjRFS1hITTB3aktrY2ViRmJSWXZBMTBwOUhVNEJX?= =?utf-8?B?ODhHR1FpQ1M5U29URlI1NEJBNEp0S2Jza1JJUUhPSDdYYm9ZdTlFeEJCaXQv?= =?utf-8?B?eERRc0drTXRSK2UyK2NOTjVubGxtRDNtbFZqWHY1REVHSUlMeHd5ZnB6eERj?= =?utf-8?B?cGo2VjBLQlNBQ3IwUkNTbnVpZTE2SkhLNjJVT0g2Y0tkTDF1cEJwN1pXNlVW?= =?utf-8?B?YVBRRHc3cENyNEtBSlppYlExVXR0b2tsTnltTkM0b0NmQk54VDFKV2NJNGxI?= =?utf-8?B?cU14TmNpbTlUUEVoNTUrdDcxUllWdUl6ODZ5UU1FMU9DVGcxM3lUQVZFREhn?= =?utf-8?B?Wms2bmhJeE1qMFFqR3hhVWFCMWR6ck5MR2ZKbHpGdVpPNFo0VGZ4M0p0cHpv?= =?utf-8?B?UFZFdWh6NnN4VGVzWXlFR1g3V2MwSG4rTlpNYi9yblF4TVJpQmE2eThZTVpv?= =?utf-8?B?VzFHVmJVVjdWZWJCTjlTUGlRY0JPd29uZS9ya0JIMVV3TFhtYXRYN21LS2p2?= =?utf-8?B?aTdUUld4d1REVkVUa3JybzFDa0NTZ05ZQytMVjBlMG9jbEx5cVFKR2N0d0d1?= =?utf-8?B?enVTK0l4OU5aQ0hPOVJwVkJ3bDF2MEFrRS84Z29aSFpGQ041SitaV1llYnI5?= =?utf-8?Q?b6XcCaAUJvj+VT0mLhw6k6Fjk0Wl/ylGq0Th5jj?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_76541F9A947C42FC842789BAEEF5DB7Fericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0701MB3050.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: bccbf667-2e57-46bf-75eb-08d8e24caec4
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2021 16:10:24.9358 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: kaMd5BdqQLmX0Eoc2INuNYo1pXOJ5lU/DAvaLUPWBZWV3T4+LkVLXWMnhnuHexAO+a4kUU/wEhe13wf1k2EzP9vqU6i6FZBEOCKdQZBtpeE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3434
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/2G6tQ0WkfaN8xxxMARCTUJE8Hf0>
Subject: [Cbor] draft-ietf-cbor-packed - Have you considered infixes?
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: Mon, 08 Mar 2021 16:10:31 -0000

--_000_76541F9A947C42FC842789BAEEF5DB7Fericssoncom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SGksDQoNCg0KDQrvu79UaGVyZSB3YXMgYSBzdWdnZXN0aW9uIGZyb20gTWljaGFlbCB0byB1c2Ug
UGFja2V0IENCT1IgZm9yIENCT1IgZW5jb2RlZCBYLjUwOSBjaGFpbnMNCg0KaHR0cHM6Ly9kYXRh
dHJhY2tlci5pZXRmLm9yZy9kb2MvZHJhZnQtbWF0dHNzb24tY29zZS1jYm9yLWNlcnQtY29tcHJl
c3MvDQoNCg0KDQpJIGhhdmUgbm90IGxvb2tlZCBkZWVwbHkgaW50byB0aGlzIGFuZCBkb27igJl0
IGtub3cgeWV0IGlmIGl0IGlzIGEgZ29vZCBpZGVhIG9yIG5vdCBidXQgYSBxdWljayBsb29rIGF0
IHRoZSBDQk9SIGVuY29kZWQgWC41MDkgc2hvd3MgdGhhdCBzaGFyZWQgaW5mb3JtYXRpb24gYmV0
d2VlbiBzdHJpbmdzIGFyZSBub3QgbmVjZXNzYXJpbHkgcHJlZml4ZXMgb3Igc3VmZml4ZXMsIGJ1
dCByYXRoZXIgaW5maXhlcy4NCg0KDQoNCkhhdmUgeW91IGNvbnNpZGVyZWQgYWRkaW5nIGluZml4
ZXMgdG8gZHJhZnQtaWV0Zi1jYm9yLXBhY2tlZD8NCg0KDQoNClsNCg0KLTQsICJVUyIsDQoNCi02
LCAiQXJpem9uYSIsDQoNCi01LCAiU2NvdHRzZGFsZSIsDQoNCi04LCAiU3RhcmZpZWxkIFRlY2hu
b2xvZ2llcywgSW5jLiIsDQoNCi05LCAiaHR0cDovL2NlcnRzLnN0YXJmaWVsZHRlY2guY29tL3Jl
cG9zaXRvcnkvIiwNCg0KLTEsICJTdGFyZmllbGQgU2VjdXJlIENlcnRpZmljYXRlIEF1dGhvcml0
eSAtIEcyIg0KDQpdLA0KDQpbDQoNCiAgNCwgImh0dHA6Ly9jcmwuc3RhcmZpZWxkdGVjaC5jb20v
c2ZpZzJzMS0yNDIuY3JsIiwNCg0KICA1LCBbIGgnNjA4NjQ4MDE4NmZkNmUwMTA3MTcwMScsICJo
dHRwOi8vY2VydGlmaWNhdGVzLnN0YXJmaWVsZHRlY2guY29tL3JlcG9zaXRvcnkvIiwgMSBdLA0K
DQogIDgsIFsgMSwgImh0dHA6Ly9vY3NwLnN0YXJmaWVsZHRlY2guY29tLyIsIDIsICJodHRwOi8v
Y2VydGlmaWNhdGVzLnN0YXJmaWVsZHRlY2guY29tL3JlcG9zaXRvcnkvc2ZpZzIuY3J0IiBdDQoN
Cl0NCg0KDQoNCkNoZWVycywNCg0KSm9obg0K

--_000_76541F9A947C42FC842789BAEEF5DB7Fericssoncom_
Content-Type: text/html; charset="utf-8"
Content-ID: <4E72F93E9446874CB3E5B61E428DAEC4@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6bz0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIiB4
bWxuczp3PSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTp3b3JkIiB4bWxuczptPSJo
dHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL29mZmljZS8yMDA0LzEyL29tbWwiIHhtbG5zPSJo
dHRwOi8vd3d3LnczLm9yZy9UUi9SRUMtaHRtbDQwIj4NCjxoZWFkPg0KPG1ldGEgaHR0cC1lcXVp
dj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPg0KPG1l
dGEgbmFtZT0iR2VuZXJhdG9yIiBjb250ZW50PSJNaWNyb3NvZnQgV29yZCAxNSAoZmlsdGVyZWQg
bWVkaXVtKSI+DQo8c3R5bGU+PCEtLQ0KLyogRm9udCBEZWZpbml0aW9ucyAqLw0KQGZvbnQtZmFj
ZQ0KCXtmb250LWZhbWlseToiQ2FtYnJpYSBNYXRoIjsNCglwYW5vc2UtMToyIDQgNSAzIDUgNCA2
IDMgMiA0O30NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6IlRpbWVzIE5ldyBSb21hbiBcKEJv
ZHkgQ1NcKSI7DQoJcGFub3NlLTE6MiAxMSA2IDQgMiAyIDIgMiAyIDQ7fQ0KLyogU3R5bGUgRGVm
aW5pdGlvbnMgKi8NCmE6bGluaywgc3Bhbi5Nc29IeXBlcmxpbmsNCgl7bXNvLXN0eWxlLXByaW9y
aXR5Ojk5Ow0KCWNvbG9yOiMwNTYzQzE7DQoJdGV4dC1kZWNvcmF0aW9uOnVuZGVybGluZTt9DQpw
Lk1zb1BsYWluVGV4dCwgbGkuTXNvUGxhaW5UZXh0LCBkaXYuTXNvUGxhaW5UZXh0DQoJe21zby1z
dHlsZS1wcmlvcml0eTo5OTsNCgltc28tc3R5bGUtbGluazoiUGxhaW4gVGV4dCBDaGFyIjsNCglt
YXJnaW46MGNtOw0KCWZvbnQtc2l6ZToxMS4wcHQ7DQoJZm9udC1mYW1pbHk6IkNvdXJpZXIgTmV3
IjsNCgltc28tZmFyZWFzdC1sYW5ndWFnZTpFTi1VUzt9DQpzcGFuLlBsYWluVGV4dENoYXINCgl7
bXNvLXN0eWxlLW5hbWU6IlBsYWluIFRleHQgQ2hhciI7DQoJbXNvLXN0eWxlLXByaW9yaXR5Ojk5
Ow0KCW1zby1zdHlsZS1saW5rOiJQbGFpbiBUZXh0IjsNCglmb250LWZhbWlseToiQ291cmllciBO
ZXciO30NCi5Nc29DaHBEZWZhdWx0DQoJe21zby1zdHlsZS10eXBlOmV4cG9ydC1vbmx5Ow0KCWZv
bnQtZmFtaWx5OiJDYWxpYnJpIixzYW5zLXNlcmlmOw0KCW1zby1mYXJlYXN0LWxhbmd1YWdlOkVO
LVVTO30NCkBwYWdlIFdvcmRTZWN0aW9uMQ0KCXtzaXplOjYxMi4wcHQgNzkyLjBwdDsNCgltYXJn
aW46NzIuMHB0IDcyLjBwdCA3Mi4wcHQgNzIuMHB0O30NCmRpdi5Xb3JkU2VjdGlvbjENCgl7cGFn
ZTpXb3JkU2VjdGlvbjE7fQ0KLS0+PC9zdHlsZT4NCjwvaGVhZD4NCjxib2R5IGxhbmc9ImVuLVNF
IiBsaW5rPSIjMDU2M0MxIiB2bGluaz0iIzk1NEY3MiIgc3R5bGU9IndvcmQtd3JhcDpicmVhay13
b3JkIj4NCjxkaXYgY2xhc3M9IldvcmRTZWN0aW9uMSI+DQo8cCBjbGFzcz0iTXNvUGxhaW5UZXh0
Ij48c3BhbiBsYW5nPSJFTi1VUyI+SGksPG86cD48L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9
Ik1zb1BsYWluVGV4dCI+PHNwYW4gbGFuZz0iRU4tVVMiPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFu
PjwvcD4NCjxwIGNsYXNzPSJNc29QbGFpblRleHQiPu+7vzxzcGFuIGxhbmc9IkVOLVVTIj5UaGVy
ZSB3YXMgYSBzdWdnZXN0aW9uIGZyb20gTWljaGFlbCB0byB1c2UgUGFja2V0IENCT1IgZm9yIENC
T1IgZW5jb2RlZCBYLjUwOSBjaGFpbnM8bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0i
TXNvUGxhaW5UZXh0Ij48c3BhbiBsYW5nPSJFTi1VUyI+PGEgaHJlZj0iaHR0cHM6Ly9kYXRhdHJh
Y2tlci5pZXRmLm9yZy9kb2MvZHJhZnQtbWF0dHNzb24tY29zZS1jYm9yLWNlcnQtY29tcHJlc3Mv
Ij5odHRwczovL2RhdGF0cmFja2VyLmlldGYub3JnL2RvYy9kcmFmdC1tYXR0c3Nvbi1jb3NlLWNi
b3ItY2VydC1jb21wcmVzcy88L2E+PG86cD48L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1z
b1BsYWluVGV4dCI+PHNwYW4gbGFuZz0iRU4tVVMiPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwv
cD4NCjxwIGNsYXNzPSJNc29QbGFpblRleHQiPjxzcGFuIGxhbmc9IkVOLVVTIj5JIGhhdmUgbm90
IGxvb2tlZCBkZWVwbHkgaW50byB0aGlzIGFuZCBkb27igJl0IGtub3cgeWV0IGlmIGl0IGlzIGEg
Z29vZCBpZGVhIG9yIG5vdCBidXQgYSBxdWljayBsb29rIGF0IHRoZSBDQk9SIGVuY29kZWQgWC41
MDkgc2hvd3MgdGhhdCBzaGFyZWQgaW5mb3JtYXRpb24gYmV0d2VlbiBzdHJpbmdzIGFyZSBub3Qg
bmVjZXNzYXJpbHkgcHJlZml4ZXMgb3Igc3VmZml4ZXMsIGJ1dA0KIHJhdGhlciBpbmZpeGVzLjxv
OnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29QbGFpblRleHQiPjxzcGFuIGxhbmc9
IkVOLVVTIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvUGxhaW5U
ZXh0Ij48c3BhbiBsYW5nPSJFTi1VUyI+SGF2ZSB5b3UgY29uc2lkZXJlZCBhZGRpbmcgaW5maXhl
cyB0byBkcmFmdC1pZXRmLWNib3ItcGFja2VkPzxvOnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNs
YXNzPSJNc29QbGFpblRleHQiPjxzcGFuIGxhbmc9IkVOLVVTIj48bzpwPiZuYnNwOzwvbzpwPjwv
c3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvUGxhaW5UZXh0Ij5bPG86cD48L286cD48L3A+DQo8cCBj
bGFzcz0iTXNvUGxhaW5UZXh0Ij4tNCwgJnF1b3Q7VVMmcXVvdDssPG86cD48L286cD48L3A+DQo8
cCBjbGFzcz0iTXNvUGxhaW5UZXh0Ij4tNiwgJnF1b3Q7QXJpem9uYSZxdW90Oyw8bzpwPjwvbzpw
PjwvcD4NCjxwIGNsYXNzPSJNc29QbGFpblRleHQiPi01LCAmcXVvdDtTY290dHNkYWxlJnF1b3Q7
LDxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb1BsYWluVGV4dCI+LTgsICZxdW90O1N0YXJm
aWVsZCBUZWNobm9sb2dpZXMsIEluYy4mcXVvdDssPG86cD48L286cD48L3A+DQo8cCBjbGFzcz0i
TXNvUGxhaW5UZXh0Ij4tOSwgJnF1b3Q7aHR0cDovL2NlcnRzPHNwYW4gc3R5bGU9ImJhY2tncm91
bmQ6eWVsbG93O21zby1oaWdobGlnaHQ6eWVsbG93Ij4uc3RhcmZpZWxkdGVjaC5jb20vPC9zcGFu
PnJlcG9zaXRvcnkvJnF1b3Q7LDxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb1BsYWluVGV4
dCI+LTEsICZxdW90O1N0YXJmaWVsZCBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IC0gRzIm
cXVvdDs8bzpwPjwvbzpwPjwvcD4NCjxwIGNsYXNzPSJNc29QbGFpblRleHQiPl0sPG86cD48L286
cD48L3A+DQo8cCBjbGFzcz0iTXNvUGxhaW5UZXh0Ij5bPG86cD48L286cD48L3A+DQo8cCBjbGFz
cz0iTXNvUGxhaW5UZXh0Ij4mbmJzcDsgNCwgJnF1b3Q7aHR0cDovL2NybDxzcGFuIHN0eWxlPSJi
YWNrZ3JvdW5kOnllbGxvdzttc28taGlnaGxpZ2h0OnllbGxvdyI+LnN0YXJmaWVsZHRlY2guY29t
Lzwvc3Bhbj5zZmlnMnMxLTI0Mi5jcmwmcXVvdDssPG86cD48L286cD48L3A+DQo8cCBjbGFzcz0i
TXNvUGxhaW5UZXh0Ij4mbmJzcDsgNSwgWyBoJzYwODY0ODAxODZmZDZlMDEwNzE3MDEnLCAmcXVv
dDtodHRwOi8vY2VydGlmaWNhdGVzPHNwYW4gc3R5bGU9ImJhY2tncm91bmQ6eWVsbG93O21zby1o
aWdobGlnaHQ6eWVsbG93Ij4uc3RhcmZpZWxkdGVjaC5jb20vPC9zcGFuPnJlcG9zaXRvcnkvJnF1
b3Q7LCAxIF0sPG86cD48L286cD48L3A+DQo8cCBjbGFzcz0iTXNvUGxhaW5UZXh0Ij4mbmJzcDsg
OCwgWyAxLCAmcXVvdDtodHRwOi8vb2NzcDxzcGFuIHN0eWxlPSJiYWNrZ3JvdW5kOnllbGxvdztt
c28taGlnaGxpZ2h0OnllbGxvdyI+LnN0YXJmaWVsZHRlY2guY29tLzwvc3Bhbj4mcXVvdDssIDIs
ICZxdW90O2h0dHA6Ly9jZXJ0aWZpY2F0ZXM8c3BhbiBzdHlsZT0iYmFja2dyb3VuZDp5ZWxsb3c7
bXNvLWhpZ2hsaWdodDp5ZWxsb3ciPi5zdGFyZmllbGR0ZWNoLmNvbS88L3NwYW4+cmVwb3NpdG9y
eS9zZmlnMi5jcnQmcXVvdDsgXTxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb1BsYWluVGV4
dCI+XTxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb1BsYWluVGV4dCI+PG86cD4mbmJzcDs8
L286cD48L3A+DQo8cCBjbGFzcz0iTXNvUGxhaW5UZXh0Ij48c3BhbiBsYW5nPSJFTi1VUyI+Q2hl
ZXJzLDxvOnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29QbGFpblRleHQiPjxzcGFu
IGxhbmc9IkVOLVVTIj5Kb2huPG86cD48L286cD48L3NwYW4+PC9wPg0KPC9kaXY+DQo8L2JvZHk+
DQo8L2h0bWw+DQo=

--_000_76541F9A947C42FC842789BAEEF5DB7Fericssoncom_--


From nobody Mon Mar  8 09:27:30 2021
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 881453A11AF for <cbor@ietfa.amsl.com>; Mon,  8 Mar 2021 09:27:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.496
X-Spam-Level: 
X-Spam-Status: No, score=-9.496 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.248, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable 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 N6RTY1rVGB5Y for <cbor@ietfa.amsl.com>; Mon,  8 Mar 2021 09:27:26 -0800 (PST)
Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 A730C3A11B4 for <cbor@ietf.org>; Mon,  8 Mar 2021 09:27:26 -0800 (PST)
Received: by mail-qt1-x832.google.com with SMTP id 2so8130629qtw.1 for <cbor@ietf.org>; Mon, 08 Mar 2021 09:27:26 -0800 (PST)
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=ZPKmM3cKxM256n2++Xdsst/K25FWK/a+qg6wZ0828S0=; b=Q5FlpRWXSnWQRlDpgTlhada2BE1YY3nMHPzOLhoCRQkVQrULiefGctsJg///FrB06n QvfScAsT0aGO8HsQUkB7u0QTtGbOmAzs6NF2qFXi4n4yRIadvGNh0XdoJrCtQr2X60Lb 1U5R0LpOvrzOaWlkRpNb+TRoaNorUrXErjghQ=
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=ZPKmM3cKxM256n2++Xdsst/K25FWK/a+qg6wZ0828S0=; b=ZaelvR59mj1VKSPoEMd6bnw6MKTrsGL1K8dLZyAOVkyAjQOT2cQQ3HgG6Fy2bRXGNn qA9fjK8UXCeCoiVBqWPSno2AfvLs1M9ZrzE7VzC4wl3C0AUdFCwDgtxyfh2Vt2RE6s2I KYMZHMyjj8i18eZiiA0U5ScHjJKQ6LY0zuo+PgT7wrkacHdwjFPicWRz0wr6FQQ+hCVr 9oMet/8j/HJ3C9HRi3OguRvPOey1Ts7XYNq55KaPzFJMywoam5xIPm4gmgvGxG7JlGx/ 5j+XyUfwPuO9/jnwiGtAJS1xgPfV8Q5zTD0py2YXS1wuUr9s/kk30p1YizLTYsctJYYC hyiQ==
X-Gm-Message-State: AOAM530Kp6ppExmCftuUmChcJnXRASZWKrZ3INx0XnqBgdxIMsxylm25 vznJ8LzLRcvB1xTrE8lN84fn8W486TbVrr+RWWa2NA==
X-Google-Smtp-Source: ABdhPJwztAqDrVwBcEAIIDVOf/c/6BO+W5ZvaP2gWXI7p4Ks6oftsAVAbJJVPTUxPBfM76SADff4hghRClpVrfWYtTU=
X-Received: by 2002:ac8:44cc:: with SMTP id b12mr15773361qto.382.1615224443866;  Mon, 08 Mar 2021 09:27:23 -0800 (PST)
MIME-Version: 1.0
References: <76541F9A-947C-42FC-8427-89BAEEF5DB7F@ericsson.com>
In-Reply-To: <76541F9A-947C-42FC-8427-89BAEEF5DB7F@ericsson.com>
From: Jeffrey Yasskin <jyasskin@chromium.org>
Date: Mon, 8 Mar 2021 09:27:09 -0800
Message-ID: <CANh-dXnpsyGArMqSvQften-Qzs4hxX6azP02YaEnBzCo-HHRkQ@mail.gmail.com>
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
Cc: "cbor@ietf.org" <cbor@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000036e67805bd09bfde"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/NsYRH-3U0qW38Z0bUjdInSiBAj0>
Subject: Re: [Cbor] draft-ietf-cbor-packed - Have you considered infixes?
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: Mon, 08 Mar 2021 17:27:28 -0000

--00000000000036e67805bd09bfde
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Aren't URLs great?

It could be worth having a URL-specific form that reverses the domain name
components before reusing a prefix. On the other hand, URL parsing is
complex <https://url.spec.whatwg.org/> and not very interoperable
<https://paper.seebug.org/papers/Security%20Conf/Blackhat/2017_us/us-17-Tsa=
i-A-New-Era-Of-SSRF-Exploiting-URL-Parser-In-Trending-Programming-Languages=
.pdf>,
so this could be a bad idea.

Jeffrey

On Mon, Mar 8, 2021 at 8:10 AM John Mattsson <john.mattsson=3D
40ericsson.com@dmarc.ietf.org> wrote:
>
> Hi,
>
>
>
> =EF=BB=BFThere was a suggestion from Michael to use Packet CBOR for CBOR =
encoded
X.509 chains
>
> https://datatracker.ietf.org/doc/draft-mattsson-cose-cbor-cert-compress/
>
>
>
> I have not looked deeply into this and don=E2=80=99t know yet if it is a =
good
idea or not but a quick look at the CBOR encoded X.509 shows that shared
information between strings are not necessarily prefixes or suffixes, but
rather infixes.
>
>
>
> Have you considered adding infixes to draft-ietf-cbor-packed?
>
>
>
> [
>
> -4, "US",
>
> -6, "Arizona",
>
> -5, "Scottsdale",
>
> -8, "Starfield Technologies, Inc.",
>
> -9, "http://certs.starfieldtech.com/repository/",
>
> -1, "Starfield Secure Certificate Authority - G2"
>
> ],
>
> [
>
>   4, "http://crl.starfieldtech.com/sfig2s1-242.crl",
>
>   5, [ h'6086480186fd6e01071701', "
http://certificates.starfieldtech.com/repository/", 1 ],
>
>   8, [ 1, "http://ocsp.starfieldtech.com/", 2, "
http://certificates.starfieldtech.com/repository/sfig2.crt" ]
>
> ]
>
>
>
> Cheers,
>
> John
>
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor

--00000000000036e67805bd09bfde
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Aren&#39;t URLs great?<div><br></div><div>It could be wort=
h having a URL-specific form that reverses the domain name components befor=
e reusing a prefix. On the other hand, URL parsing is <a href=3D"https://ur=
l.spec.whatwg.org/">complex</a> and <a href=3D"https://paper.seebug.org/pap=
ers/Security%20Conf/Blackhat/2017_us/us-17-Tsai-A-New-Era-Of-SSRF-Exploitin=
g-URL-Parser-In-Trending-Programming-Languages.pdf">not very interoperable<=
/a>, so this could be a bad idea.</div><div><br></div><div>Jeffrey<br><br>O=
n Mon, Mar 8, 2021 at 8:10 AM John Mattsson &lt;john.mattsson=3D<a href=3D"=
mailto:40ericsson.com@dmarc.ietf.org">40ericsson.com@dmarc.ietf.org</a>&gt;=
 wrote:<br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt; =C2=A0<br>&gt;<br>&gt; =EF=BB=
=BFThere was a suggestion from Michael to use Packet CBOR for CBOR encoded =
X.509 chains<br>&gt;<br>&gt; <a href=3D"https://datatracker.ietf.org/doc/dr=
aft-mattsson-cose-cbor-cert-compress/">https://datatracker.ietf.org/doc/dra=
ft-mattsson-cose-cbor-cert-compress/</a><br>&gt;<br>&gt; =C2=A0<br>&gt;<br>=
&gt; I have not looked deeply into this and don=E2=80=99t know yet if it is=
 a good idea or not but a quick look at the CBOR encoded X.509 shows that s=
hared information between strings are not necessarily prefixes or suffixes,=
 but rather infixes.<br>&gt;<br>&gt; =C2=A0<br>&gt;<br>&gt; Have you consid=
ered adding infixes to draft-ietf-cbor-packed?<br>&gt;<br>&gt; =C2=A0<br>&g=
t;<br>&gt; [<br>&gt;<br>&gt; -4, &quot;US&quot;,<br>&gt;<br>&gt; -6, &quot;=
Arizona&quot;,<br>&gt;<br>&gt; -5, &quot;Scottsdale&quot;,<br>&gt;<br>&gt; =
-8, &quot;Starfield Technologies, Inc.&quot;,<br>&gt;<br>&gt; -9, &quot;<a =
href=3D"http://certs.starfieldtech.com/repository/">http://certs.starfieldt=
ech.com/repository/</a>&quot;,<br>&gt;<br>&gt; -1, &quot;Starfield Secure C=
ertificate Authority - G2&quot;<br>&gt;<br>&gt; ],<br>&gt;<br>&gt; [<br>&gt=
;<br>&gt; =C2=A0 4, &quot;<a href=3D"http://crl.starfieldtech.com/sfig2s1-2=
42.crl">http://crl.starfieldtech.com/sfig2s1-242.crl</a>&quot;,<br>&gt;<br>=
&gt; =C2=A0 5, [ h&#39;6086480186fd6e01071701&#39;, &quot;<a href=3D"http:/=
/certificates.starfieldtech.com/repository/">http://certificates.starfieldt=
ech.com/repository/</a>&quot;, 1 ],<br>&gt;<br>&gt; =C2=A0 8, [ 1, &quot;<a=
 href=3D"http://ocsp.starfieldtech.com/">http://ocsp.starfieldtech.com/</a>=
&quot;, 2, &quot;<a href=3D"http://certificates.starfieldtech.com/repositor=
y/sfig2.crt">http://certificates.starfieldtech.com/repository/sfig2.crt</a>=
&quot; ]<br>&gt;<br>&gt; ]<br>&gt;<br>&gt; =C2=A0<br>&gt;<br>&gt; Cheers,<b=
r>&gt;<br>&gt; John<br>&gt;<br>&gt; _______________________________________=
________<br>&gt; CBOR mailing list<br>&gt; <a href=3D"mailto:CBOR@ietf.org"=
>CBOR@ietf.org</a><br>&gt; <a href=3D"https://www.ietf.org/mailman/listinfo=
/cbor">https://www.ietf.org/mailman/listinfo/cbor</a></div></div>

--00000000000036e67805bd09bfde--


From nobody Mon Mar  8 20:28:56 2021
Return-Path: <brian.e.carpenter@gmail.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 DA1283A0ED6 for <cbor@ietfa.amsl.com>; Mon,  8 Mar 2021 20:28:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 idNaXVC1IGs0 for <cbor@ietfa.amsl.com>; Mon,  8 Mar 2021 20:28:53 -0800 (PST)
Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) (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 80D8F3A0ED3 for <cbor@ietf.org>; Mon,  8 Mar 2021 20:28:53 -0800 (PST)
Received: by mail-pg1-x531.google.com with SMTP id o38so7900378pgm.9 for <cbor@ietf.org>; Mon, 08 Mar 2021 20:28:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=wOua9rZ/p1xDglNOYJ04THCjgYLheSc28lr4abiyWDQ=; b=TU7KtHU6XCP64EEu+rAI5/rekct0PLZ5Ip1eXeEcyjKeAQefTu00k1Tzam8/mo4+Vb 0SXHuTMBkV3g89ONF3OG6WkJ+FL0JAnJks17fsBcHWB2+aTLc8bI4q3Om8qrLD5gUMHN 280wXrJLnPmGRWQDidbaEB3OWbItTL8JcOD6SMhg+vVsoAc7/ZJ1MwLR4wbfrMBJh5SS o/JkcMkXO0AYyVpZI21zVTDCeFh9gCXRWRzRONgQW524rlw1AbFgs7K+ez3wT22gmgWh J0dKio0U4X4A0PDSNWSCCIlfNSt1AQyf/USqpywon4rKqukxXalFdQgIAiZP6KcG47lZ hfKw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wOua9rZ/p1xDglNOYJ04THCjgYLheSc28lr4abiyWDQ=; b=BW4qt7bCrLWQSZEG3GSq3nXibNHc9IH/KtJQyZH4OW2/LyGDiQoahyosB4dI3mZTFH DyqY4garMBwrBKuBM3qq20XoMBcPZ4oAbBBIRT+DzYYGqXcSK/SGw7snFOVAjnsAH62+ 8PvGiCkvrMYOvyKkQ5Y35yAildbb8KGTBWK/TU7s3irjALmNB4XMyPJkUvenmV2gLDe/ g7vVebNbAXWmR5PgWLDwpd9um7Lmwi1MYtp5z95NQSwGJ9XWRtgMum5BvaLGjn5ZKzuL os1Thv+2F9wH6zK8ArdayzMQoaseVkwkz0N5UwpPqsCapuuU1CqQWvEwLPKflhyzENBe T6MQ==
X-Gm-Message-State: AOAM532+5+Wrv6WpbuFfOAGsSXK8oLf6dTnQRknkxfHSt9kkRpdwLsv/ 7Sot8YYY0z8O5ltdkz4LJKPT7ydycjwjzg==
X-Google-Smtp-Source: ABdhPJwtE4JuhMHHvv8DSXP/TCidgAs7PWqzA7q+yIOID1c0PQmevgTjYJ8QWzeUo9z94+RDkyGztg==
X-Received: by 2002:a63:e415:: with SMTP id a21mr22957074pgi.241.1615264131530;  Mon, 08 Mar 2021 20:28:51 -0800 (PST)
Received: from [192.168.178.20] ([151.210.131.28]) by smtp.gmail.com with ESMTPSA id mz11sm944935pjb.6.2021.03.08.20.28.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Mar 2021 20:28:51 -0800 (PST)
To: Carsten Bormann <cabo@tzi.org>, Michael Richardson <mcr+ietf@sandelman.ca>
Cc: cbor@ietf.org
References: <161266446471.542.2418789735601546566@ietfa.amsl.com> <a15c4d67-e67f-c210-0477-29564c2b67e0@gmail.com> <30430.1615160268@localhost> <EDD97469-5F4F-4182-A81C-ABAE2D86F075@tzi.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <2592b135-9b83-431b-0d00-776538889b92@gmail.com>
Date: Tue, 9 Mar 2021 17:28:45 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <EDD97469-5F4F-4182-A81C-ABAE2D86F075@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/asS5VLzmIYO2XyTNQJ-WGgmaRyg>
Subject: Re: [Cbor] changes to draft-ietf-cbor-network-addresses-01.txt
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: Tue, 09 Mar 2021 04:28:55 -0000

On 08-Mar-21 20:53, Carsten Bormann wrote:
> I think prefixes and addresses are completely separate use cases.
>=20
> There is rarely a point in suppressing trailing zeroes in an address.
> We shouldn=E2=80=99t burden implementations to cater to this 0.4 % case=
 (probably less in practice).
>=20
> Prefixes are different, and they should indeed always be tail-cut.
> (They are usually /64 or shorter, so there is a real win.)

True, but we didn't bother about that in draft-ietf-anima-prefix-manageme=
nt, because it isn't really aimed at constrained devices. It sends the pr=
efix as bytes .size 16
(or bytes .size 4), which makes life easier.
=20
> We could imagine an alternate world where IIDs are carefully chosen so =
that actual addresses have as many trailing zeroes as possible.

We could, but that contravenes the IPv6 privacy recommendations.

> But that=E2=80=99s not what happens today.  If we were to compress inne=
r zero runs (as in =E2=80=9C::=E2=80=9D), we=E2=80=99d need to give the b=
yte position where that happens (the length would be implied by the lengt=
h of the remaining byte string).
> I=E2=80=99m not proposing we cater to that.

No, you'd be better inventing a generic "compress zero bytes" mechanism a=
nd tag, but would you really want to go there?

    Brian

>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
> (The /24 IPv4 example in the draft is wrong.)
>=20
>=20


From nobody Tue Mar  9 06:42:30 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 360B23A0E62; Tue,  9 Mar 2021 06:42:25 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <161530094514.13640.13557132723821236873@ietfa.amsl.com>
Date: Tue, 09 Mar 2021 06:42:25 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/LS970eUDo2kmm1ZHxg3mEmDFU9g>
Subject: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-02.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 09 Mar 2021 14:42:26 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : CBOR tags for IPv4 and IPv6 addresses and prefixes
        Author          : Michael Richardson
	Filename        : draft-ietf-cbor-network-addresses-02.txt
	Pages           : 6
	Date            : 2021-03-09

Abstract:
   This document describes two CBOR Tags to be used with IPv4 and IPv6
   addresses and prefixes.

   RFC-EDITOR-please remove: This work is tracked at
   https://github.com/mcr/cbor-network-address.git


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-network-addresses-02.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-network-addresses-02


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Tue Mar  9 06:44:40 2021
Return-Path: <mcr+ietf@sandelman.ca>
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 14E873A0E4A for <cbor@ietfa.amsl.com>; Tue,  9 Mar 2021 06:44:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 e3ho3M-1KJ0q for <cbor@ietfa.amsl.com>; Tue,  9 Mar 2021 06:44:36 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67F193A0E4D for <cbor@ietf.org>; Tue,  9 Mar 2021 06:44:36 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 0BA11389B2 for <cbor@ietf.org>; Tue,  9 Mar 2021 09:49:34 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PQNw81F0rRxh for <cbor@ietf.org>; Tue,  9 Mar 2021 09:49:33 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 59A0F389AF for <cbor@ietf.org>; Tue,  9 Mar 2021 09:49:33 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 2EBAF909 for <cbor@ietf.org>; Tue,  9 Mar 2021 09:44:33 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: cbor@ietf.org
In-Reply-To: <EDD97469-5F4F-4182-A81C-ABAE2D86F075@tzi.org>
References: <161266446471.542.2418789735601546566@ietfa.amsl.com> <a15c4d67-e67f-c210-0477-29564c2b67e0@gmail.com> <30430.1615160268@localhost> <EDD97469-5F4F-4182-A81C-ABAE2D86F075@tzi.org>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Tue, 09 Mar 2021 09:44:33 -0500
Message-ID: <23184.1615301073@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/e2LJfFyPS38_q5WIhRN7i6c7UpA>
Subject: Re: [Cbor] changes to draft-ietf-cbor-network-addresses-01.txt
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: Tue, 09 Mar 2021 14:44:39 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Carsten Bormann <cabo@tzi.org> wrote:
    > I think prefixes and addresses are completely separate use cases.

    > There is rarely a point in suppressing trailing zeroes in an address.
    > We shouldn=E2=80=99t burden implementations to cater to this 0.4 % ca=
se
    > (probably less in practice).

okay.  I will take this constructive criticism and edit as you suggest.
When the byte-string is short, is it invalid then?

    > (The /24 IPv4 example in the draft is wrong.)

In that it has a non-zero value after the prefix length?
Yes, a copy&paste goof.

I have posted -02 just now.

https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-cbor-network-addresses-02

I guess I need to change the encoder and decoder considerations a bit more.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmBHidAACgkQgItw+93Q
3WX7oQf/Yqg3tCF2H2/ksdjodrbTHSDWyPCUz+W0P80w67tdaRWSRhF2jjD5WlQ3
1JMUlwBsfBfbATX1M+Fuc8y6rSsN0euMiIAvTqTroMBbCAJCWput8VTFQlydZ+19
2fremKdDzdd6NesQ7BQBgoXJ3f4GXc+cto/I9x42+tWz/pAYtrnZh6qQ0FCczzEt
LVN5icmRUJidsxZMcdJ3xpiNhHKng3iCIMym0IE0qk7TYsVeS76fqIq6RxFYM6sj
JdNFXLjs2s1akJIjLBxdroVkdXnjrvxmIGOMIS37AQwmTKqAESpqoaGf8kw4XA38
vJgzCaGnxLVg1XRuEQFo8/BeEr5kGw==
=9LjI
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Mar  9 06:50:29 2021
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 5A7E83A0E5A for <cbor@ietfa.amsl.com>; Tue,  9 Mar 2021 06:50:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.919
X-Spam-Level: 
X-Spam-Status: No, score=-6.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 5_EfmP8XjObr for <cbor@ietfa.amsl.com>; Tue,  9 Mar 2021 06:50:24 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2B8B03A0E63 for <cbor@ietf.org>; Tue,  9 Mar 2021 06:50:10 -0800 (PST)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4Dvymb6Y7hzyWs; Tue,  9 Mar 2021 15:50:07 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <23184.1615301073@localhost>
Date: Tue, 9 Mar 2021 15:50:07 +0100
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 636994207.305571-678852c01f7608f511164a51caf428a9
Content-Transfer-Encoding: quoted-printable
Message-Id: <B16E5C16-0B3D-47AB-9BBE-D9787CC661AC@tzi.org>
References: <161266446471.542.2418789735601546566@ietfa.amsl.com> <a15c4d67-e67f-c210-0477-29564c2b67e0@gmail.com> <30430.1615160268@localhost> <EDD97469-5F4F-4182-A81C-ABAE2D86F075@tzi.org> <23184.1615301073@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/6knxwpKZgk2OIcsOrmMTISEXz2U>
Subject: Re: [Cbor] changes to draft-ietf-cbor-network-addresses-01.txt
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: Tue, 09 Mar 2021 14:50:28 -0000

> On 2021-03-09, at 15:44, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
>=20
> Signed PGP part
>=20
> Carsten Bormann <cabo@tzi.org> wrote:
>> I think prefixes and addresses are completely separate use cases.
>=20
>> There is rarely a point in suppressing trailing zeroes in an address.
>> We shouldn=E2=80=99t burden implementations to cater to this 0.4 % =
case
>> (probably less in practice).
>=20
> okay.  I will take this constructive criticism and edit as you =
suggest.
> When the byte-string is short, is it invalid then?

Yes (for an address).

Gr=C3=BC=C3=9Fe, Carsten


From nobody Tue Mar  9 08:09:30 2021
Return-Path: <mcr+ietf@sandelman.ca>
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 D62E83A11A5 for <cbor@ietfa.amsl.com>; Tue,  9 Mar 2021 08:09:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 FpNh-2I4jPP1 for <cbor@ietfa.amsl.com>; Tue,  9 Mar 2021 08:09:28 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E77873A119E for <cbor@ietf.org>; Tue,  9 Mar 2021 08:09:27 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id C969C389AD for <cbor@ietf.org>; Tue,  9 Mar 2021 11:14:26 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZKElCjeE38e1 for <cbor@ietf.org>; Tue,  9 Mar 2021 11:14:25 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id CCB01389AC for <cbor@ietf.org>; Tue,  9 Mar 2021 11:14:25 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 6A07C1C0 for <cbor@ietf.org>; Tue,  9 Mar 2021 11:09:25 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
to: cbor@ietf.org
In-Reply-To: <23184.1615301073@localhost>
References: <161266446471.542.2418789735601546566@ietfa.amsl.com> <a15c4d67-e67f-c210-0477-29564c2b67e0@gmail.com> <30430.1615160268@localhost> <EDD97469-5F4F-4182-A81C-ABAE2D86F075@tzi.org> <23184.1615301073@localhost>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Tue, 09 Mar 2021 11:09:25 -0500
Message-ID: <15531.1615306165@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/RKj5qSF9Amjm1PRNoKeFQwQOAN0>
Subject: Re: [Cbor] changes to draft-ietf-cbor-network-addresses-01.txt
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: Tue, 09 Mar 2021 16:09:30 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Michael Richardson <mcr+ietf@sandelman.ca> wrote:
    > I have posted -02 just now.

    > https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-cbor-network-addresses=
-02

    > I guess I need to change the encoder and decoder considerations a bit
    > more.

Actually, I don't think that there is much to say, as those sections actual=
ly
were specific to prefixes, not addresses.

I did ask in the decoder section:

~~~~
[0]
~~~~

or

~~~~
[0, null]
~~~~

Do we wish to tolerate either of these as equivalent to ::/0?

Erik Kline noticed that I had screwed up the example for ::/128.
It should be [128,h'']

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmBHnbUACgkQgItw+93Q
3WWrTQf/U9p4BAKQ6MF19GTM4IMZRymsBuXZF6kHfPmxBwxFJ8WLFmsYSkVrgrVn
5Q7xeY7EI9bdZAwuelFS01BC6Y349yNV1E709EI8bHRqdWjHjcvYcmEpVZj3xU9t
1MYPVEt1K3+e+BlDnMLgFuMK/gSHoX9TlGgO8RVlU2v7oOfXorV9HmoMDyEuYPdv
uA2O4VN0RJLSPq2Cd1F6b674sSPlVPPfyDHxJVgfrMmnk7yNCJqx5B7OaZ+TJRdT
p0gAME1IQBanBKb2fL8fMsNW8CK1EF1cSeb5cxPBuXZw36BW/fnLbG9/FHKljHW+
7bV/wBLBPSNxlyMIBZtV3XOXzfH4nA==
=nSUY
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Mar  9 08:44:54 2021
Return-Path: <mcr+ietf@sandelman.ca>
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 054113A1383 for <cbor@ietfa.amsl.com>; Tue,  9 Mar 2021 08:44:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 zO9ocyJqYilw for <cbor@ietfa.amsl.com>; Tue,  9 Mar 2021 08:44:43 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 958303A13AB for <cbor@ietf.org>; Tue,  9 Mar 2021 08:44:42 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 0E3BE389AD for <cbor@ietf.org>; Tue,  9 Mar 2021 11:49:42 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0zGtPachu12D for <cbor@ietf.org>; Tue,  9 Mar 2021 11:49:41 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 8CC2D38997 for <cbor@ietf.org>; Tue,  9 Mar 2021 11:49:41 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 177341C0 for <cbor@ietf.org>; Tue,  9 Mar 2021 11:44:41 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: cbor@ietf.org
In-Reply-To: <rt-4.4.3-2321-1615245604-682.1190858-37-0@icann.org>
References: <RT-Ticket-1190858@icann.org> <20424.1615216918@localhost> <rt-4.4.3-2321-1615245604-682.1190858-37-0@icann.org>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Tue, 09 Mar 2021 11:44:41 -0500
Message-ID: <26788.1615308281@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/qTdNBY7tHvDAAgxnVkP0Eyd2--0>
Subject: Re: [Cbor] [IANA #1190858] IANA.cbor-tags FCFS (cbor-tags)
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: Tue, 09 Mar 2021 16:44:53 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Sabrina Tanamal via RT <iana-prot-param@iana.org> wrote:
    > We've added the following entry to the CBOR Tags registry:

    > Tag: 55800 Data Item: byte-string Semantics: indicates that the file
    > contains one or more CBOR Sequences Reference:
    > [draft-ietf-cbor-file-magic-00][Michael_Richardson]

    > Please see https://www.iana.org/assignments/cbor-tags

IANA has allocated the 55800 tag.
I've updated the github copy of the document.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmBHpfgACgkQgItw+93Q
3WVP1Af/bMJbI/p9HW+LZZDYxDXqdd9kITyG8AcNHq3t0Hxq14bxFImTrTolj4ws
6eZsLvW4XqNpJftQkSj92wSunwz0m7x5zyg3RMOYIZlAePns9horfGcCQXSP71ux
gHSeHRQ8ST1ngx3WITAQM8q612vASvfO/weBoLAWIO4jof4WuJBd05h+aAz8SG8Y
GLW4U0/F0doT/XxEm+VWiVPTQbgQVi+dGCNzEEX2UAfERDBSthdm0DtsE2fiCEQV
qBhrNw5FMHS+Hjj9H3/0McoW+ZGEJyqtPWH8CgHWhXVjzJK+APIcW5BUn9kkUPrm
685M4xAZUkXiLmnKRAfe1gK2kUz0Lg==
=I/0v
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Mar  9 08:57:41 2021
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 CFDE63A13A4 for <cbor@ietfa.amsl.com>; Tue,  9 Mar 2021 08:57:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 hvlm_XaRMUME for <cbor@ietfa.amsl.com>; Tue,  9 Mar 2021 08:57:36 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AFD333A13A0 for <cbor@ietf.org>; Tue,  9 Mar 2021 08:57:36 -0800 (PST)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4Dw1bg0Y0vzyXP; Tue,  9 Mar 2021 17:57:35 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <26788.1615308281@localhost>
Date: Tue, 9 Mar 2021 17:57:34 +0100
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 637001854.397004-72255629b16911cff5ceba3aa69cf46a
Content-Transfer-Encoding: quoted-printable
Message-Id: <B51E470D-940F-4423-9E39-6A9803C3B1BD@tzi.org>
References: <RT-Ticket-1190858@icann.org> <20424.1615216918@localhost> <rt-4.4.3-2321-1615245604-682.1190858-37-0@icann.org> <26788.1615308281@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/l1uEUQRMkstjw82joW4YUXAvB6c>
Subject: Re: [Cbor] [IANA #1190858] IANA.cbor-tags FCFS (cbor-tags)
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: Tue, 09 Mar 2021 16:57:40 -0000

On 2021-03-09, at 17:44, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
>=20
> IANA has allocated the 55800 tag.

Minimal drama :-)

Great!

Gr=C3=BC=C3=9Fe, Carsten


From nobody Wed Mar 10 00:28:18 2021
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 8C81A3A1F00 for <cbor@ietfa.amsl.com>; Wed, 10 Mar 2021 00:28:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 m8CAXnuBVS4g for <cbor@ietfa.amsl.com>; Wed, 10 Mar 2021 00:28:14 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 855433A1EFF for <cbor@ietf.org>; Wed, 10 Mar 2021 00:28:14 -0800 (PST)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4DwQFS2gBXzykc; Wed, 10 Mar 2021 09:28:12 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <246ddd55-9100-a75b-0137-46aa8df5da77@gmx.de>
Date: Wed, 10 Mar 2021 09:28:11 +0100
Cc: ietf-http-wg@w3.org, cbor@ietf.org
X-Mao-Original-Outgoing-Id: 637057691.681538-35b6f202033be7384d66bfb16b013b23
Content-Transfer-Encoding: quoted-printable
Message-Id: <5348E763-59C6-4ED8-8FA5-386175BB69B8@tzi.org>
References: <CAP9qbHXN+rrvM6ugaaph3ycw2qqEsvO-bPMS=ex6AjNM88xtHw@mail.gmail.com> <246ddd55-9100-a75b-0137-46aa8df5da77@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Or8pQpdljThswXFAlNA0ovwVGRE>
Subject: Re: [Cbor] Migrating a spec to structured fields
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, 10 Mar 2021 08:28:18 -0000

On 2021-03-10, at 09:15, Julian Reschke <julian.reschke@gmx.de> wrote:
>=20
> the proposal is to use ABNF

Yeah, I was worried about that, too.

Instead of using ABNF for JSON texts, we have languages like CDDL.

Maybe something should be done now for structured HTTPheaders.
(It will be easy to add that to CDDL, if you want.)

Gr=C3=BC=C3=9Fe, Carsten


From nobody Thu Mar 11 08:03:53 2021
Return-Path: <christian@amsuess.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 DBF573A125B for <cbor@ietfa.amsl.com>; Thu, 11 Mar 2021 08:03:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, 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 jIjzte3Mr8Jm for <cbor@ietfa.amsl.com>; Thu, 11 Mar 2021 08:03:44 -0800 (PST)
Received: from prometheus.amsuess.com (alt.prometheus.amsuess.com [IPv6:2a01:4f8:190:3064::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A1DB23A11EF for <cbor@ietf.org>; Thu, 11 Mar 2021 08:03:37 -0800 (PST)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by prometheus.amsuess.com (Postfix) with ESMTPS id 18AB4408A0 for <cbor@ietf.org>; Thu, 11 Mar 2021 17:03:31 +0100 (CET)
Received: from poseidon-mailbox.amsuess.com (poseidon-mailbox.amsuess.com [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 250AFD3 for <cbor@ietf.org>; Thu, 11 Mar 2021 17:03:30 +0100 (CET)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:8628:563f:7c92:13bc]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id DAD7E10A for <cbor@ietf.org>; Thu, 11 Mar 2021 17:03:29 +0100 (CET)
Received: (nullmailer pid 3712457 invoked by uid 1000); Thu, 11 Mar 2021 16:03:29 -0000
Date: Thu, 11 Mar 2021 17:03:29 +0100
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: cbor@ietf.org
Message-ID: <YEo/UbMRIuyTVoRp@hephaistos.amsuess.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oIKzRZVy3bbqvtV7"
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/NZDXoxtUxZOgWsVaZOjjxE_Y55c>
Subject: [Cbor] CBOR interim meetings between IETF110 and 111
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, 11 Mar 2021 16:03:52 -0000

--oIKzRZVy3bbqvtV7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello CBOR group,

let's continue the interims after IETF 110. There has typically been a
pause of about a month after the IETF, with biweekly meetings on
Wednesdays 17:00 CEST (15:00 UTC for the relevant months; 11:00 EDT)
resuming at 2021-04-07 (after Easter).

Please tell if there are any pressing conflicts with that time slot.

Best regards
Christian

--=20
To use raw power is to make yourself infinitely vulnerable to greater power=
s.
  -- Bene Gesserit axiom

--oIKzRZVy3bbqvtV7
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECM1tElX6OodcH7CWOY0REtOkveEFAmBKP0oACgkQOY0REtOk
veEmoBAAqP5Nr2UwDUzo45poTqHLQPht7hSlX+1IP5YTO49R1rNm6Yg52MVvJCrA
lrr4ISonAm3se8dbuZoglU1/hNoBq2zJjl/0sxSLS83LFXwJbrxu4miEkzXrPKKV
NZXjlwGrLEIs/fcOx+jfsnojxRQQ7a9mmUJPmt/Gzy62ceM7p+M93Z+xBf8D/jAw
34wHlnWTdjpmRm6K8gogUfT25AsbXyGjPVqiSLurHpjcfXt3pECFeqKIWTLVa9L6
sCGhVOwpNa6mZ6blMq33NZReHQqWWEc6uws2Abbl3q45mDIb2RdeLXj6yldxcCec
+i9onwqVxgFDqUP0Vr3CBOZ0s4/DaRgiSZfpW0AuUh5TqRsxsY1mG+yXts+98Utg
9uY9ER3eHJJJXDpLPyjj57SIBpElFZokY0qlaEOH9+m8bIRwgU6QN8mel3a9R/1+
13JITE6v4i13zaB9K7jdLyD28H1NDRPBalSzgjxjRp4JTrBCJl3B9xXVNL7x9s1W
8KR8Qh9Uxd0+77kJWVQF21/B4I3Ws/bNoza+a57JYQsi3OWhleqqiJPNpNBj/S46
JHeWdv176ImRNoSaKhEv+e7fkrYTcwzN+Edd/OTjvkzZ9SNpj8rKlcSgrJfysFYH
L/j55Ds8AV/IwU1nCsxGeKzfx3+lMx8al5H+ILkcbUox/qE0Wi4=
=KrD3
-----END PGP SIGNATURE-----

--oIKzRZVy3bbqvtV7--


From nobody Thu Mar 11 08:30:42 2021
Return-Path: <blueroofmusic@gmail.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 019F93A0CE9 for <cbor@ietfa.amsl.com>; Thu, 11 Mar 2021 08:30:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 (2048-bit key) header.d=gmail.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 A-FRpGvBVQQ4 for <cbor@ietfa.amsl.com>; Thu, 11 Mar 2021 08:30:38 -0800 (PST)
Received: from mail-ua1-x92e.google.com (mail-ua1-x92e.google.com [IPv6:2607:f8b0:4864:20::92e]) (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 455443A1363 for <cbor@ietf.org>; Thu, 11 Mar 2021 08:30:37 -0800 (PST)
Received: by mail-ua1-x92e.google.com with SMTP id v11so793554uao.0 for <cbor@ietf.org>; Thu, 11 Mar 2021 08:30:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8gXOx6XWqpmmYDOQpd9ESwYsre9LpLcPAaHhuA9jmbs=; b=CQpfJdKAKJN2Va8C1M9dA51o6IXDLVpdX1pZFWplujvig8OCmosurzcP0oZkq4Sdhn wdcbDSLwLnAD95oyKeKOHJNEsYYSaYmvsmHgsGU6Kse7ambB9zSkQLhPs2ebW8lOOqFv zhDLC/AkkJMk9gHZr3LYP91oxhqUI3BiS7jDOJXjhxy4+xxo7ZM7fzUUsWP+F5DQyxYA vYITpP6Hi+ldHk20rK+9FqNQ0/mg5B7N5fjEQwbFX++iZCflsnxdfQmxjlt/E/58r2j6 /+M9289dqwUXtHy8YW8LlMHqKY/VL6ZeyKmE+G7IiDjE4lSSIBGubD8rGE1o7Sfco68g RRFA==
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=8gXOx6XWqpmmYDOQpd9ESwYsre9LpLcPAaHhuA9jmbs=; b=OhIUoLCrjuEjRrPHtja9mFm+4f4wInT2OPoPT7SKgxOzRd1zn4tqBiVmK8WzfVtqfl 6snsncnX6x+o6K6zNQXs0J+nDOcyOoZL8jOOkQZ6CJcc4uafcxiR4Gb/FHTJnxzNVDBd aRJRqYtGDr2juJnh1n9R5rlRagtRMC3CRfOBRjckzTc67bpPVarG+uIqHZiHP5KM5fc0 I2BrBHT4ZAoXTrTQ/as4Hfdz+MS9Wgmce8QQDh4/zNxiCXwrTXX+ZptbWIyYjs3ca4jB GF7Ezh7oJGev9wcxm6pTJzZAD/hv7WRnDtMq7JCsUe7Rm/GqkI9ZKXZR/5XfC2GpDAXo WCBg==
X-Gm-Message-State: AOAM532nxxvWmTBPobKhnhuZIkWM7fpu4k9NvLqHeQl5hyInoi/JpTxA K8pCv2teCZvwoC0iszwwbqXNpcFPVd3vUl5bpmY=
X-Google-Smtp-Source: ABdhPJyU4aU0dQfaP/w6V8pyiGjlqP9pHnzcJIjbhiWYEnFX7uCIL4SesBqaPdGRsddWih2URZ364uGcu8pfsf37Nd4=
X-Received: by 2002:a9f:264f:: with SMTP id 73mr5775697uag.88.1615480235305; Thu, 11 Mar 2021 08:30:35 -0800 (PST)
MIME-Version: 1.0
References: <YEo/UbMRIuyTVoRp@hephaistos.amsuess.com>
In-Reply-To: <YEo/UbMRIuyTVoRp@hephaistos.amsuess.com>
From: Ira McDonald <blueroofmusic@gmail.com>
Date: Thu, 11 Mar 2021 11:30:23 -0500
Message-ID: <CAN40gSsyUZM0SF9JnHCH=vs5uuQwO3dOK1Xbdhkgeutt5oU66w@mail.gmail.com>
To: =?UTF-8?Q?Christian_Ams=C3=BCss?= <christian@amsuess.com>,  Ira McDonald <blueroofmusic@gmail.com>
Cc: cbor@ietf.org
Content-Type: multipart/alternative; boundary="000000000000912ed205bd454d61"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/KwoVNJem2IsEl2azZGbstrYuF90>
Subject: Re: [Cbor] CBOR interim meetings between IETF110 and 111
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, 11 Mar 2021 16:30:40 -0000

--000000000000912ed205bd454d61
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

No conflicts.  Thanks for preserving the current bi-weekly cadence (let's
me join).

Cheers,
- Ira




On Thu, Mar 11, 2021 at 11:05 AM Christian Ams=C3=BCss <christian@amsuess.c=
om>
wrote:

> Hello CBOR group,
>
> let's continue the interims after IETF 110. There has typically been a
> pause of about a month after the IETF, with biweekly meetings on
> Wednesdays 17:00 CEST (15:00 UTC for the relevant months; 11:00 EDT)
> resuming at 2021-04-07 (after Easter).
>
> Please tell if there are any pressing conflicts with that time slot.
>
> Best regards
> Christian
>
> --
> To use raw power is to make yourself infinitely vulnerable to greater
> powers.
>   -- Bene Gesserit axiom
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor
>

--000000000000912ed205bd454d61
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi,</div><div><br></div><div>No conflicts.=C2=A0 Than=
ks for preserving the current bi-weekly cadence (let&#39;s me join).</div><=
div><br></div><div>Cheers,</div><div>- Ira</div><div><br></div><div><div><d=
iv dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"=
><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=
=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr">=
<div><div dir=3D"ltr"><div><br></div></div></div></div></div></div></div></=
div></div></div></div></div></div></div></div></div></div></div><br></div><=
/div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">O=
n Thu, Mar 11, 2021 at 11:05 AM Christian Ams=C3=BCss &lt;<a href=3D"mailto=
:christian@amsuess.com">christian@amsuess.com</a>&gt; wrote:<br></div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex">Hello CBOR group,<br>
<br>
let&#39;s continue the interims after IETF 110. There has typically been a<=
br>
pause of about a month after the IETF, with biweekly meetings on<br>
Wednesdays 17:00 CEST (15:00 UTC for the relevant months; 11:00 EDT)<br>
resuming at 2021-04-07 (after Easter).<br>
<br>
Please tell if there are any pressing conflicts with that time slot.<br>
<br>
Best regards<br>
Christian<br>
<br>
-- <br>
To use raw power is to make yourself infinitely vulnerable to greater power=
s.<br>
=C2=A0 -- Bene Gesserit axiom<br>
_______________________________________________<br>
CBOR mailing list<br>
<a href=3D"mailto:CBOR@ietf.org" target=3D"_blank">CBOR@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cbor" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/cbor</a><br>
</blockquote></div>

--000000000000912ed205bd454d61--


From emile.cormier.jr@gmail.com  Fri Mar 12 15:51:08 2021
Return-Path: <emile.cormier.jr@gmail.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 50B8D3A084D for <cbor@ietfa.amsl.com>; Fri, 12 Mar 2021 15:51:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 GS4YdwexIDaB for <cbor@ietfa.amsl.com>; Fri, 12 Mar 2021 15:51:06 -0800 (PST)
Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (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 8AFE03A0ADE for <cbor@ietf.org>; Fri, 12 Mar 2021 15:51:06 -0800 (PST)
Received: by mail-pf1-x42b.google.com with SMTP id j12so2895920pfj.12 for <cbor@ietf.org>; Fri, 12 Mar 2021 15:51:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=f2zk8Ly518+8rBW8kNybueRTo7iHC2x37ZR6WRWpjOQ=; b=ERQ+E62Pi7jxtkCX4jLXsxhs4ulmEvD/J6GuLJzKvuXKCwSYPXql0LpqJTWtL2yYT+ 5dMWX1Ddb0ynMOs5iLSUF+kX79KQo9dbR1mRmIJNPiEau46iwb7WmtqwIxh42xRtiNG1 rDx+xsGuu9hh/iRh5zGwp72cPWRxL8nJJEg8egS/4lKFdpxNpSTuDx+yNZ+/Cz7ebdOL RXLe3k6y+8AoZwalXt0X5vG74cFD+N1ydtDBvX2AfhuYaiVW984XJTb6+qz51O6e0iGr k5Ky4IPrA+rIwaczTub15B1pp/s76khovimuEuLrq/oz/Y6aoFwpAOyGZv5WdlZDznVl eDog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=f2zk8Ly518+8rBW8kNybueRTo7iHC2x37ZR6WRWpjOQ=; b=uhKcrTvhlTMojK5W+e9hr9GEq6IV0R+gRyMyQSVqKZCYqCPHlre+nmb0KCXX+nE3FA H8aKuxEXtrXDoJM4YEecviboPJcDyuyEafUJgGasujQx0aR9uHxkMpwOir4SITSpJXd+ jxkj8tWRhWE58FBoRzOAri6FbH39xlXfCsLgeLb3plhQXOA9swTtFelEkXTafUEF73uf WWByWA8jgStmbtz2KrvWXEUBzq668quEMAVul5df1ux0Y6NhLYMOzoj+7wFmwSrdZ2IE jUpj+hChIncPHOmJcCY/LI0QJTuM05F3n5vmj1vpQR4Ne+4cjVRL7/zQu4x4rPoDdzmS PW6A==
X-Gm-Message-State: AOAM530itwAO5VMJOj3IUX/TO6kzMj5Qzl73kpi6I0uJmJCK4Bwtw5eT WhabOlJOxQxCqVWOM2h9Vgmh0RqUp3mgZDlMjdvqL+UwwDv4mQ==
X-Google-Smtp-Source: ABdhPJzJpMnJWgttRVvaU+znh5MZPiMBKu2X6xOBQZB7dzRR27v0Z0ufmCvqrw5GZgxwqbMq9Zc2NWGrQPxNn1fD4BI=
X-Received: by 2002:aa7:9824:0:b029:1ef:2104:c72d with SMTP id q4-20020aa798240000b02901ef2104c72dmr602954pfl.20.1615593065364; Fri, 12 Mar 2021 15:51:05 -0800 (PST)
MIME-Version: 1.0
From: Emile Cormier <emile.cormier.jr@gmail.com>
Date: Fri, 12 Mar 2021 19:50:54 -0400
Message-ID: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com>
To: cbor@ietf.org
Content-Type: multipart/alternative; boundary="000000000000c33da605bd5f92b5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/NJQ3O64EoFEpYbEy9lrUQGkOKzk>
Subject: [Cbor] Consolidated set of tags for map-like entities
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: Sat, 13 Mar 2021 03:00:49 -0000

--000000000000c33da605bd5f92b5
Content-Type: text/plain; charset="UTF-8"

Hi Everyone,

I've been corresponding privately with Prof. Bormann about a new tag I
proposed for encoding multimaps as arrays or pairs. He's made me aware of
your recent discussion about another proposed tag for encoding "ordered"
maps, where the insertion order must be preserved. Carsten has indicated to
me his desire to consolidate all of these map-related tags together.

I would like to contribute to this endeavor of consolidating map-related
tags. To get the discussion started, I would like to share with you a draft
proposal I've written to serve as a starting point:
https://github.com/ecorm/cbor-map-like

Here's a brief summary:

This document proposes a consolidated set of CBOR tags for map-like
> entities involving key-value pairs. These tags encode the following
> meta-data concerning map-like entities:
>
>    - the homogeneity of the key and value types,
>    - the preservation of the insertion order of the key-value pairs,
>    - the uniqueness of the keys, and,
>    - the major type used to encode the key-value pairs.
>
> My interest in CBOR stems from my work on a new C++ serialization library
that can support any JSON-like encoding. This library is closed source for
now, but I may be able to convince my employer to make it open source in
the future.

I'm also involved with the WAMP protocol, which allows CBOR as one of its
encodings.

I'm looking forward to collaborating with you and I hope that we can come
to a solution that satisfies everyone's needs.

Cheers,
Emile Cormier

--000000000000c33da605bd5f92b5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Everyone,</div><div><br></div><div>I&#39;ve been c=
orresponding privately with Prof. Bormann about a new tag I proposed for en=
coding multimaps as arrays or pairs. He&#39;s made me aware of your recent =
discussion about another proposed tag for encoding &quot;ordered&quot; maps=
, where the insertion order must be preserved. Carsten has indicated to me =
his desire to consolidate all of these map-related tags together.</div><div=
><br></div><div>I would like to contribute to this endeavor of consolidatin=
g map-related tags. To get the discussion started, I would like to share wi=
th you a draft proposal I&#39;ve written to serve as a starting point: <a h=
ref=3D"https://github.com/ecorm/cbor-map-like">https://github.com/ecorm/cbo=
r-map-like</a></div><div><br></div><div>Here&#39;s a brief summary:</div><d=
iv><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div></div><=
div>This document proposes a consolidated set of CBOR tags for map-like ent=
ities involving key-value pairs. These tags encode the following meta-data =
concerning map-like entities:</div><div><ul><li>the homogeneity of the key =
and value types,</li><li>the preservation of the insertion order of the key=
-value pairs,</li><li>the uniqueness of the keys, and,</li><li>the major ty=
pe used to encode the key-value pairs.<br></li></ul></div></blockquote><div=
></div><div>My interest in CBOR stems from my work on a new C++ serializati=
on library that can support any JSON-like encoding. This library is closed =
source for now, but I may be able to convince my employer to make it open s=
ource in the future.</div><div><br></div><div>I&#39;m also involved with th=
e WAMP protocol, which allows CBOR as one of its encodings.<br></div><div><=
br></div><div>I&#39;m looking forward to collaborating with you and I hope =
that we can come to a solution that satisfies everyone&#39;s needs.</div><d=
iv><br></div><div>Cheers,</div><div>Emile Cormier<br></div></div>

--000000000000c33da605bd5f92b5--


From nobody Sun Mar 14 14:08:58 2021
Return-Path: <mcr+ietf@sandelman.ca>
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 B38173A158F for <cbor@ietfa.amsl.com>; Sun, 14 Mar 2021 14:08:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 mNRKeVjR4HhC for <cbor@ietfa.amsl.com>; Sun, 14 Mar 2021 14:08:54 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9EB213A158E for <cbor@ietf.org>; Sun, 14 Mar 2021 14:08:54 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id C5F0C389CC for <cbor@ietf.org>; Sun, 14 Mar 2021 17:14:13 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id W03KB5l9ACtd for <cbor@ietf.org>; Sun, 14 Mar 2021 17:14:13 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 3E315389CA for <cbor@ietf.org>; Sun, 14 Mar 2021 17:14:13 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 359A71C0 for <cbor@ietf.org>; Sun, 14 Mar 2021 17:08:53 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: cbor@ietf.org
X-Attribution: mcr
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Sun, 14 Mar 2021 17:08:53 -0400
Message-ID: <1301.1615756133@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/xyMC1qjkp1DHBtyXVYcUzW2IkQg>
Subject: [Cbor] building "enum" from CDDL map keys
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: Sun, 14 Mar 2021 21:08:57 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


This seems to be primarily about a specific parser for CDDL, (software), and
the IETF is not entirely concerned about how specific software works (or
fails to), except in as-much that it is implementator feedback.

I have figured out how to use Carsten's "cddl" program to process my CDDL
file for the internal protocol that led me to file-magic and network-addres=
s.
Yes, I've actually already implemented in C first (validated with hundreds =
of
unit tests), and then wrote it down in CDDL before I implement in Rust.
(It was also really a process of discoverying what data was part of which
commands, which has so far remained an internal-only issue)

So I have a series of maps (I'm unclear if I should, in CDDL refer to them =
as
tables).  So I have, for example:

whack-message =3D {
  WHACK_STATUS     =3D> { },
  WHACK_SHUTDOWN   =3D> { },
  WHACK_OPTIONS    =3D> OptionsCommand,
  WHACK_CONNECTION =3D> Connection,
  ...
}
...
WHACK_STATUS =3D  1
WHACK_SHUTDOWN =3D2
WHACK_OPTIONS  =3D3
WHACK_CONNECTION=3D4
...

So to be clear, a single command message is a map, and each map key implies=
 a
command.  This is a kind of very-wide-instruction-set, and is copied from t=
he C-code.
In practice, we rarely do more than one command at the same time.

(I initially used : rather than =3D> and then learnt that was wrong. That c=
ddl
program helped me a lot here.  It also helped me find a typo, "unit" rather
than "uint", although the error handling there could be improved)

With the undocumented "e" option, I can create output like:

#define CDDL_WHACK_STATUS 1
#define CDDL_WHACK_SHUTDOWN 2
#define CDDL_WHACK_OPTIONS 3
#define CDDL_WHACK_CONNECTION 4

(or any other single-line format) which is useful, but not ideal.  What I r=
eally want is:

  enum whack_message_keys {
     WHACK_STATUS =3D 1,
     WHACK_SHUTDOWN=3D2,
     WHACK_OPTIONS =3D3,
     WHACK_CONNECTION=3D4
     ...
  };

A reason I want to do this is so that my compiler can help me identify:
  1) duplicate values
  2) missing handling of case statements

<CORE POINT>
I looked through the cddl code, and I am not at all certain that CDDL has
enough meta information about where the keys are used to be able to do this.
I think that it's also possible to use the same key values in many places,
and I even do this myself.

I think that what I'm doing is not unique: maybe I should be describing this
in CDDL in a different way.
</CORE POINT>

So at this point, I'm generating to another file:
	printf "/* generated from whack.cddl */\n" >include/whack_values.h
	printf "#ifndef WHACKVALUES_H\n#define WHACKVALUES_H\n" >>include/whack_va=
lues.h
	cddl docs/whack.cddl ep                  >>include/whack_values.h
	printf "#endif /* WHACKVALUES_H */\n"    >>include/whack_values.h

and then I would have:

enum whack_CBOR_actions {
    WHACK_STATUS =3D  CDDL_WHACK_STATUS,
    WHACK_SHUTDOWN =3DCDDL_WHACK_SHUTDOWN,
    WHACK_OPTIONS  =3DCDDL_WHACK_OPTIONS,
    WHACK_CONNECTION=3DCDDL_WHACK_CONNECTION,
...

but that requires more work that I'd like, and I won't get the switch(enum)
benefit from the compiler, telling me that I forgot to implement something.

(There are, however, some conflicting requirements here, because I probably
do want a default: clause that skips CBOR that I don't know, in order to
allow for forward and backwards compatibility.  This does not apply at all
levels of the decode though)



=2D-
]               Never tell me the odds!                 | ipv6 mesh network=
s [
]   Michael Richardson, Sandelman Software Works        |    IoT architect =
  [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails  =
  [







=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmBOe2QACgkQgItw+93Q
3WW40AgAqOq6NJ+Oow5Q+ka60eusSGDsAOmuUP5W3k3yXMZnhbfPMXBUSEExBRxb
nOVvttzzHg5IPo3QZ3QLFxUeizbr16rTWZ7w36vtZwsrQFQkknvGlBdCO/u1q0ZI
8AG4t0lbVO78twtBB8wEoxDD8MzmOEkdyh9pEweuFEPMTq07GNsWEU5MsAgdGOwK
LGPP/MwnM0+dpBIPntKGtUkwCUGn3DG33bfL3n1W1NDp3Dh7sdPuXDFYtCfq6bdo
1o0WREOFhusstEbbiY06os6AGRm/PrO+195hk1LT7xg6D0x8HIb2fnHIMVEkXw+M
lDULsRg+EGBHgzLOMMERKrtUJylfLQ==
=6fs0
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Sun Mar 14 14:30:01 2021
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 97F903A15E1 for <cbor@ietfa.amsl.com>; Sun, 14 Mar 2021 14:29:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.919
X-Spam-Level: 
X-Spam-Status: No, score=-6.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 QfanAPxIrfFF for <cbor@ietfa.amsl.com>; Sun, 14 Mar 2021 14:29:56 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8DF563A15E0 for <cbor@ietf.org>; Sun, 14 Mar 2021 14:29:56 -0700 (PDT)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4DzCPZ1Wz7zyWB; Sun, 14 Mar 2021 22:29:54 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <1301.1615756133@localhost>
Date: Sun, 14 Mar 2021 22:29:53 +0100
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 637450193.510119-7d803aec9759edde3e7fde617871bd9b
Content-Transfer-Encoding: quoted-printable
Message-Id: <22F7C719-8D3B-4CDA-A6F4-72128DD54EBE@tzi.org>
References: <1301.1615756133@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/lw2ZqsNzvg5QYXk-_JazhbCVk_E>
Subject: Re: [Cbor] building "enum" from CDDL map keys
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: Sun, 14 Mar 2021 21:30:00 -0000

On 2021-03-14, at 22:08, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
>=20
> I looked through the cddl code, and I am not at all certain that CDDL =
has
> enough meta information about where the keys are used to be able to do =
this.
> I think that it's also possible to use the same key values in many =
places,
> and I even do this myself.

For each rule that defines a map, a tool could look at the keys used in =
that map and build a C enum from that.  This would require some =
conventions (i.e., the CDDL should look somewhat like yours), but it =
doesn=E2=80=99t sound too hard.

In my copious free time, I=E2=80=99ll see if I can hack this into the =
cddlc tool...

Gr=C3=BC=C3=9Fe, Carsten


From nobody Mon Mar 15 03:44:31 2021
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 429AF3A0BBA for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 03:44:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.219
X-Spam-Level: 
X-Spam-Status: No, score=-4.219 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 PUgjijDwL2aq for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 03:44:27 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D1AF63A0BB2 for <cbor@ietf.org>; Mon, 15 Mar 2021 03:44:26 -0700 (PDT)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4DzY2K1LkQzyZ5; Mon, 15 Mar 2021 11:44:25 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <1301.1615756133@localhost>
Date: Mon, 15 Mar 2021 11:44:24 +0100
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 637497864.573733-5d7cb09320b3e178cbc09b324805cb77
Content-Transfer-Encoding: quoted-printable
Message-Id: <D0440CFA-7295-46C3-8B38-C2755DAB314A@tzi.org>
References: <1301.1615756133@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/awOqN4rexMuUCk8UGROlV_7NumE>
Subject: Re: [Cbor] building "enum" from CDDL map keys
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: Mon, 15 Mar 2021 10:44:29 -0000

On 2021-03-14, at 22:08, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
>=20
>=20
>  enum whack_message_keys {
>     WHACK_STATUS =3D 1,
>     WHACK_SHUTDOWN=3D2,
>     WHACK_OPTIONS =3D3,
>     WHACK_CONNECTION=3D4
>     ...
>  };

cddlc 0.0.2 can do this:

$ cddlc -tenum test-data/whack.cddl
enum whack_message_keys {
  WHACK_STATUS =3D 1,
  WHACK_SHUTDOWN =3D 2,
  WHACK_OPTIONS =3D 3,
  WHACK_CONNECTION =3D 4,
};

I=E2=80=99m not sure whether keeping the key names undecorated is OK in =
all cases, but that=E2=80=99s maybe for a 0.0.3.

As usual,

	gem update cddlc

or
	gem install cddlc

if you haven=E2=80=99t used it before).

This is a banana version (it is intended to ripen after shipping), but =
it seems to work for me.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Mon Mar 15 07:23:42 2021
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 896E23A12E5; Mon, 15 Mar 2021 07:23:39 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
To: <cbor-chairs@ietf.org>, <cbor@ietf.org>, <draft-bormann-cbor-time-tag@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <161581821954.26298.6426962063739301656@ietfa.amsl.com>
Date: Mon, 15 Mar 2021 07:23:39 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/bz9lkT7p-KztwSBg7EAlmX0Ukro>
Subject: [Cbor] The CBOR WG has placed draft-bormann-cbor-time-tag in state "Call For Adoption By WG Issued"
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 15 Mar 2021 14:23:40 -0000

The CBOR WG has placed draft-bormann-cbor-time-tag in state
Call For Adoption By WG Issued (entered by Christian Amsüss)

The document is available at
https://datatracker.ietf.org/doc/draft-bormann-cbor-time-tag/

Comment:
In-room consensus for adoption at IETF 110 being confirmed on mailing list
until 2021-03-25.


From nobody Mon Mar 15 08:10:53 2021
Return-Path: <christian@amsuess.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 6E88D3A1308 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 08:10:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 qdLqEq0p83vy for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 08:10:49 -0700 (PDT)
Received: from prometheus.amsuess.com (prometheus.amsuess.com [5.9.147.112]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A46143A122B for <cbor@ietf.org>; Mon, 15 Mar 2021 08:10:49 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd]) by prometheus.amsuess.com (Postfix) with ESMTPS id 13766408A5 for <cbor@ietf.org>; Mon, 15 Mar 2021 16:10:47 +0100 (CET)
Received: from poseidon-mailbox.amsuess.com (poseidon-mailbox.amsuess.com [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 98165D3 for <cbor@ietf.org>; Mon, 15 Mar 2021 16:10:45 +0100 (CET)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:80ef:46c9:e7c5:c33f]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 3084117C for <cbor@ietf.org>; Mon, 15 Mar 2021 16:10:45 +0100 (CET)
Received: (nullmailer pid 29902 invoked by uid 1000); Mon, 15 Mar 2021 15:10:44 -0000
Date: Mon, 15 Mar 2021 16:10:44 +0100
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: cbor@ietf.org
Message-ID: <YE949DMvwXcjwRrf@hephaistos.amsuess.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ifi+R345P6jDD+WR"
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/BzHzEkqsdVOOGzLL66Yya91lUN4>
Subject: [Cbor] IETF 110 minutes and summary
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: Mon, 15 Mar 2021 15:10:52 -0000

--ifi+R345P6jDD+WR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello CBOR group,

thanks for all the participation in the IETF 110 CBOR meeting.

Minutes are published via the data tracker at [1] (along with the
recordings[2]), please take the opportunity to review and reflect on
them.

Notable items and decisions taken:

* cddl-control can now do ABNF and will go into WGLC soon.
* cbor-packed was promised several reviews.
* file-magic can (and Michael since then has) go ahead and register CBOR
  tags.
* network-addresses was promised reviews.
* time-tag had in-room consensus for adoption; the confirmation mail was
  just sent (expiring next week).
* ordered maps has seen support for having a 1+1 tag.

Apologies to Carsten for cutting short his scheduled slot for
notable-tags and the ai=28 discussion for fear of getting the Meetecho
boot.

Interim meetings are planned to resume at their usual cadence and time
slot starting 2021-04-07.

Best regards
Christian

[1]: https://datatracker.ietf.org/meeting/110/materials/minutes-110-cbor-00
[2]: https://www.youtube.com/watch?v=Ok5gT0Fq6OI

--ifi+R345P6jDD+WR
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECM1tElX6OodcH7CWOY0REtOkveEFAmBPePEACgkQOY0REtOk
veGEIg//WuU++oxkGqLv0yNGch5jqUev1h1RXZZKoMzp8qJoNertHol7Gk3ZGQEG
fUg3GFvRrshRTYTOJlxa3glzQnTQSn4hJEMBd6GJdRvZV4veiuaIVDYb91v6B3Yc
bYciPMwS/ufwI3tQh2DaOTLRAi4Ge/6zQMWaFxbw5Y1x6ePviGLq0vSuL9BvA9XB
pFgst+Dt4NyDOOAL91ZXXPXuV9pQ1aZPik5GaoZdts/wgQ0ZlrkM2AEMTGTk8Xg5
17VHGSIGrvtF8HqHEowU8j2sbV95kRNRcuw/rPZYzoe6HunpEaHbGCn4OQXzNZsr
gN7hQJSm+p9M5+ZoT3uodUeJ/1WkqrEBXj22sxosMisSFnh7+OuN70e751bAcMqV
kmdrUx94Y838MvBWpfknSx2OGBmclzWGAl+7eygQLO6oQ6t3t9CY0rBn/O799uvd
qUeVdy8zploBELxi0OOdQ3ap3IHLYPn+yrgvYP94k0WWB1k977UtqrXFByp+zELJ
G7xsojmd/N31hpSGJU9ZWqZyPquhlfiIt3Xhaj68T4llsVVzR2PJpS8CbEnboYMq
n0ezsM423kuKt3qHpTM3kA/VvpM/oxP72TcItNKhBTtbuvNDy0hQW/TZJQm7vOCW
tZE2ad9nwPnlJ3YywQYKfU4R8RaVBGxDk7nSz6kpE1j0wyTl9NI=
=8XH3
-----END PGP SIGNATURE-----

--ifi+R345P6jDD+WR--


From nobody Mon Mar 15 08:15:18 2021
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B5CD3A1399; Mon, 15 Mar 2021 08:15:16 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IESG Secretary <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
Cc: cbor-chairs@ietf.org, cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <161582131625.18261.6596852145813383403@ietfa.amsl.com>
Date: Mon, 15 Mar 2021 08:15:16 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/mtbpOyKACgSa7kCOUCKqr97n_zE>
Subject: [Cbor] Concise Binary Object Representation Maintenance and Extensions (cbor) WG Interim Meeting Cancelled (was 2021-03-24)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 15 Mar 2021 15:15:17 -0000

The Concise Binary Object Representation Maintenance and Extensions (cbor) virtual 
interim meeting for 2021-03-24 from 16:00 to 17:00 Europe/Stockholm
has been cancelled.






From nobody Mon Mar 15 09:47:56 2021
Return-Path: <housley@vigilsec.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 561B43A169D for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 09:47:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=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 3lt_pEZOglfO for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 09:47:52 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8FD3F3A169B for <cbor@ietf.org>; Mon, 15 Mar 2021 09:47:52 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id C9991300AAB for <cbor@ietf.org>; Mon, 15 Mar 2021 12:47:49 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 0nmpoBs5SHdn for <cbor@ietf.org>; Mon, 15 Mar 2021 12:47:48 -0400 (EDT)
Received: from [192.168.1.161] (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id 8345A30009B for <cbor@ietf.org>; Mon, 15 Mar 2021 12:47:48 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\))
Message-Id: <3835E637-85A1-44B3-812D-FD6A80EE8473@vigilsec.com>
Date: Mon, 15 Mar 2021 12:47:48 -0400
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3445.104.17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/kbNmdLxAEJA3kJYEPR-Robg_BAQ>
Subject: [Cbor] Review of draft-ietf-cbor-packed-02
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: Mon, 15 Mar 2021 16:47:54 -0000

I agreed to review this document during the session at IETF 110.

Russ

= = = = = = = =

Document: draft-ietf-cbor-packed-02
Reviewer: Russ Housley
Review Date: 2021-03-15

Major Concern:

RFC 7049 says that CBOR was designed so that "encoded data should be
self-describing so that a generic decoder can be written."  I di not
expect Packed CBOR to deviate from this design goal.  However, the
feature that allows an application environment, such as a media type,
to define tables does exactly that.  Decode will fail if these table
values are not known to the decoder.


Minor Concern:

In Section 2.1, the text says: "In the abstract, ...".  I am unsure what
this is trying to tell the implementer.  I think it means: "regardless
of the data structure used by an implementer".  I think these words can
be removed.


Nits:

Section 2: Begins with: "Packed CBOR is defined in two parts:
Referencing packing tables (this section) and setting up packing
tables (Section 3)."  I suggest this text be place at the send of
the Introduction.


From nobody Mon Mar 15 10:35:43 2021
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 8813F3A1816 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 10:35:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, 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 XjJvK8FeAHBE for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 10:35:37 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B1C813A181D for <cbor@ietf.org>; Mon, 15 Mar 2021 10:35:37 -0700 (PDT)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4Dzk8l5jvBzyX7; Mon, 15 Mar 2021 18:35:35 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <3835E637-85A1-44B3-812D-FD6A80EE8473@vigilsec.com>
Date: Mon, 15 Mar 2021 18:35:35 +0100
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 637522535.322997-83906eab7491f7961196278767c6490b
Content-Transfer-Encoding: quoted-printable
Message-Id: <08DB2CF6-21D7-4EE6-85C7-1E73416D1A70@tzi.org>
References: <3835E637-85A1-44B3-812D-FD6A80EE8473@vigilsec.com>
To: Russ Housley <housley@vigilsec.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/8MQ5DbVf1NIm1oRrYCcAnD486jU>
Subject: Re: [Cbor] Review of draft-ietf-cbor-packed-02
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: Mon, 15 Mar 2021 17:35:42 -0000

Hi Russ,

thank you for this review.

> Document: draft-ietf-cbor-packed-02
> Reviewer: Russ Housley
> Review Date: 2021-03-15
>=20
> Major Concern:
>=20
> RFC 7049 says that CBOR was designed so that "encoded data should be
> self-describing so that a generic decoder can be written."  I di not
> expect Packed CBOR to deviate from this design goal.  However, the
> feature that allows an application environment, such as a media type,
> to define tables does exactly that.  Decode will fail if these table
> values are not known to the decoder.

Well, decode won=E2=80=99t fail, but unpacking will leave holes.
That is a consequence of using external dictionaries that is hard to =
avoid.
Would you prefer to rule out external dictionaries? =20
They sure were useful in places like RFC 3485 etc.

> Minor Concern:
>=20
> In Section 2.1, the text says: "In the abstract, ...".  I am unsure =
what
> this is trying to tell the implementer.  I think it means: "regardless
> of the data structure used by an implementer".  I think these words =
can
> be removed.

I think this was supposed to mean:

>> Each of the tables is indexed by an unsigned integer (starting
>> from 0), which may be computed from information in tags and their
>> content as well as from CBOR simple values.


> Nits:

>=20
> Section 2: Begins with: "Packed CBOR is defined in two parts:
> Referencing packing tables (this section) and setting up packing
> tables (Section 3)."  I suggest this text be place at the send of
> the Introduction.

Changed this to:

>> Packed CBOR is defined in two parts: Referencing packing tables
>> ({{sec-packed-cbor}} and setting up packing tables
>> ({{sec-table-setup}}).
(At the end of 1. proper; Terminology section interspersed=E2=80=A6)
>> # Packed CBOR
>>=20
>> This section describes the packing tables, their structure and how
>> they are referenced.

Both changes are now in https://github.com/cbor-wg/cbor-packed/pull/2

Thank you!

Gr=C3=BC=C3=9Fe, Carsten


From nobody Mon Mar 15 11:40:19 2021
Return-Path: <housley@vigilsec.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 A7F073A1A6B for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 11:40:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=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 5KWJAkQlMEjM for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 11:40:15 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E257F3A1A69 for <cbor@ietf.org>; Mon, 15 Mar 2021 11:40:14 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 304A5300B98 for <cbor@ietf.org>; Mon, 15 Mar 2021 14:40:12 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6k0aA6DQTNQh for <cbor@ietf.org>; Mon, 15 Mar 2021 14:40:11 -0400 (EDT)
Received: from [192.168.1.161] (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id EE845300B19; Mon, 15 Mar 2021 14:40:10 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <08DB2CF6-21D7-4EE6-85C7-1E73416D1A70@tzi.org>
Date: Mon, 15 Mar 2021 14:40:11 -0400
Cc: cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <0C959B3D-462F-4872-A8AA-12F9C90FD425@vigilsec.com>
References: <3835E637-85A1-44B3-812D-FD6A80EE8473@vigilsec.com> <08DB2CF6-21D7-4EE6-85C7-1E73416D1A70@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3445.104.17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/XQo-PKJZ8znxB7lsfN1DdRFCHdY>
Subject: Re: [Cbor] Review of draft-ietf-cbor-packed-02
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: Mon, 15 Mar 2021 18:40:17 -0000

Carsten:

> thank you for this review.
>=20
>> Document: draft-ietf-cbor-packed-02
>> Reviewer: Russ Housley
>> Review Date: 2021-03-15
>>=20
>> Major Concern:
>>=20
>> RFC 7049 says that CBOR was designed so that "encoded data should be
>> self-describing so that a generic decoder can be written."  I di not
>> expect Packed CBOR to deviate from this design goal.  However, the
>> feature that allows an application environment, such as a media type,
>> to define tables does exactly that.  Decode will fail if these table
>> values are not known to the decoder.
>=20
> Well, decode won=E2=80=99t fail, but unpacking will leave holes.
> That is a consequence of using external dictionaries that is hard to =
avoid.
> Would you prefer to rule out external dictionaries? =20
> They sure were useful in places like RFC 3485 etc.

 I felt this point of divergence from the original design goal needed =
explicit discussion.

I'm not sure what the right answer might be.  Maybe some preamble to say =
that a named table is needed for successfully recovering the entire =
content. In the current document, this context is assumed.

Russ


From nobody Mon Mar 15 11:50:08 2021
Return-Path: <hildjj@cursive.net>
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 490513A1AD0 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 11:50:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.697
X-Spam-Level: 
X-Spam-Status: No, score=-1.697 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=cursive.net
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 gBlWT4EYRM-p for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 11:50:04 -0700 (PDT)
Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (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 6046E3A1ACF for <cbor@ietf.org>; Mon, 15 Mar 2021 11:50:04 -0700 (PDT)
Received: by mail-oi1-x234.google.com with SMTP id w125so6934044oib.13 for <cbor@ietf.org>; Mon, 15 Mar 2021 11:50:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cursive.net; s=google;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=OpktNTXqCyt+KNDPxccMMesbkog6eTbqPEVqJ5MuCS4=; b=jIgHkCn0PXk8+nXZ1aP4RmIWpv6Mp6KvHHx/SLS4yicCkkRwkRtVhxrbhcMdViaEmn 9umTohGbqEQjVjkRG3qecIolncEd1iWylGfRjlpoku5V5qWmqmSm6CjCB1Cohnu7TdL5 L7xgDtteOCMueFiSsuT+Bo4sQ5Ppu/PjqHHwI=
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=OpktNTXqCyt+KNDPxccMMesbkog6eTbqPEVqJ5MuCS4=; b=sk2BcJrPImsCHDtdHmySN1F8NZ2opgFEav3PAItnx1Lb6mB2MI/YdQS6gqxga9t7H3 DZP94v8F5yz4Xn5mXynAhOvHW9DqWZa3penDAByQgX9XX9QjREgCc9pQJrmfkNBmCzR1 Hp4KDRtDsWbMh1t8OnrX2Mbz3BnGbvt2YPb0oyGTN+z0QcyvrCkM/v4V3X1zvAZ6a4LT yII7y68GA7YVAlVhcwS3nhN0/3doIpwu5FtByzh5uEgqY2MMNc5AWTfmuybLFBk8J8zv 8Db9+3fg7y5Vpw97FBWwdVvbBc5c7bnlF9zXs1Gqv8Co0GGZas7mSLyk7NEEZ5MpdSzv y+Lw==
X-Gm-Message-State: AOAM5315RLXPdieym71IzCFLcIr8E2wrIPS20dQf4q1yPdecNUepzaNT NqqTNQvzzeoIxfR4bDX+EJNfYIK4W8TY5w==
X-Google-Smtp-Source: ABdhPJxMO2/JhDZnoGNVsjG9naBYw2413um85mGLVX8x7WlBIwRvP3qJhBvyvAshUn51VbZ9/ccLuw==
X-Received: by 2002:aca:3456:: with SMTP id b83mr373460oia.51.1615834203678; Mon, 15 Mar 2021 11:50:03 -0700 (PDT)
Received: from ?IPv6:2601:282:200:3758:b10e:3847:34b3:46d6? ([2601:282:200:3758:b10e:3847:34b3:46d6]) by smtp.gmail.com with ESMTPSA id 8sm7488549otx.1.2021.03.15.11.50.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Mar 2021 11:50:03 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Joe Hildebrand <hildjj@cursive.net>
In-Reply-To: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com>
Date: Mon, 15 Mar 2021 12:50:02 -0600
Cc: cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <C2B0934A-2AAB-4A45-A354-407782B4CA0B@cursive.net>
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com>
To: Emile Cormier <emile.cormier.jr@gmail.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/2VodMlwERBGblcDZFlyzTUdvxs0>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Mon, 15 Mar 2021 18:50:06 -0000

Suggestion: make "Unique Keys: no" be a zero bit in the LSB, not 1, for =
ease of understanding the table.  Alternately, rename to "Allow =
duplicate keys".

In the "Key/Value Type" section, perhaps use 4 bits, so it's more clear =
which bits you're talking about?

Data Item being major type 5 should really only be used if the keys are =
homogeneously strings, in my opinion.

Overall, this feels like somewhat overkill, but solves the problem and =
I'd be fine with it if it allowed us to move on.

=E2=80=94=20
Joe Hildebrand

> On Mar 12, 2021, at 4:50 PM, Emile Cormier =
<emile.cormier.jr@gmail.com> wrote:
>=20
> Hi Everyone,
>=20
> I've been corresponding privately with Prof. Bormann about a new tag I =
proposed for encoding multimaps as arrays or pairs. He's made me aware =
of your recent discussion about another proposed tag for encoding =
"ordered" maps, where the insertion order must be preserved. Carsten has =
indicated to me his desire to consolidate all of these map-related tags =
together.
>=20
> I would like to contribute to this endeavor of consolidating =
map-related tags. To get the discussion started, I would like to share =
with you a draft proposal I've written to serve as a starting point: =
https://github.com/ecorm/cbor-map-like
>=20
> Here's a brief summary:
>=20
> This document proposes a consolidated set of CBOR tags for map-like =
entities involving key-value pairs. These tags encode the following =
meta-data concerning map-like entities:
> 	=E2=80=A2 the homogeneity of the key and value types,
> 	=E2=80=A2 the preservation of the insertion order of the =
key-value pairs,
> 	=E2=80=A2 the uniqueness of the keys, and,
> 	=E2=80=A2 the major type used to encode the key-value pairs.
> My interest in CBOR stems from my work on a new C++ serialization =
library that can support any JSON-like encoding. This library is closed =
source for now, but I may be able to convince my employer to make it =
open source in the future.
>=20
> I'm also involved with the WAMP protocol, which allows CBOR as one of =
its encodings.
>=20
> I'm looking forward to collaborating with you and I hope that we can =
come to a solution that satisfies everyone's needs.
>=20
> Cheers,
> Emile Cormier
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor


From nobody Mon Mar 15 11:51:47 2021
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 231973A1AE0 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 11:51:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.219
X-Spam-Level: 
X-Spam-Status: No, score=-4.219 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 h0PT8w_eXtxC for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 11:51:42 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5ADAB3A1ADE for <cbor@ietf.org>; Mon, 15 Mar 2021 11:51:42 -0700 (PDT)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4DzlrX4pcgzyX7; Mon, 15 Mar 2021 19:51:40 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <C2B0934A-2AAB-4A45-A354-407782B4CA0B@cursive.net>
Date: Mon, 15 Mar 2021 19:51:40 +0100
Cc: Emile Cormier <emile.cormier.jr@gmail.com>, cbor@ietf.org
X-Mao-Original-Outgoing-Id: 637527100.17813-1d822b94fe49d7ee65838ce168983ea6
Content-Transfer-Encoding: quoted-printable
Message-Id: <FA5E389C-C577-4D42-A19E-A3A50F14F730@tzi.org>
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com> <C2B0934A-2AAB-4A45-A354-407782B4CA0B@cursive.net>
To: Joe Hildebrand <hildjj@cursive.net>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/lvv1LkC4Fk4rEj1DNFjIPO5uN5c>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Mon, 15 Mar 2021 18:51:46 -0000

On 2021-03-15, at 19:50, Joe Hildebrand <hildjj@cursive.net> wrote:
>=20
> Data Item being major type 5 should really only be used if the keys =
are homogeneously strings, in my opinion.

We are using a lot of integer labels with mt5, so why would we make that =
restriction?

Gr=C3=BC=C3=9Fe, Carsten


From nobody Mon Mar 15 12:00:58 2021
Return-Path: <emile.cormier.jr@gmail.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 A9DE83A1BE0 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 12:00:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 (2048-bit key) header.d=gmail.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 VThs4jOWUesF for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 12:00:47 -0700 (PDT)
Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (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 C5B813A1C9E for <cbor@ietf.org>; Mon, 15 Mar 2021 12:00:36 -0700 (PDT)
Received: by mail-pl1-x62e.google.com with SMTP id u18so15749941plc.12 for <cbor@ietf.org>; Mon, 15 Mar 2021 12:00:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Dz6OV7tgqoAYMw83Rw+UfUiZmXn4P+19YLzO1AG1DHo=; b=jBo9fuYoFV5js8+RcyNnOJEy2+etoTRM/qflooeg+ryoMox0XmrKELeo0+nU+MgPaX pO1tUvZfoKHBeT/C2JL2CqazV/RQyETTQrFYTC4f1ES8lLOmrpJTMWixT/rgxOPCNv8p ik9vjNyMUIAPAYpLTAUxT8z3ev66nVdHPF5wlX9XCnxgOnWI9LR9BuyBZmwNCUeW3naT s92eNhXpBLMpB7jL2VNIbBrwqyN1uBgW7PtYNzgdP7RgJxtLCr9Mpyw2xTvr/AijF8Rh S2AmlJw0D1+DF4epKOdI+Gjv5mxONk1nw++IaI/w3tSFMmAL3My1Yweqla0kZKuNLvgL 3QOQ==
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=Dz6OV7tgqoAYMw83Rw+UfUiZmXn4P+19YLzO1AG1DHo=; b=hnF8Gw5s1ZE7gKtDLokcAI6Lhh2Fe+Q98peL5ItXbz8UtGes/Xtolt7qp7V3ws3nde 8FVZHAdUAle7l6NS2WgBjas3CaW1Mdr3+O2R0P2grpLtFq+wFbhkZGeNlkxOhJWaXmrW //j94Lxax7w2ucGV8Ah6VU6U+lE8ewHeek5biLWoCJ8HcaJVkLujtBXdWrGJp/2mXDAe h/6O0d6L/gFI70PLsraRC7xwrfOl5rmawngnv5umzplkNPpUZWCM7dT8ROejIXOtaMGv +4D6VY3JslZyhHySss1+ace6QGfZsZHpDd13LTXqpqyz+ajb9vghEL3Hib7fwZtZHjF0 kl4A==
X-Gm-Message-State: AOAM533pEJBNtPBoh91RlE8IAAisaC9FEil7v9nTTbKVfxVbxOvNyrBD s1skclYCpVwh4mQYwh4hOQQHIEqs1oFYvYbE2Y4=
X-Google-Smtp-Source: ABdhPJwBBEswYlM6g3uQ0Sdepqei89rmdhW+Cp265c/ztQkOgFoHfX4dZ9rAtqGZ/ni/dw6fe7ePD+NAEZ3z1T2iCCM=
X-Received: by 2002:a17:902:ff15:b029:e4:51ae:e1ee with SMTP id f21-20020a170902ff15b02900e451aee1eemr12688374plj.83.1615834834352; Mon, 15 Mar 2021 12:00:34 -0700 (PDT)
MIME-Version: 1.0
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com> <C2B0934A-2AAB-4A45-A354-407782B4CA0B@cursive.net>
In-Reply-To: <C2B0934A-2AAB-4A45-A354-407782B4CA0B@cursive.net>
From: Emile Cormier <emile.cormier.jr@gmail.com>
Date: Mon, 15 Mar 2021 16:00:23 -0300
Message-ID: <CAM70yxCrD37tEUro46_tLpPQZuWKTYFyWOPaModaAJJOa3mBSQ@mail.gmail.com>
To: Joe Hildebrand <hildjj@cursive.net>
Cc: cbor@ietf.org
Content-Type: multipart/alternative; boundary="000000000000513ced05bd97ddb6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/XXYAGMZKnj9SLIc4VkHd9u5a6ts>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Mon, 15 Mar 2021 19:00:57 -0000

--000000000000513ced05bd97ddb6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

"Unique Keys: no" as zero bit was chosen so that the first tag in the set
is equivalent to no tag at all. Your point about understandability is well
taken and I will change the column heading as you suggested.

I'll expand it to 4 bits in the "Key/Value Type" section as you suggested.
Thanks!

On Mon, Mar 15, 2021 at 3:50 PM Joe Hildebrand <hildjj@cursive.net> wrote:

> Suggestion: make "Unique Keys: no" be a zero bit in the LSB, not 1, for
> ease of understanding the table.  Alternately, rename to "Allow duplicate
> keys".
>
> In the "Key/Value Type" section, perhaps use 4 bits, so it's more clear
> which bits you're talking about?
>
> Data Item being major type 5 should really only be used if the keys are
> homogeneously strings, in my opinion.
>
> Overall, this feels like somewhat overkill, but solves the problem and I'=
d
> be fine with it if it allowed us to move on.
>
> =E2=80=94
> Joe Hildebrand
>
> > On Mar 12, 2021, at 4:50 PM, Emile Cormier <emile.cormier.jr@gmail.com>
> wrote:
> >
> > Hi Everyone,
> >
> > I've been corresponding privately with Prof. Bormann about a new tag I
> proposed for encoding multimaps as arrays or pairs. He's made me aware of
> your recent discussion about another proposed tag for encoding "ordered"
> maps, where the insertion order must be preserved. Carsten has indicated =
to
> me his desire to consolidate all of these map-related tags together.
> >
> > I would like to contribute to this endeavor of consolidating map-relate=
d
> tags. To get the discussion started, I would like to share with you a dra=
ft
> proposal I've written to serve as a starting point:
> https://github.com/ecorm/cbor-map-like
> >
> > Here's a brief summary:
> >
> > This document proposes a consolidated set of CBOR tags for map-like
> entities involving key-value pairs. These tags encode the following
> meta-data concerning map-like entities:
> >       =E2=80=A2 the homogeneity of the key and value types,
> >       =E2=80=A2 the preservation of the insertion order of the key-valu=
e pairs,
> >       =E2=80=A2 the uniqueness of the keys, and,
> >       =E2=80=A2 the major type used to encode the key-value pairs.
> > My interest in CBOR stems from my work on a new C++ serialization
> library that can support any JSON-like encoding. This library is closed
> source for now, but I may be able to convince my employer to make it open
> source in the future.
> >
> > I'm also involved with the WAMP protocol, which allows CBOR as one of
> its encodings.
> >
> > I'm looking forward to collaborating with you and I hope that we can
> come to a solution that satisfies everyone's needs.
> >
> > Cheers,
> > Emile Cormier
> > _______________________________________________
> > CBOR mailing list
> > CBOR@ietf.org
> > https://www.ietf.org/mailman/listinfo/cbor
>
>

--000000000000513ced05bd97ddb6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>&quot;Unique Keys: no&quot; as zero bit was chosen so=
 that the first tag in the set is equivalent to no tag at all. Your point a=
bout understandability is well taken and I will change the column heading a=
s you suggested.</div><div><br></div><div>I&#39;ll expand it to 4 bits in t=
he &quot;Key/Value Type&quot; section as you suggested. Thanks!<br></div></=
div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On=
 Mon, Mar 15, 2021 at 3:50 PM Joe Hildebrand &lt;<a href=3D"mailto:hildjj@c=
ursive.net">hildjj@cursive.net</a>&gt; wrote:<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex">Suggestion: make &quot;Unique Keys: no&quot; =
be a zero bit in the LSB, not 1, for ease of understanding the table.=C2=A0=
 Alternately, rename to &quot;Allow duplicate keys&quot;.<br>
<br>
In the &quot;Key/Value Type&quot; section, perhaps use 4 bits, so it&#39;s =
more clear which bits you&#39;re talking about?<br>
<br>
Data Item being major type 5 should really only be used if the keys are hom=
ogeneously strings, in my opinion.<br>
<br>
Overall, this feels like somewhat overkill, but solves the problem and I&#3=
9;d be fine with it if it allowed us to move on.<br>
<br>
=E2=80=94 <br>
Joe Hildebrand<br>
<br>
&gt; On Mar 12, 2021, at 4:50 PM, Emile Cormier &lt;<a href=3D"mailto:emile=
.cormier.jr@gmail.com" target=3D"_blank">emile.cormier.jr@gmail.com</a>&gt;=
 wrote:<br>
&gt; <br>
&gt; Hi Everyone,<br>
&gt; <br>
&gt; I&#39;ve been corresponding privately with Prof. Bormann about a new t=
ag I proposed for encoding multimaps as arrays or pairs. He&#39;s made me a=
ware of your recent discussion about another proposed tag for encoding &quo=
t;ordered&quot; maps, where the insertion order must be preserved. Carsten =
has indicated to me his desire to consolidate all of these map-related tags=
 together.<br>
&gt; <br>
&gt; I would like to contribute to this endeavor of consolidating map-relat=
ed tags. To get the discussion started, I would like to share with you a dr=
aft proposal I&#39;ve written to serve as a starting point: <a href=3D"http=
s://github.com/ecorm/cbor-map-like" rel=3D"noreferrer" target=3D"_blank">ht=
tps://github.com/ecorm/cbor-map-like</a><br>
&gt; <br>
&gt; Here&#39;s a brief summary:<br>
&gt; <br>
&gt; This document proposes a consolidated set of CBOR tags for map-like en=
tities involving key-value pairs. These tags encode the following meta-data=
 concerning map-like entities:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=80=A2 the homogeneity of the key and val=
ue types,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=80=A2 the preservation of the insertion =
order of the key-value pairs,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=80=A2 the uniqueness of the keys, and,<b=
r>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=80=A2 the major type used to encode the =
key-value pairs.<br>
&gt; My interest in CBOR stems from my work on a new C++ serialization libr=
ary that can support any JSON-like encoding. This library is closed source =
for now, but I may be able to convince my employer to make it open source i=
n the future.<br>
&gt; <br>
&gt; I&#39;m also involved with the WAMP protocol, which allows CBOR as one=
 of its encodings.<br>
&gt; <br>
&gt; I&#39;m looking forward to collaborating with you and I hope that we c=
an come to a solution that satisfies everyone&#39;s needs.<br>
&gt; <br>
&gt; Cheers,<br>
&gt; Emile Cormier<br>
&gt; _______________________________________________<br>
&gt; CBOR mailing list<br>
&gt; <a href=3D"mailto:CBOR@ietf.org" target=3D"_blank">CBOR@ietf.org</a><b=
r>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/cbor" rel=3D"noreferr=
er" target=3D"_blank">https://www.ietf.org/mailman/listinfo/cbor</a><br>
<br>
</blockquote></div>

--000000000000513ced05bd97ddb6--


From nobody Mon Mar 15 12:37:04 2021
Return-Path: <kio@mothers-arms.co.uk>
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 468BC3A0A87 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 12:36:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, KHOP_HELO_FCRDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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 00SO8h87LnNT for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 12:36:54 -0700 (PDT)
Received: from authenticated.a-painless.mh.aa.net.uk (painless-a.thn.aa.net.uk [IPv6:2001:8b0:62::26]) (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 E08E23A09BE for <cbor@ietf.org>; Mon, 15 Mar 2021 12:36:53 -0700 (PDT)
Received: from a-webmail.thn.aa.net.uk ([2001:8b0:62::22] helo=webmail.aa.net.uk) by painless-a.thn.aa.net.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <kio@mothers-arms.co.uk>) id 1lLt1I-0002nf-KV; Mon, 15 Mar 2021 19:36:52 +0000
Received: from cpc105076-sgyl40-2-0-cust233.18-2.cable.virginm.net ([82.4.24.234]) by webmail.aa.net.uk with HTTP (HTTP/1.1 POST); Mon, 15 Mar 2021 19:36:49 +0000
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_9f071d2974764d67f5c23074322e8050"
Date: Mon, 15 Mar 2021 19:36:49 +0000
From: Kio Smallwood <kio@mothers-arms.co.uk>
To: Emile Cormier <emile.cormier.jr@gmail.com>
Cc: cbor@ietf.org
In-Reply-To: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com>
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com>
Message-ID: <d9790cc20ed6ef267e656ab7b4f8492f@mothers-arms.co.uk>
X-Sender: kio@mothers-arms.co.uk
User-Agent: Roundcube Webmail/1.3.16
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/dJzLewI_8K9-01m8VeDehac1PDM>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Mon, 15 Mar 2021 19:37:03 -0000

--=_9f071d2974764d67f5c23074322e8050
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII

Hi Emile, 

Thanks for enumerating all of the possibilities. I have a few thoughts: 

* Would it be worth noting which programming languages and environments
already make use of each type? For example, users of the cbor2 python
library would only see tag 128 (equivalent to major type 5) tag 129,
130, for ordered and multimaps, and 132 when inter-operating with
javascript/json. The rest would be very strange to encounter in a Python
datastructure. 

* For the Homogeneous keys/values, should we (codec implementers) assume
that the type of the first key/value encountered in the data item
determines the type of the remainder? 

Thanks, 

Kio 

On 2021-03-12 23:50, Emile Cormier wrote:

> Hi Everyone, 
> 
> I've been corresponding privately with Prof. Bormann about a new tag I proposed for encoding multimaps as arrays or pairs. He's made me aware of your recent discussion about another proposed tag for encoding "ordered" maps, where the insertion order must be preserved. Carsten has indicated to me his desire to consolidate all of these map-related tags together. 
> 
> I would like to contribute to this endeavor of consolidating map-related tags. To get the discussion started, I would like to share with you a draft proposal I've written to serve as a starting point: https://github.com/ecorm/cbor-map-like 
> 
> Here's a brief summary: 
> 
>> This document proposes a consolidated set of CBOR tags for map-like entities involving key-value pairs. These tags encode the following meta-data concerning map-like entities: 
>> 
>> * the homogeneity of the key and value types,
>> * the preservation of the insertion order of the key-value pairs,
>> * the uniqueness of the keys, and,
>> * the major type used to encode the key-value pairs.
> 
> My interest in CBOR stems from my work on a new C++ serialization library that can support any JSON-like encoding. This library is closed source for now, but I may be able to convince my employer to make it open source in the future. 
> 
> I'm also involved with the WAMP protocol, which allows CBOR as one of its encodings. 
> 
> I'm looking forward to collaborating with you and I hope that we can come to a solution that satisfies everyone's needs. 
> 
> Cheers, 
> Emile Cormier 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor
--=_9f071d2974764d67f5c23074322e8050
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen=
eva,sans-serif'>
<p>Hi Emile,</p>
<p>Thanks for enumerating all of the possibilities. I have a few thoughts:<=
/p>
<p>* Would it be worth noting which programming languages and environments =
already make use of each type? For example, users of the cbor2 python libra=
ry would only see tag 128 (equivalent to major type 5) tag 129, 130, for or=
dered and multimaps, and 132 when inter-operating with javascript/json. The=
 rest would be very strange to encounter in a Python datastructure.</p>
<p>* For the Homogeneous keys/values, should we (codec implementers) assume=
 that the type of the first key/value encountered in the data item determin=
es the type of the remainder?</p>
<p>Thanks,</p>
<p>Kio</p>
<p><br /></p>
<p>On 2021-03-12 23:50, Emile Cormier wrote:</p>
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ig=
nored -->
<div dir=3D"ltr">
<div>Hi Everyone,</div>
<div>&nbsp;</div>
<div>I've been corresponding privately with Prof. Bormann about a new tag I=
 proposed for encoding multimaps as arrays or pairs. He's made me aware of =
your recent discussion about another proposed tag for encoding "ordered" ma=
ps, where the insertion order must be preserved. Carsten has indicated to m=
e his desire to consolidate all of these map-related tags together.</div>
<div>&nbsp;</div>
<div>I would like to contribute to this endeavor of consolidating map-relat=
ed tags. To get the discussion started, I would like to share with you a dr=
aft proposal I've written to serve as a starting point: <a href=3D"https://=
github.com/ecorm/cbor-map-like" target=3D"_blank" rel=3D"noopener noreferre=
r">https://github.com/ecorm/cbor-map-like</a></div>
<div>&nbsp;</div>
<div>Here's a brief summary:</div>
<div>&nbsp;</div>
<blockquote class=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; borde=
r-left: 1px solid #cccccc; padding-left: 1ex;">
<div>&nbsp;</div>
<div>This document proposes a consolidated set of CBOR tags for map-like en=
tities involving key-value pairs. These tags encode the following meta-data=
 concerning map-like entities:</div>
<div>
<ul>
<li>the homogeneity of the key and value types,</li>
<li>the preservation of the insertion order of the key-value pairs,</li>
<li>the uniqueness of the keys, and,</li>
<li>the major type used to encode the key-value pairs.</li>
</ul>
</div>
</blockquote>
<div>&nbsp;</div>
<div>My interest in CBOR stems from my work on a new C++ serialization libr=
ary that can support any JSON-like encoding. This library is closed source =
for now, but I may be able to convince my employer to make it open source i=
n the future.</div>
<div>&nbsp;</div>
<div>I'm also involved with the WAMP protocol, which allows CBOR as one of =
its encodings.</div>
<div>&nbsp;</div>
<div>I'm looking forward to collaborating with you and I hope that we can c=
ome to a solution that satisfies everyone's needs.</div>
<div>&nbsp;</div>
<div>Cheers,</div>
<div>Emile Cormier</div>
</div>
<br />
<div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">=
_______________________________________________<br /> CBOR mailing list<br =
/> <a href=3D"mailto:CBOR@ietf.org">CBOR@ietf.org</a><br /> <a href=3D"http=
s://www.ietf.org/mailman/listinfo/cbor" target=3D"_blank" rel=3D"noopener n=
oreferrer">https://www.ietf.org/mailman/listinfo/cbor</a></div>
</blockquote>
<p><br /></p>

</body></html>

--=_9f071d2974764d67f5c23074322e8050--


From nobody Mon Mar 15 12:44:30 2021
Return-Path: <hildjj@cursive.net>
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 7B98E3A0AD7 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 12:44:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.697
X-Spam-Level: 
X-Spam-Status: No, score=-1.697 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=cursive.net
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 0pGTbs5qIwfC for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 12:44:27 -0700 (PDT)
Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (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 22BE53A0AD6 for <cbor@ietf.org>; Mon, 15 Mar 2021 12:44:27 -0700 (PDT)
Received: by mail-ot1-x32d.google.com with SMTP id o19-20020a9d22130000b02901bfa5b79e18so5722490ota.0 for <cbor@ietf.org>; Mon, 15 Mar 2021 12:44:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cursive.net; s=google;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=98LONevmsN+BrFZ6anq3VRfpEGKrcVQVTHeMk4deF6M=; b=rd4udYuuGY83LRrueTo6knVNYJk5pfErWHoQVDAslS38h21yi9MVTXDGP10Juu3ZDb 6intP/MddJD5s451RFyE+9FqEXzGM0Sri8mDw46aJHIvf0ONY0BY75nK8+ss6af1LLrE Qb9uVllwqWGejVR0EKJ17dAV3beYx1xyp26hE=
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=98LONevmsN+BrFZ6anq3VRfpEGKrcVQVTHeMk4deF6M=; b=P9zIzq/tbjWbakmBkpZYSbo//XSCTCX0+TiLXaHdYvQxlTgTIxtNKpEPz3Wlt3H3SN J/bUnOnre23giW8N4uxYXI9TiXxwiXLULCic2KBQJQYBy0VGcEvCFsecU7R4e+rzjk/M r3q8yxkxUvAOtYjaqKbgSo84gubPwb3m+A+aFtZrbuYzOBzMREB8YpdagfLZI4k5hz0Y 4H5Qd5uZyHgFp6fDDnoB6qzVwB/H1mS1pSBNHY7w/rLOiAO/d0y2QWTKi7WbYJN0SYvm SlzrhNJamT8RTHF1TjdTTIuuN4Co0OTMEnslLVfSUoFvhpj/ps1pxS3IdXrmYI54RZFv VjIQ==
X-Gm-Message-State: AOAM533bMVet1GfJPZGoXRTmM06v1tSMse2/rWW9a+QzkLpACI9n2aO/ u8twiSqDJL9obxUreOTakKEpIw==
X-Google-Smtp-Source: ABdhPJyzPV6YIi/6KFh3FaWYxHz/Qg1mkh1gWc/suCmpISYnM+fPn09kNv1qeMfmoMql7vpq27QhYA==
X-Received: by 2002:a05:6830:1282:: with SMTP id z2mr598169otp.30.1615837463938;  Mon, 15 Mar 2021 12:44:23 -0700 (PDT)
Received: from ?IPv6:2601:282:200:3758:b10e:3847:34b3:46d6? ([2601:282:200:3758:b10e:3847:34b3:46d6]) by smtp.gmail.com with ESMTPSA id g2sm6792957otn.32.2021.03.15.12.44.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Mar 2021 12:44:23 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Joe Hildebrand <hildjj@cursive.net>
In-Reply-To: <FA5E389C-C577-4D42-A19E-A3A50F14F730@tzi.org>
Date: Mon, 15 Mar 2021 13:44:22 -0600
Cc: Emile Cormier <emile.cormier.jr@gmail.com>, cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <16642498-C82F-41CE-A06D-6C762AEEB6F9@cursive.net>
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com> <C2B0934A-2AAB-4A45-A354-407782B4CA0B@cursive.net> <FA5E389C-C577-4D42-A19E-A3A50F14F730@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/x5x3Th1s7Lu9TnNe-aC1wYOAKfw>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Mon, 15 Mar 2021 19:44:28 -0000

> On Mar 15, 2021, at 12:51 PM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> On 2021-03-15, at 19:50, Joe Hildebrand <hildjj@cursive.net> wrote:
>>=20
>> Data Item being major type 5 should really only be used if the keys =
are homogeneously strings, in my opinion.
>=20
> We are using a lot of integer labels with mt5, so why would we make =
that restriction?

This is a consequence of my implementation that others probably don't =
have.  When decoding mt5, I always keep a set of [key,value] tuples =
until all of the items have been decoded.  Then, if the keys are all =
strings, I convert the tuples to a JS Object, otherwise I convert them =
to a Map.  If I've already converted to a Map in mt5 processing, it's =
too late to (for example) throw an error if there is an unexpected =
duplicate key.

=E2=80=94=20
Joe Hildebrand=


From nobody Mon Mar 15 13:09:51 2021
Return-Path: <emile.cormier.jr@gmail.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 79E773A0D85 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 13:09:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Ngxr6Nh8pMo1 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 13:09:48 -0700 (PDT)
Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) (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 968353A0D81 for <cbor@ietf.org>; Mon, 15 Mar 2021 13:09:48 -0700 (PDT)
Received: by mail-pg1-x533.google.com with SMTP id o16so4141838pgu.3 for <cbor@ietf.org>; Mon, 15 Mar 2021 13:09:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7tiYPkNbOHwWyzd9TiHjXL2TpdwEYCFNku+e/RgIg/E=; b=R72V6wBa9W3JHAV9tthUfFKm9ZpBw/6YhCEcyUGHtn3RdgXSHTUxi7B0vokc4nF0sv lBbBZHOhKt1yFVfEvcpj5NR1kkCr3BZfpjWqw4uV2HxLanEP/HtNnvObcWCVDf22d9Vs /YZ9j1DVcIwObGclUQr5ZG26vdVPnR3QSZ/bdxbevAwtpA8UraHTBMrognO7A7yr+E7f Z9Q7BlZmsz7j8jogBz3RJdG0b8TlN+/uTF+YhFZJlWrWiMc7tj59W+cAU3q75XopNBMX k2dxsnnml3aC06VNIvJ65Q8x56Jzb/0/o4Fcgn5U/3qGoflnAP8l+qeLpf9f3DdgXoxk R8sg==
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=7tiYPkNbOHwWyzd9TiHjXL2TpdwEYCFNku+e/RgIg/E=; b=uDXa4EjeDBF0b1cpst2+/En2UKu925OD2uav3Va2T4JQL6CQ9RVQ0ZaROaqUA/jB78 P1ZOZV7SsXReyaoAn7t5MR4HiN9VsPdwMfj1G4ZPNrByo/KA2pz+D5fhGucgCK0fJm1h Fgdt4hfRzOqAjtpZ7IYGu3POFRN8k+1E5mccpzgNTQfgYuKcSp0SFdXkhNO87IhFcsJ5 lBL50pE1l8BjDGhXyMwF1FG8JPijwGYADYaokTJIuD5SPJPxy8A5WjEj6YM44dqyVDw3 ylE215PXFIflHvfFTt+fCO6XQRIcfgmiHI6Kv6yEZfGKecdiEG9RftsFrn6UT074x1rw AFqw==
X-Gm-Message-State: AOAM533d+5teLbVFbXAcwG4AyUqbZ8puVNnVs0As4rz5BNSaD61lq8Jv 11liRHgz9n6eihfg5OzBoI4qgaVLhsQ0WhI5hDqZSQS5oMU=
X-Google-Smtp-Source: ABdhPJzQBoMNn5rTmySrYcxm4A4TOpIMG5NBHMOR17cSbDOIMDA4L2EgJBS71ttHYhTxBQFcqEUr2cK/aJa1jyq3X0s=
X-Received: by 2002:a63:b12:: with SMTP id 18mr701353pgl.45.1615838986584; Mon, 15 Mar 2021 13:09:46 -0700 (PDT)
MIME-Version: 1.0
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com> <C2B0934A-2AAB-4A45-A354-407782B4CA0B@cursive.net> <FA5E389C-C577-4D42-A19E-A3A50F14F730@tzi.org> <16642498-C82F-41CE-A06D-6C762AEEB6F9@cursive.net>
In-Reply-To: <16642498-C82F-41CE-A06D-6C762AEEB6F9@cursive.net>
From: Emile Cormier <emile.cormier.jr@gmail.com>
Date: Mon, 15 Mar 2021 17:09:35 -0300
Message-ID: <CAM70yxC3px4U_aVv0yNNL8t-m+Vt3ftLKvUfhsCNHS2sqzM5Fg@mail.gmail.com>
To: Joe Hildebrand <hildjj@cursive.net>
Cc: Carsten Bormann <cabo@tzi.org>, cbor@ietf.org
Content-Type: multipart/alternative; boundary="000000000000cf442b05bd98d46b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/zQLs_dLdkFNVNAUtZVSgk8tfSCg>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Mon, 15 Mar 2021 20:09:50 -0000

--000000000000cf442b05bd98d46b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I don't know anything about "mt5", but with my proposed tag set, you could
check for the presence of tag 132 (homegenous key) and you would know after
decoding the first key if all the key-value pairs can be safely decoded
into a JS Object. Of course, this requires that the sender "play along" and
actually bothers to use the tags.

On Mon, Mar 15, 2021 at 4:44 PM Joe Hildebrand <hildjj@cursive.net> wrote:

> > On Mar 15, 2021, at 12:51 PM, Carsten Bormann <cabo@tzi.org> wrote:
> >
> > On 2021-03-15, at 19:50, Joe Hildebrand <hildjj@cursive.net> wrote:
> >>
> >> Data Item being major type 5 should really only be used if the keys ar=
e
> homogeneously strings, in my opinion.
> >
> > We are using a lot of integer labels with mt5, so why would we make tha=
t
> restriction?
>
> This is a consequence of my implementation that others probably don't
> have.  When decoding mt5, I always keep a set of [key,value] tuples until
> all of the items have been decoded.  Then, if the keys are all strings, I
> convert the tuples to a JS Object, otherwise I convert them to a Map.  If
> I've already converted to a Map in mt5 processing, it's too late to (for
> example) throw an error if there is an unexpected duplicate key.
>
> =E2=80=94
> Joe Hildebrand

--000000000000cf442b05bd98d46b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I don&#39;t know anything about &quot;mt5&quot;, but with =
my proposed tag set, you could check for the presence of tag 132 (homegenou=
s key) and you would know after decoding the first key if all the key-value=
 pairs can be safely decoded into a JS Object. Of course, this requires tha=
t the sender &quot;play along&quot; and actually bothers to use the tags.<b=
r></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr=
">On Mon, Mar 15, 2021 at 4:44 PM Joe Hildebrand &lt;<a href=3D"mailto:hild=
jj@cursive.net">hildjj@cursive.net</a>&gt; wrote:<br></div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex">&gt; On Mar 15, 2021, at 12:51 PM, Carste=
n Bormann &lt;<a href=3D"mailto:cabo@tzi.org" target=3D"_blank">cabo@tzi.or=
g</a>&gt; wrote:<br>
&gt; <br>
&gt; On 2021-03-15, at 19:50, Joe Hildebrand &lt;<a href=3D"mailto:hildjj@c=
ursive.net" target=3D"_blank">hildjj@cursive.net</a>&gt; wrote:<br>
&gt;&gt; <br>
&gt;&gt; Data Item being major type 5 should really only be used if the key=
s are homogeneously strings, in my opinion.<br>
&gt; <br>
&gt; We are using a lot of integer labels with mt5, so why would we make th=
at restriction?<br>
<br>
This is a consequence of my implementation that others probably don&#39;t h=
ave.=C2=A0 When decoding mt5, I always keep a set of [key,value] tuples unt=
il all of the items have been decoded.=C2=A0 Then, if the keys are all stri=
ngs, I convert the tuples to a JS Object, otherwise I convert them to a Map=
.=C2=A0 If I&#39;ve already converted to a Map in mt5 processing, it&#39;s =
too late to (for example) throw an error if there is an unexpected duplicat=
e key.<br>
<br>
=E2=80=94 <br>
Joe Hildebrand</blockquote></div>

--000000000000cf442b05bd98d46b--


From nobody Mon Mar 15 13:21:20 2021
Return-Path: <hildjj@cursive.net>
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 A96D23A07C8 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 13:21:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.697
X-Spam-Level: 
X-Spam-Status: No, score=-1.697 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=cursive.net
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 QyCuiW9CYXaz for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 13:21:17 -0700 (PDT)
Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) (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 ABB453A0744 for <cbor@ietf.org>; Mon, 15 Mar 2021 13:21:17 -0700 (PDT)
Received: by mail-oi1-x22d.google.com with SMTP id u62so19979345oib.6 for <cbor@ietf.org>; Mon, 15 Mar 2021 13:21:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cursive.net; s=google;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=0vz4VMLseAwfPJNoQB7WrxyVYet5A0TwY4NEToMs5Tc=; b=Nig9cvHV0hDyMmEwcsL7OFxIq3l8QtMBlF3rykm6OGfzHpLR/1PRKpzZu+l+exKd01 VzeYJF8HIs+OtRU6B2fJ4n/PFBllmDnTDhACclMqEWoSHCb1qQK373K0Q5C8bN3hxvNG qpeLs5eTH5y5Fve90LMCLTrHsBkK702sZ07m0=
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=0vz4VMLseAwfPJNoQB7WrxyVYet5A0TwY4NEToMs5Tc=; b=EBiQ6YqQ3qC48OkjAAiXDgFDzSzKCZ1ToBE6cSMkzJmrWsNJHWSOmtYqaVM9zEQhaE LE1spKjK30lAAMCDS3ieCOq9jyuF7+vBDuvT7ecbUIYSAN1yprB76fysmmM7OSm80mms GC7S0VjeKGjhqPhODsXFnwnr3ssLm86OIfYgL+iTXcLnNnV5m6sATXTl5XAlYjKNofgZ iiJ4JQ2eElBiyYONC9EFLyeI4g0qdd0iuY6UEYoKNXDep1UGEiUqv2Vbfk54Vlx71dhT k++fa1n/LUAcJeKQz1gSm0kYxR+Xt4uccHPzWZWqW6/kGlZ23sK2WgNhz2yZ2r8ZnEM3 J0cQ==
X-Gm-Message-State: AOAM532QvCFxPizyaavMhMGm+rhCCFTChBm2Zk2AaYgPSONUfV4NHspo EF5ujYhTrf6oyiti776kxXCCMA==
X-Google-Smtp-Source: ABdhPJwLHPpb9/GQsC73dKZ8GkNlJ12s7RHs9M4isLq9f55Q9M/hO9DbciHKL2PFVwqRdu7DnXtJ4A==
X-Received: by 2002:aca:482:: with SMTP id 124mr642270oie.21.1615839676181; Mon, 15 Mar 2021 13:21:16 -0700 (PDT)
Received: from ?IPv6:2601:282:200:3758:b10e:3847:34b3:46d6? ([2601:282:200:3758:b10e:3847:34b3:46d6]) by smtp.gmail.com with ESMTPSA id c9sm6924795ooq.31.2021.03.15.13.21.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Mar 2021 13:21:15 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Joe Hildebrand <hildjj@cursive.net>
In-Reply-To: <CAM70yxC3px4U_aVv0yNNL8t-m+Vt3ftLKvUfhsCNHS2sqzM5Fg@mail.gmail.com>
Date: Mon, 15 Mar 2021 14:21:14 -0600
Cc: Carsten Bormann <cabo@tzi.org>, cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <1629FF2E-05D6-456E-AF3C-913F8CB3E55C@cursive.net>
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com> <C2B0934A-2AAB-4A45-A354-407782B4CA0B@cursive.net> <FA5E389C-C577-4D42-A19E-A3A50F14F730@tzi.org> <16642498-C82F-41CE-A06D-6C762AEEB6F9@cursive.net> <CAM70yxC3px4U_aVv0yNNL8t-m+Vt3ftLKvUfhsCNHS2sqzM5Fg@mail.gmail.com>
To: Emile Cormier <emile.cormier.jr@gmail.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/g1nKeIdEIm4cA0FgvztXmZqqnY4>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Mon, 15 Mar 2021 20:21:19 -0000

Ah, I think I see the difference in implementation that others must =
have.  I always generically decode the data item first, *then* apply the =
tag transformation.  This allows me to return a generic Tag =
implementation if I don't support the tag, or a more-specific type or =
error-check if I do support the tag.

Others must do special-case decoding of the data item for each tag they =
support.

=E2=80=94=20
Joe Hildebrand

> On Mar 15, 2021, at 2:09 PM, Emile Cormier =
<emile.cormier.jr@gmail.com> wrote:
>=20
> I don't know anything about "mt5", but with my proposed tag set, you =
could check for the presence of tag 132 (homegenous key) and you would =
know after decoding the first key if all the key-value pairs can be =
safely decoded into a JS Object. Of course, this requires that the =
sender "play along" and actually bothers to use the tags.
>=20
> On Mon, Mar 15, 2021 at 4:44 PM Joe Hildebrand <hildjj@cursive.net> =
wrote:
> > On Mar 15, 2021, at 12:51 PM, Carsten Bormann <cabo@tzi.org> wrote:
> >=20
> > On 2021-03-15, at 19:50, Joe Hildebrand <hildjj@cursive.net> wrote:
> >>=20
> >> Data Item being major type 5 should really only be used if the keys =
are homogeneously strings, in my opinion.
> >=20
> > We are using a lot of integer labels with mt5, so why would we make =
that restriction?
>=20
> This is a consequence of my implementation that others probably don't =
have.  When decoding mt5, I always keep a set of [key,value] tuples =
until all of the items have been decoded.  Then, if the keys are all =
strings, I convert the tuples to a JS Object, otherwise I convert them =
to a Map.  If I've already converted to a Map in mt5 processing, it's =
too late to (for example) throw an error if there is an unexpected =
duplicate key.
>=20
> =E2=80=94=20
> Joe Hildebrand


From nobody Mon Mar 15 13:33:54 2021
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 0DBC33A0AD1 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 13:33:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 j8xEHLk22k7U for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 13:33:49 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B79323A0ABD for <cbor@ietf.org>; Mon, 15 Mar 2021 13:33:49 -0700 (PDT)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4Dzp6M2qqzzyb4; Mon, 15 Mar 2021 21:33:47 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <0C959B3D-462F-4872-A8AA-12F9C90FD425@vigilsec.com>
Date: Mon, 15 Mar 2021 21:33:46 +0100
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 637533226.85946-45b86eff82f03abdb3ec8fb9bf201d73
Content-Transfer-Encoding: quoted-printable
Message-Id: <7BB8857D-1212-4AD7-B3E7-0416C8248290@tzi.org>
References: <3835E637-85A1-44B3-812D-FD6A80EE8473@vigilsec.com> <08DB2CF6-21D7-4EE6-85C7-1E73416D1A70@tzi.org> <0C959B3D-462F-4872-A8AA-12F9C90FD425@vigilsec.com>
To: Russ Housley <housley@vigilsec.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/LNwmSr6G_HQ0ZHQdTBo3jNkS9LU>
Subject: Re: [Cbor] Review of draft-ietf-cbor-packed-02
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: Mon, 15 Mar 2021 20:33:53 -0000

On 2021-03-15, at 19:40, Russ Housley <housley@vigilsec.com> wrote:
>=20
> I felt this point of divergence from the original design goal needed =
explicit discussion.
>=20
> I'm not sure what the right answer might be.  Maybe some preamble to =
say that a named table is needed for successfully recovering the entire =
content. In the current document, this context is assumed.

I added to PR#2:

>  * By the application environment, e.g., a media type.  These can
>    define tables that amount to a static dictionary that can be used =
in
>    a CBOR data item for this application environment.
> +  Note that, without this information, a data item that uses such a
> +  static dictionary can be decoded at the CBOR level, but not fully
> +  unpacked.
> +  The table setup mechanisms provided by this document are defined in
> +  such a way that an unpacker can at least recognize if this is the
> +  case.
> =20
>  * By one or more tags enclosing the packed content.
[=E2=80=A6]

I=E2=80=99m not sure that this fully addresses your comment, but I agree =
that it is important to make this point.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Mon Mar 15 14:15:26 2021
Return-Path: <emile.cormier.jr@gmail.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 86A663A0EF4 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 14:15:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 (2048-bit key) header.d=gmail.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 pCjSwgYkRGrt for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 14:15:22 -0700 (PDT)
Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) (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 B087E3A0EF3 for <cbor@ietf.org>; Mon, 15 Mar 2021 14:15:22 -0700 (PDT)
Received: by mail-pg1-x531.google.com with SMTP id q5so8561971pgk.5 for <cbor@ietf.org>; Mon, 15 Mar 2021 14:15:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ARmwvLWolSVlHnk0UBYw/KZdYGrh0KGIh6EHklUiWnw=; b=Ua+D+pxLJLAXEgylpk4Lt0aMQ5FeNm4Tv/4G9ux5GJYrVitSYRBCI6v6q++3CkPzdw 7KBEU8zmVSBulreT/8DhhjzpDFhR1RLInIjXu2cXOAtydl9G0KRDyvDHrY3oNGqVceh8 dKH/CKi4LiNNWAlL19o6/uGzA+gMlXdAtnJW0sFa0u2e7DQv4sg4HI0pj5QTLPs1OlKP dO7OFDYdJGPyGTPSSt1LpPmYFllNYriYgB6s2QGZsWoDSKMFCPt4bUVMDOtyJOKNmZEi /1GFMNAe+JkbmrvNLnTBVRf0ujJeXGgzwhCo5yFw057zwk1Ci+RqD/3qwz9cSPAnr7UA 6b7g==
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=ARmwvLWolSVlHnk0UBYw/KZdYGrh0KGIh6EHklUiWnw=; b=VR3CjMvK2N6HmPmzk7qcHgGmgq8/FKV8BHC04JG6CHt7hCIUKTvZBfo/7vDKtm9vnp a1t2L7bShfhT0na+sQXMqFNJPmZAN4veGZ5e++rfQYOKo/wSiY70mkpg7GlxZkx89y1F C+dKBS21yaui4rqm6woh/F6C++ygq38arhOnR3uWXPX9U6soClxZz8tt230WwTJUzkxt kmoO1Tq6L9nT70RPRaguVLpjvhyqM6b6zITtgf0R7TZlS3R5TsRl94SeaoeT7FUDbD9z v8gIgtQCe83XWFAGIjxv/7NHkurxamVZUdIA+gPXTx5+XYKNi4dY+2DQwRI6/rKITYzR 7teA==
X-Gm-Message-State: AOAM533K5+14BvcDGACy6khD2mVg492u9Sx8xOHKsfKTZCLjI3Q8Wr+V hiMlH/StCgGe1h9sKmC0ZHN5CfXmHPs2CeXjQTo=
X-Google-Smtp-Source: ABdhPJwLWNDVyEG32le3Hhf3+SVMFWqDJQhrf7dzbly/Zt8gxUW2PxR46uOhJPdkA8Vz46Zu4W4VfWm7bqbMODRiWco=
X-Received: by 2002:a63:b12:: with SMTP id 18mr882594pgl.45.1615842922245; Mon, 15 Mar 2021 14:15:22 -0700 (PDT)
MIME-Version: 1.0
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com> <C2B0934A-2AAB-4A45-A354-407782B4CA0B@cursive.net> <FA5E389C-C577-4D42-A19E-A3A50F14F730@tzi.org> <16642498-C82F-41CE-A06D-6C762AEEB6F9@cursive.net> <CAM70yxC3px4U_aVv0yNNL8t-m+Vt3ftLKvUfhsCNHS2sqzM5Fg@mail.gmail.com> <1629FF2E-05D6-456E-AF3C-913F8CB3E55C@cursive.net>
In-Reply-To: <1629FF2E-05D6-456E-AF3C-913F8CB3E55C@cursive.net>
From: Emile Cormier <emile.cormier.jr@gmail.com>
Date: Mon, 15 Mar 2021 18:15:11 -0300
Message-ID: <CAM70yxBv5JwSCUML1mJdDssQwUhTOy2QJKFOsEQ+DppOsXbmyg@mail.gmail.com>
To: Joe Hildebrand <hildjj@cursive.net>
Cc: Carsten Bormann <cabo@tzi.org>, cbor@ietf.org
Content-Type: multipart/alternative; boundary="00000000000064b3ea05bd99bf79"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/R7kXkL3O7BEhcqB6pCaGVo6uxcc>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Mon, 15 Mar 2021 21:15:25 -0000

--00000000000064b3ea05bd99bf79
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Indeed, I try to feed bytes from the wire into its resulting data structure
as directly as humanly possible in my C++ implementation, while not having
to write decoders by hand for every possible data structure. While CBOR
itself is schema-less, our applications use CBOR (and JSON) to transfer
entities with known schemas at the application level. I can therefore skip
generating intermediate "document" trees and store the CBOR directly into
the intended data structure (this is the idea behind
https://github.com/OneNoteDev/GoldFish, which is partly inspiring my
work-in-progress C++ serialization library).

I know I could use Flat Buffers with fixed schemas, but I'd end up having
to copy everything to standard library containers unless I'm willing to
have Flat Buffers "infect" my entire application instead of remaining at
the boundary. I also like the self-describing nature of CBOR for diagnostic
purposes, plus it's easier to transcode it into JSON for web browser
clients.


On Mon, Mar 15, 2021 at 5:21 PM Joe Hildebrand <hildjj@cursive.net> wrote:

> Ah, I think I see the difference in implementation that others must have.
> I always generically decode the data item first, *then* apply the tag
> transformation.  This allows me to return a generic Tag implementation if=
 I
> don't support the tag, or a more-specific type or error-check if I do
> support the tag.
>
> Others must do special-case decoding of the data item for each tag they
> support.
>
> =E2=80=94
> Joe Hildebrand
>
> > On Mar 15, 2021, at 2:09 PM, Emile Cormier <emile.cormier.jr@gmail.com>
> wrote:
> >
> > I don't know anything about "mt5", but with my proposed tag set, you
> could check for the presence of tag 132 (homegenous key) and you would kn=
ow
> after decoding the first key if all the key-value pairs can be safely
> decoded into a JS Object. Of course, this requires that the sender "play
> along" and actually bothers to use the tags.
> >
> > On Mon, Mar 15, 2021 at 4:44 PM Joe Hildebrand <hildjj@cursive.net>
> wrote:
> > > On Mar 15, 2021, at 12:51 PM, Carsten Bormann <cabo@tzi.org> wrote:
> > >
> > > On 2021-03-15, at 19:50, Joe Hildebrand <hildjj@cursive.net> wrote:
> > >>
> > >> Data Item being major type 5 should really only be used if the keys
> are homogeneously strings, in my opinion.
> > >
> > > We are using a lot of integer labels with mt5, so why would we make
> that restriction?
> >
> > This is a consequence of my implementation that others probably don't
> have.  When decoding mt5, I always keep a set of [key,value] tuples until
> all of the items have been decoded.  Then, if the keys are all strings, I
> convert the tuples to a JS Object, otherwise I convert them to a Map.  If
> I've already converted to a Map in mt5 processing, it's too late to (for
> example) throw an error if there is an unexpected duplicate key.
> >
> > =E2=80=94
> > Joe Hildebrand
>
>

--00000000000064b3ea05bd99bf79
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Indeed, I try to feed bytes from the wire into its re=
sulting data structure as directly as humanly possible in my C++ implementa=
tion, while not having to write decoders by hand for every possible data st=
ructure. While CBOR itself is schema-less, our applications use CBOR (and J=
SON) to transfer entities with known schemas at the application level. I ca=
n therefore skip generating intermediate &quot;document&quot; trees and sto=
re the CBOR directly into the intended data structure (this is the idea beh=
ind <a href=3D"https://github.com/OneNoteDev/GoldFish">https://github.com/O=
neNoteDev/GoldFish</a>, which is partly inspiring my work-in-progress C++ s=
erialization library).<br></div><div><br></div><div>I know I could use Flat=
 Buffers with fixed schemas, but I&#39;d end up having to copy everything t=
o standard library containers unless I&#39;m willing to have Flat Buffers &=
quot;infect&quot; my entire application instead of remaining at the boundar=
y. I also like the self-describing nature of CBOR for diagnostic purposes, =
plus it&#39;s easier to transcode it into JSON for web browser clients.<br>=
</div><br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gm=
ail_attr">On Mon, Mar 15, 2021 at 5:21 PM Joe Hildebrand &lt;<a href=3D"mai=
lto:hildjj@cursive.net">hildjj@cursive.net</a>&gt; wrote:<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex">Ah, I think I see the difference =
in implementation that others must have.=C2=A0 I always generically decode =
the data item first, *then* apply the tag transformation.=C2=A0 This allows=
 me to return a generic Tag implementation if I don&#39;t support the tag, =
or a more-specific type or error-check if I do support the tag.<br>
<br>
Others must do special-case decoding of the data item for each tag they sup=
port.<br>
<br>
=E2=80=94 <br>
Joe Hildebrand<br>
<br>
&gt; On Mar 15, 2021, at 2:09 PM, Emile Cormier &lt;<a href=3D"mailto:emile=
.cormier.jr@gmail.com" target=3D"_blank">emile.cormier.jr@gmail.com</a>&gt;=
 wrote:<br>
&gt; <br>
&gt; I don&#39;t know anything about &quot;mt5&quot;, but with my proposed =
tag set, you could check for the presence of tag 132 (homegenous key) and y=
ou would know after decoding the first key if all the key-value pairs can b=
e safely decoded into a JS Object. Of course, this requires that the sender=
 &quot;play along&quot; and actually bothers to use the tags.<br>
&gt; <br>
&gt; On Mon, Mar 15, 2021 at 4:44 PM Joe Hildebrand &lt;<a href=3D"mailto:h=
ildjj@cursive.net" target=3D"_blank">hildjj@cursive.net</a>&gt; wrote:<br>
&gt; &gt; On Mar 15, 2021, at 12:51 PM, Carsten Bormann &lt;<a href=3D"mail=
to:cabo@tzi.org" target=3D"_blank">cabo@tzi.org</a>&gt; wrote:<br>
&gt; &gt; <br>
&gt; &gt; On 2021-03-15, at 19:50, Joe Hildebrand &lt;<a href=3D"mailto:hil=
djj@cursive.net" target=3D"_blank">hildjj@cursive.net</a>&gt; wrote:<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; Data Item being major type 5 should really only be used if th=
e keys are homogeneously strings, in my opinion.<br>
&gt; &gt; <br>
&gt; &gt; We are using a lot of integer labels with mt5, so why would we ma=
ke that restriction?<br>
&gt; <br>
&gt; This is a consequence of my implementation that others probably don&#3=
9;t have.=C2=A0 When decoding mt5, I always keep a set of [key,value] tuple=
s until all of the items have been decoded.=C2=A0 Then, if the keys are all=
 strings, I convert the tuples to a JS Object, otherwise I convert them to =
a Map.=C2=A0 If I&#39;ve already converted to a Map in mt5 processing, it&#=
39;s too late to (for example) throw an error if there is an unexpected dup=
licate key.<br>
&gt; <br>
&gt; =E2=80=94 <br>
&gt; Joe Hildebrand<br>
<br>
</blockquote></div>

--00000000000064b3ea05bd99bf79--


From nobody Mon Mar 15 15:18:28 2021
Return-Path: <housley@vigilsec.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 525163A1100 for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 15:18:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, 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 rSsseeLeZI4L for <cbor@ietfa.amsl.com>; Mon, 15 Mar 2021 15:18:24 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A3D723A10FE for <cbor@ietf.org>; Mon, 15 Mar 2021 15:18:24 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 6BC38300B8F for <cbor@ietf.org>; Mon, 15 Mar 2021 18:18:22 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ma3dI3Gjrh2Y for <cbor@ietf.org>; Mon, 15 Mar 2021 18:18:21 -0400 (EDT)
Received: from [192.168.1.161] (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id F0C1E300259; Mon, 15 Mar 2021 18:18:20 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <7BB8857D-1212-4AD7-B3E7-0416C8248290@tzi.org>
Date: Mon, 15 Mar 2021 18:18:21 -0400
Cc: cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <94F95A0D-4EAF-4015-8EBA-55A705193F6F@vigilsec.com>
References: <3835E637-85A1-44B3-812D-FD6A80EE8473@vigilsec.com> <08DB2CF6-21D7-4EE6-85C7-1E73416D1A70@tzi.org> <0C959B3D-462F-4872-A8AA-12F9C90FD425@vigilsec.com> <7BB8857D-1212-4AD7-B3E7-0416C8248290@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3445.104.17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/JganVcJunWdHnGVKq6W2Yf7LEbk>
Subject: Re: [Cbor] Review of draft-ietf-cbor-packed-02
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: Mon, 15 Mar 2021 22:18:26 -0000

> On Mar 15, 2021, at 4:33 PM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> On 2021-03-15, at 19:40, Russ Housley <housley@vigilsec.com> wrote:
>>=20
>> I felt this point of divergence from the original design goal needed =
explicit discussion.
>>=20
>> I'm not sure what the right answer might be.  Maybe some preamble to =
say that a named table is needed for successfully recovering the entire =
content. In the current document, this context is assumed.
>=20
> I added to PR#2:
>=20
>> * By the application environment, e.g., a media type.  These can
>>   define tables that amount to a static dictionary that can be used =
in
>>   a CBOR data item for this application environment.
>> +  Note that, without this information, a data item that uses such a
>> +  static dictionary can be decoded at the CBOR level, but not fully
>> +  unpacked.
>> +  The table setup mechanisms provided by this document are defined =
in
>> +  such a way that an unpacker can at least recognize if this is the
>> +  case.
>>=20
>> * By one or more tags enclosing the packed content.
> [=E2=80=A6]
>=20
> I=E2=80=99m not sure that this fully addresses your comment, but I =
agree that it is important to make this point.


Not completely.  It mkes it clear that the unpack will know that it has =
an unknown table index.  That is good.  Should there be an explicit =
identifier of the predefined starting point for the tables?

Russ


From nobody Tue Mar 16 02:45:12 2021
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 BFC7F3A206C for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 02:45:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 3sxJ0BYPsgYm for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 02:45:05 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 686BF3A206A for <cbor@ietf.org>; Tue, 16 Mar 2021 02:45:05 -0700 (PDT)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4F07gL71Knzycq; Tue, 16 Mar 2021 10:45:02 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <94F95A0D-4EAF-4015-8EBA-55A705193F6F@vigilsec.com>
Date: Tue, 16 Mar 2021 10:45:02 +0100
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 637580702.224267-4ddde4f1f9ddc146b93539e112d49b03
Content-Transfer-Encoding: quoted-printable
Message-Id: <DCE8C138-255D-4B2C-826C-7664D6342BFC@tzi.org>
References: <3835E637-85A1-44B3-812D-FD6A80EE8473@vigilsec.com> <08DB2CF6-21D7-4EE6-85C7-1E73416D1A70@tzi.org> <0C959B3D-462F-4872-A8AA-12F9C90FD425@vigilsec.com> <7BB8857D-1212-4AD7-B3E7-0416C8248290@tzi.org> <94F95A0D-4EAF-4015-8EBA-55A705193F6F@vigilsec.com>
To: Russ Housley <housley@vigilsec.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/kugwWUNFb3FeeQ7wBby5shoTzjg>
Subject: Re: [Cbor] Review of draft-ietf-cbor-packed-02
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: Tue, 16 Mar 2021 09:45:10 -0000

On 2021-03-15, at 23:18, Russ Housley <housley@vigilsec.com> wrote:
>=20
> Should there be an explicit identifier of the predefined starting =
point for the tables?

I=E2=80=99m a bit dense today and don=E2=80=99t understand that =
question.
Can you -v?

Gr=C3=BC=C3=9Fe, Carsten


From nobody Tue Mar 16 07:11:34 2021
Return-Path: <housley@vigilsec.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 6FF0D3A0EDB for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 07:11:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, 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 TAx5TX6FBc2I for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 07:11:30 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B88C73A0EDA for <cbor@ietf.org>; Tue, 16 Mar 2021 07:11:30 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 2D33F300B53 for <cbor@ietf.org>; Tue, 16 Mar 2021 10:11:28 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wh4N0CN3YglT for <cbor@ietf.org>; Tue, 16 Mar 2021 10:11:26 -0400 (EDT)
Received: from [192.168.1.161] (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id 92E0F300B19; Tue, 16 Mar 2021 10:11:26 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <DCE8C138-255D-4B2C-826C-7664D6342BFC@tzi.org>
Date: Tue, 16 Mar 2021 10:11:26 -0400
Cc: cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <D2355F2A-EF99-42A0-BD8C-D4309A8F67B7@vigilsec.com>
References: <3835E637-85A1-44B3-812D-FD6A80EE8473@vigilsec.com> <08DB2CF6-21D7-4EE6-85C7-1E73416D1A70@tzi.org> <0C959B3D-462F-4872-A8AA-12F9C90FD425@vigilsec.com> <7BB8857D-1212-4AD7-B3E7-0416C8248290@tzi.org> <94F95A0D-4EAF-4015-8EBA-55A705193F6F@vigilsec.com> <DCE8C138-255D-4B2C-826C-7664D6342BFC@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3445.104.17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/XTuhor27DbZ415Yb2HdQ1-Yks08>
Subject: Re: [Cbor] Review of draft-ietf-cbor-packed-02
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: Tue, 16 Mar 2021 14:11:32 -0000

> On Mar 16, 2021, at 5:45 AM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> On 2021-03-15, at 23:18, Russ Housley <housley@vigilsec.com> wrote:
>>=20
>> Should there be an explicit identifier of the predefined starting =
point for the tables?
>=20
> I=E2=80=99m a bit dense today and don=E2=80=99t understand that =
question.
> Can you -v?

Could there be some preamble that says, initialize the tables that =
includes an identifier?  That way, the decoder knows at the front =
whether the tables are at hand to successfully decode the content.=20

Russ=


From nobody Tue Mar 16 10:20:32 2021
Return-Path: <hildjj@cursive.net>
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 0751A3A14B0 for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 10:20:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.697
X-Spam-Level: 
X-Spam-Status: No, score=-1.697 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=cursive.net
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 e5YDsB7L7Uth for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 10:20:28 -0700 (PDT)
Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 A054E3A14AD for <cbor@ietf.org>; Tue, 16 Mar 2021 10:20:28 -0700 (PDT)
Received: by mail-il1-x12b.google.com with SMTP id s1so13372792ilh.12 for <cbor@ietf.org>; Tue, 16 Mar 2021 10:20:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cursive.net; s=google;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=GV2MUN/JO4a8x0f51wRB5wD1FBwxT3xdK1cGjJwdWdI=; b=YQjzk36FG0YwTsK9YGhW0X1xeBwZUIXoz3H1weDIc5HgZFtvMo/RolZJNxCx8nSdXq mvjDL+R7+EX81/uL3gk6Tc3SdC1117ylscNkqiZISxRlAkQTnjWopJVPNABO+u4kcEvZ fi2t+d+IPF63H+Pp79IMlocbDEuxDebNYM4QQ=
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=GV2MUN/JO4a8x0f51wRB5wD1FBwxT3xdK1cGjJwdWdI=; b=oW7iUkvKVGVvf6nTu7OeYIFzcBrXB0A5pVsm0LyDvk2n11ILuAMg4MxnTNsOlbXRyZ shhns/EWvRNvj+X4QS9Fh0SBKEuRmsXxUyaxshXnj7gEjgU6e9lC/vFuKIxXk7bxG7Ij jDonM5ZWnNSXHg/YC1Agree6LtIy+rR6Ajnvrm3lAajUh2M+7yZBVx6mI82MMD0sEPXc h22xX2ocfFiVkFZZpGEKNkK7ONcWtL/pwN7s+mzClCVc4MwoDDqBZtWGuiZE9nt3uMzU Ws8B2wWQylxtkhtSzUZMS3EkWmHf/02RX3jZV2VgZ1L4WuqYNA+QzpMHeaIRn7Hd5sit 2WaQ==
X-Gm-Message-State: AOAM533y0EO+aJXmWr6xmNqVg2rb4PcARy1HfaZFG9V8eLGwwh5FQBZQ kBK/j5qE7MMezLK5KAtGsQhufw==
X-Google-Smtp-Source: ABdhPJxf3jbkb4IOkUcLpNPVPpPr7UdnZ57Kp1XKSRnoVGkMyDSNcV/3Ilhj5wNHkaQNAf69+2AReg==
X-Received: by 2002:a92:c04b:: with SMTP id o11mr4409241ilf.42.1615915227311;  Tue, 16 Mar 2021 10:20:27 -0700 (PDT)
Received: from ?IPv6:2601:282:200:d1:3543:8df2:4aac:6ff? ([2601:282:200:d1:3543:8df2:4aac:6ff]) by smtp.gmail.com with ESMTPSA id l16sm9754528ils.11.2021.03.16.10.20.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Mar 2021 10:20:26 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Joe Hildebrand <hildjj@cursive.net>
In-Reply-To: <CAM70yxBv5JwSCUML1mJdDssQwUhTOy2QJKFOsEQ+DppOsXbmyg@mail.gmail.com>
Date: Tue, 16 Mar 2021 11:20:26 -0600
Cc: Carsten Bormann <cabo@tzi.org>, cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <D855B6A2-573D-4F8D-8666-55BA5A7F4DA1@cursive.net>
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com> <C2B0934A-2AAB-4A45-A354-407782B4CA0B@cursive.net> <FA5E389C-C577-4D42-A19E-A3A50F14F730@tzi.org> <16642498-C82F-41CE-A06D-6C762AEEB6F9@cursive.net> <CAM70yxC3px4U_aVv0yNNL8t-m+Vt3ftLKvUfhsCNHS2sqzM5Fg@mail.gmail.com> <1629FF2E-05D6-456E-AF3C-913F8CB3E55C@cursive.net> <CAM70yxBv5JwSCUML1mJdDssQwUhTOy2QJKFOsEQ+DppOsXbmyg@mail.gmail.com>
To: Emile Cormier <emile.cormier.jr@gmail.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Fs1NMOHdFS8qmJdnYUNtAGiajHU>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Tue, 16 Mar 2021 17:20:30 -0000

Your approach makes sense to me.

Is there any benefit to using map over array for your approach?  They're =
roughly the same on the wire.

=E2=80=94=20
Joe Hildebrand

> On Mar 15, 2021, at 3:15 PM, Emile Cormier =
<emile.cormier.jr@gmail.com> wrote:
>=20
> Indeed, I try to feed bytes from the wire into its resulting data =
structure as directly as humanly possible in my C++ implementation, =
while not having to write decoders by hand for every possible data =
structure. While CBOR itself is schema-less, our applications use CBOR =
(and JSON) to transfer entities with known schemas at the application =
level. I can therefore skip generating intermediate "document" trees and =
store the CBOR directly into the intended data structure (this is the =
idea behind https://github.com/OneNoteDev/GoldFish, which is partly =
inspiring my work-in-progress C++ serialization library).
>=20
> I know I could use Flat Buffers with fixed schemas, but I'd end up =
having to copy everything to standard library containers unless I'm =
willing to have Flat Buffers "infect" my entire application instead of =
remaining at the boundary. I also like the self-describing nature of =
CBOR for diagnostic purposes, plus it's easier to transcode it into JSON =
for web browser clients.
>=20
>=20
> On Mon, Mar 15, 2021 at 5:21 PM Joe Hildebrand <hildjj@cursive.net> =
wrote:
> Ah, I think I see the difference in implementation that others must =
have.  I always generically decode the data item first, *then* apply the =
tag transformation.  This allows me to return a generic Tag =
implementation if I don't support the tag, or a more-specific type or =
error-check if I do support the tag.
>=20
> Others must do special-case decoding of the data item for each tag =
they support.
>=20
> =E2=80=94=20
> Joe Hildebrand
>=20
> > On Mar 15, 2021, at 2:09 PM, Emile Cormier =
<emile.cormier.jr@gmail.com> wrote:
> >=20
> > I don't know anything about "mt5", but with my proposed tag set, you =
could check for the presence of tag 132 (homegenous key) and you would =
know after decoding the first key if all the key-value pairs can be =
safely decoded into a JS Object. Of course, this requires that the =
sender "play along" and actually bothers to use the tags.
> >=20
> > On Mon, Mar 15, 2021 at 4:44 PM Joe Hildebrand <hildjj@cursive.net> =
wrote:
> > > On Mar 15, 2021, at 12:51 PM, Carsten Bormann <cabo@tzi.org> =
wrote:
> > >=20
> > > On 2021-03-15, at 19:50, Joe Hildebrand <hildjj@cursive.net> =
wrote:
> > >>=20
> > >> Data Item being major type 5 should really only be used if the =
keys are homogeneously strings, in my opinion.
> > >=20
> > > We are using a lot of integer labels with mt5, so why would we =
make that restriction?
> >=20
> > This is a consequence of my implementation that others probably =
don't have.  When decoding mt5, I always keep a set of [key,value] =
tuples until all of the items have been decoded.  Then, if the keys are =
all strings, I convert the tuples to a JS Object, otherwise I convert =
them to a Map.  If I've already converted to a Map in mt5 processing, =
it's too late to (for example) throw an error if there is an unexpected =
duplicate key.
> >=20
> > =E2=80=94=20
> > Joe Hildebrand
>=20


From nobody Tue Mar 16 10:37:01 2021
Return-Path: <emile.cormier.jr@gmail.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 3B3893A14FB for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 10:37:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 (2048-bit key) header.d=gmail.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 EsaxCzEJu7rx for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 10:36:58 -0700 (PDT)
Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (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 49A6C3A14FD for <cbor@ietf.org>; Tue, 16 Mar 2021 10:36:58 -0700 (PDT)
Received: by mail-pj1-x102f.google.com with SMTP id gb6so11015442pjb.0 for <cbor@ietf.org>; Tue, 16 Mar 2021 10:36:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=swQboihZcMb71kED4SaXNs6pv+rC4d2minb4c6BzpxE=; b=j7iEXKgN4aEVaioPPbhPW9ZUmPg4nI8nl0x6lE9gHVmJnztnrVqOUxlF8BioBuF13A YBBfiEcpWLXnSeNRmR1hpLwoGs1L7z/TG0U7bteBLXzcjUYdLLbbFmE2PDlaUavv4lb2 KxpfBLRh71ySw/QP5MoKTTkYh7I4gGnyOdKL3ao9azA+cH+TJbvr4IXvyZKTNBIFKWwy RZChxeuUr1QfGPXrrHWzBBKDulw8mBBwlum/3vJlSQa/lT45sBHzAQnI3YkMdsuPS6Vy Qv4cyErHANlHo5niE3z6uG6IBq9u41hOn8RVCFMBfeaUV/5Uf91ZaH2EWFUidBAstS2h GqOA==
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=swQboihZcMb71kED4SaXNs6pv+rC4d2minb4c6BzpxE=; b=aMPs1Rt767VGdP49/RWWz3yEg8JyEuD64n+duVZWNs0gTr+183i8rLOHNN/nW4EF2R ConiU1L6sc5T2RbXF0F0W5drViN9cd9YwwUvtLpkUou5PO3Bgqop7nM/RYY2Nqao5iR6 KqW0FRUrOSH3XXvm2usKp1TLPQsLshdDAov7HfMxkHTVp2tzKAthuzUsOY8uk9+d5T0G tqyfKMjQp/GLcHEQaJif28ffGdTioK0otti+xJC9Ky77bNtayHV/v+4Dd5hyVFZpU/pn Gghbr4aMBTRZ4Gf/1yOM5jW1xAE4Qf4IhSFyAHK/1rK3bM4R2TFSS1Yp9G7eaCp3Td/Q wXPg==
X-Gm-Message-State: AOAM531FlnKJpRzudESz1h1pIglus+2ARplcvgT09qDSAm0Ld+qvUh2J Ir/80W1cEpSmk1rlnL6Xe1mrHLVZv7hmlzNHpOVnG0fgqLJzeA==
X-Google-Smtp-Source: ABdhPJwJnw9Tc3/NbOnPSHnamiK+8DZcBOygoomSzVhhGd7Se8CMby2HaJblscVSqq3oCO6NPyZjNZo3FauKVct2Hpc=
X-Received: by 2002:a17:902:4c:b029:e6:6cb9:9153 with SMTP id 70-20020a170902004cb02900e66cb99153mr514055pla.32.1615916216852; Tue, 16 Mar 2021 10:36:56 -0700 (PDT)
MIME-Version: 1.0
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com> <d9790cc20ed6ef267e656ab7b4f8492f@mothers-arms.co.uk>
In-Reply-To: <d9790cc20ed6ef267e656ab7b4f8492f@mothers-arms.co.uk>
From: Emile Cormier <emile.cormier.jr@gmail.com>
Date: Tue, 16 Mar 2021 14:36:45 -0300
Message-ID: <CAM70yxBifhSvsmRu3bq3ayrqqMecp2q1LORUvGcK28jujZrOfg@mail.gmail.com>
To: Kio Smallwood <kio@mothers-arms.co.uk>
Cc: cbor@ietf.org
Content-Type: multipart/alternative; boundary="00000000000017a6f105bdaad00e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Di7dfGBJLaYyNKYDMUSIkUN_fO0>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Tue, 16 Mar 2021 17:37:00 -0000

--00000000000017a6f105bdaad00e
Content-Type: text/plain; charset="UTF-8"

Hi Kio,

I'll add an information section on how the various tags relate to
programming language data structures. I could start with JS and C++ data
structures, and allow other folks to send or PR me the ones for other
languages.

For homogeneous key/values, it was actually my intention that the first
key/value encountered "establishes" the type for the remainder. A decoder
could reject a homogenous map where a key/value does not match the type
established by the first.

You've made me realize that the interpretation for "homogenous" could be
tricky for numeric types. For example, if the first homogenous key is a
positive integer, can the decoder assume that the following keys may also
include negative integers and floats? I'll check what it says for
homogenous arrays in https://tools.ietf.org/html/rfc8746 . It may have
already been settled there.

This also begs the question: what does "homogeneous" mean for key/value
types that are themselves arrays or maps?

Thanks for the feedback!
Emile

On Mon, Mar 15, 2021 at 4:36 PM Kio Smallwood <kio@mothers-arms.co.uk>
wrote:

> Hi Emile,
>
> Thanks for enumerating all of the possibilities. I have a few thoughts:
>
> * Would it be worth noting which programming languages and environments
> already make use of each type? For example, users of the cbor2 python
> library would only see tag 128 (equivalent to major type 5) tag 129, 130,
> for ordered and multimaps, and 132 when inter-operating with
> javascript/json. The rest would be very strange to encounter in a Python
> datastructure.
>
> * For the Homogeneous keys/values, should we (codec implementers) assume
> that the type of the first key/value encountered in the data item
> determines the type of the remainder?
>
> Thanks,
>
> Kio
>
>
> On 2021-03-12 23:50, Emile Cormier wrote:
>
> Hi Everyone,
>
> I've been corresponding privately with Prof. Bormann about a new tag I
> proposed for encoding multimaps as arrays or pairs. He's made me aware of
> your recent discussion about another proposed tag for encoding "ordered"
> maps, where the insertion order must be preserved. Carsten has indicated to
> me his desire to consolidate all of these map-related tags together.
>
> I would like to contribute to this endeavor of consolidating map-related
> tags. To get the discussion started, I would like to share with you a draft
> proposal I've written to serve as a starting point:
> https://github.com/ecorm/cbor-map-like
>
> Here's a brief summary:
>
>
>>
>> This document proposes a consolidated set of CBOR tags for map-like
>> entities involving key-value pairs. These tags encode the following
>> meta-data concerning map-like entities:
>>
>>    - the homogeneity of the key and value types,
>>    - the preservation of the insertion order of the key-value pairs,
>>    - the uniqueness of the keys, and,
>>    - the major type used to encode the key-value pairs.
>>
>>
> My interest in CBOR stems from my work on a new C++ serialization library
> that can support any JSON-like encoding. This library is closed source for
> now, but I may be able to convince my employer to make it open source in
> the future.
>
> I'm also involved with the WAMP protocol, which allows CBOR as one of its
> encodings.
>
> I'm looking forward to collaborating with you and I hope that we can come
> to a solution that satisfies everyone's needs.
>
> Cheers,
> Emile Cormier
>
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor
>
>
>

--00000000000017a6f105bdaad00e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Kio,</div><div><br></div><div>I&#39;ll add an info=
rmation section on how the various tags relate to programming language data=
 structures. I could start with JS and C++ data structures, and allow other=
 folks to send or PR me the ones for other languages.</div><div><br></div><=
div>For homogeneous key/values, it was actually my intention that the first=
 key/value encountered &quot;establishes&quot; the type for the remainder. =
A decoder could reject a homogenous map where a key/value does not match th=
e type established by the first.</div><div><br></div><div>You&#39;ve made m=
e realize that the interpretation for &quot;homogenous&quot; could be trick=
y for numeric types. For example, if the first homogenous key is a positive=
 integer, can the decoder assume that the following keys may also include n=
egative integers and floats? I&#39;ll check what it says for homogenous arr=
ays in <a href=3D"https://tools.ietf.org/html/rfc8746">https://tools.ietf.o=
rg/html/rfc8746</a> . It may have already been settled there.<br></div><div=
><br></div><div>This also begs the question: what does &quot;homogeneous&qu=
ot; mean for key/value types that are themselves arrays or maps?<br></div><=
div><br></div><div>Thanks for the feedback!</div><div>Emile<br></div></div>=
<br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon=
, Mar 15, 2021 at 4:36 PM Kio Smallwood &lt;<a href=3D"mailto:kio@mothers-a=
rms.co.uk">kio@mothers-arms.co.uk</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><div style=3D"font-size:10pt;font-family:V=
erdana,Geneva,sans-serif">
<p>Hi Emile,</p>
<p>Thanks for enumerating all of the possibilities. I have a few thoughts:<=
/p>
<p>* Would it be worth noting which programming languages and environments =
already make use of each type? For example, users of the cbor2 python libra=
ry would only see tag 128 (equivalent to major type 5) tag 129, 130, for or=
dered and multimaps, and 132 when inter-operating with javascript/json. The=
 rest would be very strange to encounter in a Python datastructure.</p>
<p>* For the Homogeneous keys/values, should we (codec implementers) assume=
 that the type of the first key/value encountered in the data item determin=
es the type of the remainder?</p>
<p>Thanks,</p>
<p>Kio</p>
<p><br></p>
<p>On 2021-03-12 23:50, Emile Cormier wrote:</p>
<blockquote type=3D"cite" style=3D"padding:0px 0.4em;border-left:2px solid =
rgb(16,16,255);margin:0px">
<div dir=3D"ltr">
<div>Hi Everyone,</div>
<div>=C2=A0</div>
<div>I&#39;ve been corresponding privately with Prof. Bormann about a new t=
ag I proposed for encoding multimaps as arrays or pairs. He&#39;s made me a=
ware of your recent discussion about another proposed tag for encoding &quo=
t;ordered&quot; maps, where the insertion order must be preserved. Carsten =
has indicated to me his desire to consolidate all of these map-related tags=
 together.</div>
<div>=C2=A0</div>
<div>I would like to contribute to this endeavor of consolidating map-relat=
ed tags. To get the discussion started, I would like to share with you a dr=
aft proposal I&#39;ve written to serve as a starting point: <a href=3D"http=
s://github.com/ecorm/cbor-map-like" rel=3D"noopener noreferrer" target=3D"_=
blank">https://github.com/ecorm/cbor-map-like</a></div>
<div>=C2=A0</div>
<div>Here&#39;s a brief summary:</div>
<div>=C2=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
<div>=C2=A0</div>
<div>This document proposes a consolidated set of CBOR tags for map-like en=
tities involving key-value pairs. These tags encode the following meta-data=
 concerning map-like entities:</div>
<div>
<ul>
<li>the homogeneity of the key and value types,</li>
<li>the preservation of the insertion order of the key-value pairs,</li>
<li>the uniqueness of the keys, and,</li>
<li>the major type used to encode the key-value pairs.</li>
</ul>
</div>
</blockquote>
<div>=C2=A0</div>
<div>My interest in CBOR stems from my work on a new C++ serialization libr=
ary that can support any JSON-like encoding. This library is closed source =
for now, but I may be able to convince my employer to make it open source i=
n the future.</div>
<div>=C2=A0</div>
<div>I&#39;m also involved with the WAMP protocol, which allows CBOR as one=
 of its encodings.</div>
<div>=C2=A0</div>
<div>I&#39;m looking forward to collaborating with you and I hope that we c=
an come to a solution that satisfies everyone&#39;s needs.</div>
<div>=C2=A0</div>
<div>Cheers,</div>
<div>Emile Cormier</div>
</div>
<br>
<div style=3D"margin:0px;padding:0px;font-family:monospace">_______________=
________________________________<br> CBOR mailing list<br> <a href=3D"mailt=
o:CBOR@ietf.org" target=3D"_blank">CBOR@ietf.org</a><br> <a href=3D"https:/=
/www.ietf.org/mailman/listinfo/cbor" rel=3D"noopener noreferrer" target=3D"=
_blank">https://www.ietf.org/mailman/listinfo/cbor</a></div>
</blockquote>
<p><br></p>

</div>
</blockquote></div>

--00000000000017a6f105bdaad00e--


From nobody Tue Mar 16 10:52:51 2021
Return-Path: <emile.cormier.jr@gmail.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 EEB443A0553 for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 10:52:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 (2048-bit key) header.d=gmail.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 cP4DiAdNpYWr for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 10:52:46 -0700 (PDT)
Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (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 D5ECE3A047D for <cbor@ietf.org>; Tue, 16 Mar 2021 10:52:46 -0700 (PDT)
Received: by mail-pj1-x102f.google.com with SMTP id ha17so10281180pjb.2 for <cbor@ietf.org>; Tue, 16 Mar 2021 10:52:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pp+PNErXUtQHg9Gm0zPoALy5HFSZAeDiiTc1ZFZ1uNM=; b=c50mlAT9jIMUQdwcwsL5H8ls8mApJUcdbo2P9dyc4/hOJf+zc05oUJNeBI7fA1oArq NguQqiqWzZxwD/wH0BU0nh6DCaPKfZo4ip9N3dj12+uEAA3iTc1ya3L5hT2WMU7su80b OdTU4QIaVj/YcUtjpWrpmdbL3YWC4l81Ia7Bt6egymk+FH36XsMA8JOXBHDJ7fAWLp9y h7RBwQZLZfMRmu6wbaVrkiChBKg94y5VNjsTLvIpRDI/DHJdOCFrXUrjQDcceOZ4Qxqd JdGO6ZDt28VTI68Zv//HB46wlJYjpe0IrrRvs9CMPfD7SealfVV5uCxMib0HqOJaA2eo P1cQ==
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=pp+PNErXUtQHg9Gm0zPoALy5HFSZAeDiiTc1ZFZ1uNM=; b=YTXhWrD5qO28Rj74c6lUDuP9D+ZX8I/yBH4mCUh9PkKcm5nkKA8nJKwwZwlXuRxiZv khPsNV5uHGuHDRSKUHR91f0aNQMr88/laLBCMJjG6xywNGIKLpaNbYACQffQJMsNSTz7 HzZSXPvmS4/VdtYI0asmzN9NuQaMNi+JFDXmygyvt++ajBAu+LjprEyrj3FsgKQqzgiM GqsM/5wC/x5LficMa+uBlIv1nMe5Klre0O+g+dDV0Pvwr1HNX5JUADlqY1D0m6gcU2HE 86ECljMVZT/X+p/PRBdUxZIElDhrlSYwooHcRLfXvbLfLOkWDuJe2pavm9dT+zkYoOT/ RDXQ==
X-Gm-Message-State: AOAM531NSR+yfidqCN6oT2PXPaJLux8kpcn5xoPLlmsLVLHJDFzUdion Auc7WNT3BqAVTZMPQ8V2B+XMErCmG5RhTkox/CxBrz7Efj0=
X-Google-Smtp-Source: ABdhPJxQdqdybjw/pTkN7GZ9C03xtytxutrLZs4IsP8Pj0kcdioJorkcI0bEnvu3U+ARMTJu2YdOjXyU5DnJKQgjYGU=
X-Received: by 2002:a17:90a:5898:: with SMTP id j24mr252083pji.110.1615917166318;  Tue, 16 Mar 2021 10:52:46 -0700 (PDT)
MIME-Version: 1.0
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com> <C2B0934A-2AAB-4A45-A354-407782B4CA0B@cursive.net> <FA5E389C-C577-4D42-A19E-A3A50F14F730@tzi.org> <16642498-C82F-41CE-A06D-6C762AEEB6F9@cursive.net> <CAM70yxC3px4U_aVv0yNNL8t-m+Vt3ftLKvUfhsCNHS2sqzM5Fg@mail.gmail.com> <1629FF2E-05D6-456E-AF3C-913F8CB3E55C@cursive.net> <CAM70yxBv5JwSCUML1mJdDssQwUhTOy2QJKFOsEQ+DppOsXbmyg@mail.gmail.com> <D855B6A2-573D-4F8D-8666-55BA5A7F4DA1@cursive.net>
In-Reply-To: <D855B6A2-573D-4F8D-8666-55BA5A7F4DA1@cursive.net>
From: Emile Cormier <emile.cormier.jr@gmail.com>
Date: Tue, 16 Mar 2021 14:52:35 -0300
Message-ID: <CAM70yxDKq-rj=vK+g2S08E7iWnhYWDM6MpoopnKQBYMx-g2B7Q@mail.gmail.com>
To: Joe Hildebrand <hildjj@cursive.net>
Cc: Carsten Bormann <cabo@tzi.org>, cbor@ietf.org
Content-Type: multipart/alternative; boundary="000000000000af57d005bdab08e4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Q4XYw2XFuaVSRNbN76t4tV9Vm80>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Tue, 16 Mar 2021 17:52:51 -0000

--000000000000af57d005bdab08e4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

The benefit of using map instead of array whenever possible is better
interoperability with other decoders that ignore the tags. For example, if
I send a map tagged 132 (unordered, homogenous, unique keys), an "agnostic"
Javascript decoder will store it in a Map or Object, and the application
will at least know it's a set of key-value pairs.

The disadvantage of this approach is obviously the inconsistency. Sometimes
it's map and sometimes it's array. The decoder needs extra logic for using
the correct major type code.

On Tue, Mar 16, 2021 at 2:20 PM Joe Hildebrand <hildjj@cursive.net> wrote:

> Your approach makes sense to me.
>
> Is there any benefit to using map over array for your approach?  They're
> roughly the same on the wire.
>
> =E2=80=94
> Joe Hildebrand
>
> > On Mar 15, 2021, at 3:15 PM, Emile Cormier <emile.cormier.jr@gmail.com>
> wrote:
> >
> > Indeed, I try to feed bytes from the wire into its resulting data
> structure as directly as humanly possible in my C++ implementation, while
> not having to write decoders by hand for every possible data structure.
> While CBOR itself is schema-less, our applications use CBOR (and JSON) to
> transfer entities with known schemas at the application level. I can
> therefore skip generating intermediate "document" trees and store the CBO=
R
> directly into the intended data structure (this is the idea behind
> https://github.com/OneNoteDev/GoldFish, which is partly inspiring my
> work-in-progress C++ serialization library).
> >
> > I know I could use Flat Buffers with fixed schemas, but I'd end up
> having to copy everything to standard library containers unless I'm willi=
ng
> to have Flat Buffers "infect" my entire application instead of remaining =
at
> the boundary. I also like the self-describing nature of CBOR for diagnost=
ic
> purposes, plus it's easier to transcode it into JSON for web browser
> clients.
> >
> >
> > On Mon, Mar 15, 2021 at 5:21 PM Joe Hildebrand <hildjj@cursive.net>
> wrote:
> > Ah, I think I see the difference in implementation that others must
> have.  I always generically decode the data item first, *then* apply the
> tag transformation.  This allows me to return a generic Tag implementatio=
n
> if I don't support the tag, or a more-specific type or error-check if I d=
o
> support the tag.
> >
> > Others must do special-case decoding of the data item for each tag they
> support.
> >
> > =E2=80=94
> > Joe Hildebrand
> >
> > > On Mar 15, 2021, at 2:09 PM, Emile Cormier <emile.cormier.jr@gmail.co=
m>
> wrote:
> > >
> > > I don't know anything about "mt5", but with my proposed tag set, you
> could check for the presence of tag 132 (homegenous key) and you would kn=
ow
> after decoding the first key if all the key-value pairs can be safely
> decoded into a JS Object. Of course, this requires that the sender "play
> along" and actually bothers to use the tags.
> > >
> > > On Mon, Mar 15, 2021 at 4:44 PM Joe Hildebrand <hildjj@cursive.net>
> wrote:
> > > > On Mar 15, 2021, at 12:51 PM, Carsten Bormann <cabo@tzi.org> wrote:
> > > >
> > > > On 2021-03-15, at 19:50, Joe Hildebrand <hildjj@cursive.net> wrote:
> > > >>
> > > >> Data Item being major type 5 should really only be used if the key=
s
> are homogeneously strings, in my opinion.
> > > >
> > > > We are using a lot of integer labels with mt5, so why would we make
> that restriction?
> > >
> > > This is a consequence of my implementation that others probably don't
> have.  When decoding mt5, I always keep a set of [key,value] tuples until
> all of the items have been decoded.  Then, if the keys are all strings, I
> convert the tuples to a JS Object, otherwise I convert them to a Map.  If
> I've already converted to a Map in mt5 processing, it's too late to (for
> example) throw an error if there is an unexpected duplicate key.
> > >
> > > =E2=80=94
> > > Joe Hildebrand
> >
>
>

--000000000000af57d005bdab08e4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>The benefit of using map instead of array whenever po=
ssible is better interoperability with other decoders that ignore the tags.=
 For example, if I send a map tagged 132 (unordered, homogenous, unique key=
s), an &quot;agnostic&quot; Javascript decoder will store it in a Map or Ob=
ject, and the application will at least know it&#39;s a set of key-value pa=
irs.</div><div><br></div><div>The disadvantage of this approach is obviousl=
y the inconsistency. Sometimes it&#39;s map and sometimes it&#39;s array. T=
he decoder needs extra logic for using the correct major type code.<br></di=
v></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr=
">On Tue, Mar 16, 2021 at 2:20 PM Joe Hildebrand &lt;<a href=3D"mailto:hild=
jj@cursive.net">hildjj@cursive.net</a>&gt; wrote:<br></div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex">Your approach makes sense to me.<br>
<br>
Is there any benefit to using map over array for your approach?=C2=A0 They&=
#39;re roughly the same on the wire.<br>
<br>
=E2=80=94 <br>
Joe Hildebrand<br>
<br>
&gt; On Mar 15, 2021, at 3:15 PM, Emile Cormier &lt;<a href=3D"mailto:emile=
.cormier.jr@gmail.com" target=3D"_blank">emile.cormier.jr@gmail.com</a>&gt;=
 wrote:<br>
&gt; <br>
&gt; Indeed, I try to feed bytes from the wire into its resulting data stru=
cture as directly as humanly possible in my C++ implementation, while not h=
aving to write decoders by hand for every possible data structure. While CB=
OR itself is schema-less, our applications use CBOR (and JSON) to transfer =
entities with known schemas at the application level. I can therefore skip =
generating intermediate &quot;document&quot; trees and store the CBOR direc=
tly into the intended data structure (this is the idea behind <a href=3D"ht=
tps://github.com/OneNoteDev/GoldFish" rel=3D"noreferrer" target=3D"_blank">=
https://github.com/OneNoteDev/GoldFish</a>, which is partly inspiring my wo=
rk-in-progress C++ serialization library).<br>
&gt; <br>
&gt; I know I could use Flat Buffers with fixed schemas, but I&#39;d end up=
 having to copy everything to standard library containers unless I&#39;m wi=
lling to have Flat Buffers &quot;infect&quot; my entire application instead=
 of remaining at the boundary. I also like the self-describing nature of CB=
OR for diagnostic purposes, plus it&#39;s easier to transcode it into JSON =
for web browser clients.<br>
&gt; <br>
&gt; <br>
&gt; On Mon, Mar 15, 2021 at 5:21 PM Joe Hildebrand &lt;<a href=3D"mailto:h=
ildjj@cursive.net" target=3D"_blank">hildjj@cursive.net</a>&gt; wrote:<br>
&gt; Ah, I think I see the difference in implementation that others must ha=
ve.=C2=A0 I always generically decode the data item first, *then* apply the=
 tag transformation.=C2=A0 This allows me to return a generic Tag implement=
ation if I don&#39;t support the tag, or a more-specific type or error-chec=
k if I do support the tag.<br>
&gt; <br>
&gt; Others must do special-case decoding of the data item for each tag the=
y support.<br>
&gt; <br>
&gt; =E2=80=94 <br>
&gt; Joe Hildebrand<br>
&gt; <br>
&gt; &gt; On Mar 15, 2021, at 2:09 PM, Emile Cormier &lt;<a href=3D"mailto:=
emile.cormier.jr@gmail.com" target=3D"_blank">emile.cormier.jr@gmail.com</a=
>&gt; wrote:<br>
&gt; &gt; <br>
&gt; &gt; I don&#39;t know anything about &quot;mt5&quot;, but with my prop=
osed tag set, you could check for the presence of tag 132 (homegenous key) =
and you would know after decoding the first key if all the key-value pairs =
can be safely decoded into a JS Object. Of course, this requires that the s=
ender &quot;play along&quot; and actually bothers to use the tags.<br>
&gt; &gt; <br>
&gt; &gt; On Mon, Mar 15, 2021 at 4:44 PM Joe Hildebrand &lt;<a href=3D"mai=
lto:hildjj@cursive.net" target=3D"_blank">hildjj@cursive.net</a>&gt; wrote:=
<br>
&gt; &gt; &gt; On Mar 15, 2021, at 12:51 PM, Carsten Bormann &lt;<a href=3D=
"mailto:cabo@tzi.org" target=3D"_blank">cabo@tzi.org</a>&gt; wrote:<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; On 2021-03-15, at 19:50, Joe Hildebrand &lt;<a href=3D"mailt=
o:hildjj@cursive.net" target=3D"_blank">hildjj@cursive.net</a>&gt; wrote:<b=
r>
&gt; &gt; &gt;&gt; <br>
&gt; &gt; &gt;&gt; Data Item being major type 5 should really only be used =
if the keys are homogeneously strings, in my opinion.<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; We are using a lot of integer labels with mt5, so why would =
we make that restriction?<br>
&gt; &gt; <br>
&gt; &gt; This is a consequence of my implementation that others probably d=
on&#39;t have.=C2=A0 When decoding mt5, I always keep a set of [key,value] =
tuples until all of the items have been decoded.=C2=A0 Then, if the keys ar=
e all strings, I convert the tuples to a JS Object, otherwise I convert the=
m to a Map.=C2=A0 If I&#39;ve already converted to a Map in mt5 processing,=
 it&#39;s too late to (for example) throw an error if there is an unexpecte=
d duplicate key.<br>
&gt; &gt; <br>
&gt; &gt; =E2=80=94 <br>
&gt; &gt; Joe Hildebrand<br>
&gt; <br>
<br>
</blockquote></div>

--000000000000af57d005bdab08e4--


From nobody Tue Mar 16 11:39:06 2021
Return-Path: <emile.cormier.jr@gmail.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 B6EF63A0EAD for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 11:38:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level: 
X-Spam-Status: No, score=-2.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, 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 (2048-bit key) header.d=gmail.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 eO_73AV3cxYG for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 11:38:57 -0700 (PDT)
Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (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 2BAE83A0E6F for <cbor@ietf.org>; Tue, 16 Mar 2021 11:38:53 -0700 (PDT)
Received: by mail-pf1-x42b.google.com with SMTP id x21so8117667pfa.3 for <cbor@ietf.org>; Tue, 16 Mar 2021 11:38:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=a9SOVk3SmrxHawKy57e0ClONtODKqImvUP9Xk009qi8=; b=gLJsyfAJhODamCqBd+CFozr4D13SqmmilEoRNudGZlaoLvYI4LGT0WGBp/XW3RNw5+ jntFxbn6gfZqN6XJZESUYg5pMY5s2JvKumV8wDOzH4n8U5tky2090w0iA/mtqJKsB/DL uD3wzqd2wF7DcXKdB8Tgxa0KVU9ma9+6hTFZlQZjNoxTdBzZrYMpw0kJSVdklfeaHcN+ Cy/YTc48aCccWn63MVNqj4lbcylvzJhX6773vvXEApFLLFEmGfViqbfJwLV/0ONbB7E7 4eNK3cisyTlYapalhkQhqKntcMuQHBBAimF5+u0w1ijRYfMEfCOAqW+8lqiPXCOsIYdi AVFQ==
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=a9SOVk3SmrxHawKy57e0ClONtODKqImvUP9Xk009qi8=; b=tIhvFx1bvJa4MpqkZmts7QkuXSRNVxOGKF/bCQEbYa5BS/ycE7UBCjhEQd12zY/0gt XlAe4j4/mtnwZDtl1ahSDaZwUbTuA5ryMUbeHx9t3JscKjz7QEsTejZcFiNOmUGPA7db Fx1yoyjavq1uZMrpC6d5lhxs5yhQ6u9tsHvmIevoJAjj7uJGWYBw/lgupxgMucqQ5FMD 8SHGKPn1aakSL9P/ur6269ikypfdJsmsg+hy+kJtN4tQXnDkvk5ZB55fec7UuL7om+dG xHS66HxzjFFFet0pdFNY5gRufYkQFqI2gFzcm+VsB+jwKaPCfmEiyzaK6EzK5K26kuLL 68EA==
X-Gm-Message-State: AOAM533ZhFJ66WHSxilu3lj2dC6BU9kYclNqIUdNZgZ52NxtK/CyGTOv Q7cPTN21POF6OeLA4FGwrGOJpvfafzzktO3xU8YespBCtyPRBA==
X-Google-Smtp-Source: ABdhPJw3lA+xkoVGzj1V0yCFgRX+FfdBv04F7dgxzTQGNwDNAB7MPLGzTmy7VtoFn3lhDnzFYTRe3i4LBKnEwlMcT+0=
X-Received: by 2002:aa7:9824:0:b029:1ef:2104:c72d with SMTP id q4-20020aa798240000b02901ef2104c72dmr847954pfl.20.1615919931614; Tue, 16 Mar 2021 11:38:51 -0700 (PDT)
MIME-Version: 1.0
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com> <d9790cc20ed6ef267e656ab7b4f8492f@mothers-arms.co.uk> <CAM70yxBifhSvsmRu3bq3ayrqqMecp2q1LORUvGcK28jujZrOfg@mail.gmail.com>
In-Reply-To: <CAM70yxBifhSvsmRu3bq3ayrqqMecp2q1LORUvGcK28jujZrOfg@mail.gmail.com>
From: Emile Cormier <emile.cormier.jr@gmail.com>
Date: Tue, 16 Mar 2021 15:38:40 -0300
Message-ID: <CAM70yxB+iDW_11p+AHWc7Njcb-jpBS99OJU+70xBw9Pe+20U1g@mail.gmail.com>
To: Kio Smallwood <kio@mothers-arms.co.uk>
Cc: cbor@ietf.org
Content-Type: multipart/alternative; boundary="000000000000826aa905bdabad92"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Sjxaa8Lc9MMVmb6AoHjlTJQr5j0>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Tue, 16 Mar 2021 18:39:05 -0000

--000000000000826aa905bdabad92
Content-Type: text/plain; charset="UTF-8"

RFC8746 has this to say about homogeneous arrays:

Which CBOR data items constitute elements of the same application type is
> specific to the application.
>

I think this interpretation of "homogenous" should be the same for this
proposal.

On Tue, Mar 16, 2021 at 2:36 PM Emile Cormier <emile.cormier.jr@gmail.com>
wrote:

> Hi Kio,
>
> I'll add an information section on how the various tags relate to
> programming language data structures. I could start with JS and C++ data
> structures, and allow other folks to send or PR me the ones for other
> languages.
>
> For homogeneous key/values, it was actually my intention that the first
> key/value encountered "establishes" the type for the remainder. A decoder
> could reject a homogenous map where a key/value does not match the type
> established by the first.
>
> You've made me realize that the interpretation for "homogenous" could be
> tricky for numeric types. For example, if the first homogenous key is a
> positive integer, can the decoder assume that the following keys may also
> include negative integers and floats? I'll check what it says for
> homogenous arrays in https://tools.ietf.org/html/rfc8746 . It may have
> already been settled there.
>
> This also begs the question: what does "homogeneous" mean for key/value
> types that are themselves arrays or maps?
>
> Thanks for the feedback!
> Emile
>
> On Mon, Mar 15, 2021 at 4:36 PM Kio Smallwood <kio@mothers-arms.co.uk>
> wrote:
>
>> Hi Emile,
>>
>> Thanks for enumerating all of the possibilities. I have a few thoughts:
>>
>> * Would it be worth noting which programming languages and environments
>> already make use of each type? For example, users of the cbor2 python
>> library would only see tag 128 (equivalent to major type 5) tag 129, 130,
>> for ordered and multimaps, and 132 when inter-operating with
>> javascript/json. The rest would be very strange to encounter in a Python
>> datastructure.
>>
>> * For the Homogeneous keys/values, should we (codec implementers) assume
>> that the type of the first key/value encountered in the data item
>> determines the type of the remainder?
>>
>> Thanks,
>>
>> Kio
>>
>>
>> On 2021-03-12 23:50, Emile Cormier wrote:
>>
>> Hi Everyone,
>>
>> I've been corresponding privately with Prof. Bormann about a new tag I
>> proposed for encoding multimaps as arrays or pairs. He's made me aware of
>> your recent discussion about another proposed tag for encoding "ordered"
>> maps, where the insertion order must be preserved. Carsten has indicated to
>> me his desire to consolidate all of these map-related tags together.
>>
>> I would like to contribute to this endeavor of consolidating map-related
>> tags. To get the discussion started, I would like to share with you a draft
>> proposal I've written to serve as a starting point:
>> https://github.com/ecorm/cbor-map-like
>>
>> Here's a brief summary:
>>
>>
>>>
>>> This document proposes a consolidated set of CBOR tags for map-like
>>> entities involving key-value pairs. These tags encode the following
>>> meta-data concerning map-like entities:
>>>
>>>    - the homogeneity of the key and value types,
>>>    - the preservation of the insertion order of the key-value pairs,
>>>    - the uniqueness of the keys, and,
>>>    - the major type used to encode the key-value pairs.
>>>
>>>
>> My interest in CBOR stems from my work on a new C++ serialization library
>> that can support any JSON-like encoding. This library is closed source for
>> now, but I may be able to convince my employer to make it open source in
>> the future.
>>
>> I'm also involved with the WAMP protocol, which allows CBOR as one of its
>> encodings.
>>
>> I'm looking forward to collaborating with you and I hope that we can come
>> to a solution that satisfies everyone's needs.
>>
>> Cheers,
>> Emile Cormier
>>
>> _______________________________________________
>> CBOR mailing list
>> CBOR@ietf.org
>> https://www.ietf.org/mailman/listinfo/cbor
>>
>>
>>

--000000000000826aa905bdabad92
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>RFC8746 has this to say about homogeneous arrays:</di=
v><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Whi=
ch CBOR data items constitute elements of the same application type is spec=
ific to the application.</div></blockquote><div><br></div><div>I think this=
 interpretation of &quot;homogenous&quot; should be the same for this propo=
sal.<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Tue, Mar 16, 2021 at 2:36 PM Emile Cormier &lt;<a href=
=3D"mailto:emile.cormier.jr@gmail.com">emile.cormier.jr@gmail.com</a>&gt; w=
rote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p=
x 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=
=3D"ltr"><div>Hi Kio,</div><div><br></div><div>I&#39;ll add an information =
section on how the various tags relate to programming language data structu=
res. I could start with JS and C++ data structures, and allow other folks t=
o send or PR me the ones for other languages.</div><div><br></div><div>For =
homogeneous key/values, it was actually my intention that the first key/val=
ue encountered &quot;establishes&quot; the type for the remainder. A decode=
r could reject a homogenous map where a key/value does not match the type e=
stablished by the first.</div><div><br></div><div>You&#39;ve made me realiz=
e that the interpretation for &quot;homogenous&quot; could be tricky for nu=
meric types. For example, if the first homogenous key is a positive integer=
, can the decoder assume that the following keys may also include negative =
integers and floats? I&#39;ll check what it says for homogenous arrays in <=
a href=3D"https://tools.ietf.org/html/rfc8746" target=3D"_blank">https://to=
ols.ietf.org/html/rfc8746</a> . It may have already been settled there.<br>=
</div><div><br></div><div>This also begs the question: what does &quot;homo=
geneous&quot; mean for key/value types that are themselves arrays or maps?<=
br></div><div><br></div><div>Thanks for the feedback!</div><div>Emile<br></=
div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_at=
tr">On Mon, Mar 15, 2021 at 4:36 PM Kio Smallwood &lt;<a href=3D"mailto:kio=
@mothers-arms.co.uk" target=3D"_blank">kio@mothers-arms.co.uk</a>&gt; wrote=
:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style=3D"=
font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi Emile,</p>
<p>Thanks for enumerating all of the possibilities. I have a few thoughts:<=
/p>
<p>* Would it be worth noting which programming languages and environments =
already make use of each type? For example, users of the cbor2 python libra=
ry would only see tag 128 (equivalent to major type 5) tag 129, 130, for or=
dered and multimaps, and 132 when inter-operating with javascript/json. The=
 rest would be very strange to encounter in a Python datastructure.</p>
<p>* For the Homogeneous keys/values, should we (codec implementers) assume=
 that the type of the first key/value encountered in the data item determin=
es the type of the remainder?</p>
<p>Thanks,</p>
<p>Kio</p>
<p><br></p>
<p>On 2021-03-12 23:50, Emile Cormier wrote:</p>
<blockquote type=3D"cite" style=3D"padding:0px 0.4em;border-left:2px solid =
rgb(16,16,255);margin:0px">
<div dir=3D"ltr">
<div>Hi Everyone,</div>
<div>=C2=A0</div>
<div>I&#39;ve been corresponding privately with Prof. Bormann about a new t=
ag I proposed for encoding multimaps as arrays or pairs. He&#39;s made me a=
ware of your recent discussion about another proposed tag for encoding &quo=
t;ordered&quot; maps, where the insertion order must be preserved. Carsten =
has indicated to me his desire to consolidate all of these map-related tags=
 together.</div>
<div>=C2=A0</div>
<div>I would like to contribute to this endeavor of consolidating map-relat=
ed tags. To get the discussion started, I would like to share with you a dr=
aft proposal I&#39;ve written to serve as a starting point: <a href=3D"http=
s://github.com/ecorm/cbor-map-like" rel=3D"noopener noreferrer" target=3D"_=
blank">https://github.com/ecorm/cbor-map-like</a></div>
<div>=C2=A0</div>
<div>Here&#39;s a brief summary:</div>
<div>=C2=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
<div>=C2=A0</div>
<div>This document proposes a consolidated set of CBOR tags for map-like en=
tities involving key-value pairs. These tags encode the following meta-data=
 concerning map-like entities:</div>
<div>
<ul>
<li>the homogeneity of the key and value types,</li>
<li>the preservation of the insertion order of the key-value pairs,</li>
<li>the uniqueness of the keys, and,</li>
<li>the major type used to encode the key-value pairs.</li>
</ul>
</div>
</blockquote>
<div>=C2=A0</div>
<div>My interest in CBOR stems from my work on a new C++ serialization libr=
ary that can support any JSON-like encoding. This library is closed source =
for now, but I may be able to convince my employer to make it open source i=
n the future.</div>
<div>=C2=A0</div>
<div>I&#39;m also involved with the WAMP protocol, which allows CBOR as one=
 of its encodings.</div>
<div>=C2=A0</div>
<div>I&#39;m looking forward to collaborating with you and I hope that we c=
an come to a solution that satisfies everyone&#39;s needs.</div>
<div>=C2=A0</div>
<div>Cheers,</div>
<div>Emile Cormier</div>
</div>
<br>
<div style=3D"margin:0px;padding:0px;font-family:monospace">_______________=
________________________________<br> CBOR mailing list<br> <a href=3D"mailt=
o:CBOR@ietf.org" target=3D"_blank">CBOR@ietf.org</a><br> <a href=3D"https:/=
/www.ietf.org/mailman/listinfo/cbor" rel=3D"noopener noreferrer" target=3D"=
_blank">https://www.ietf.org/mailman/listinfo/cbor</a></div>
</blockquote>
<p><br></p>

</div>
</blockquote></div>
</blockquote></div>

--000000000000826aa905bdabad92--


From nobody Tue Mar 16 15:40:26 2021
Return-Path: <mcr+ietf@sandelman.ca>
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 9DC8D3A11E7 for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 15:40:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 DpiKVqGYvpoU for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 15:40:22 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A3F823A11E5 for <cbor@ietf.org>; Tue, 16 Mar 2021 15:40:22 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 32B71389AC; Tue, 16 Mar 2021 18:45:49 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VGVypsLbSC3Q; Tue, 16 Mar 2021 18:45:47 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id CEA5E389AA; Tue, 16 Mar 2021 18:45:47 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 054F121; Tue, 16 Mar 2021 18:40:20 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Carsten Bormann <cabo@tzi.org>, cbor@ietf.org
In-Reply-To: <D0440CFA-7295-46C3-8B38-C2755DAB314A@tzi.org>
References: <1301.1615756133@localhost> <D0440CFA-7295-46C3-8B38-C2755DAB314A@tzi.org>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Tue, 16 Mar 2021 18:40:19 -0400
Message-ID: <1733.1615934419@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/ZQKCiJJo3N9DR54HKvTqSHSMOoM>
Subject: Re: [Cbor] building "enum" from CDDL map keys
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: Tue, 16 Mar 2021 22:40:25 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Carsten Bormann <cabo@tzi.org> wrote:
    > On 2021-03-14, at 22:08, Michael Richardson <mcr+ietf@sandelman.ca> w=
rote:
    >>
    >>
    >> enum whack_message_keys {
    >> WHACK_STATUS =3D 1,
    >> WHACK_SHUTDOWN=3D2,
    >> WHACK_OPTIONS =3D3,
    >> WHACK_CONNECTION=3D4
    >> ...
    >> };

    > cddlc 0.0.2 can do this:

    > $ cddlc -tenum test-data/whack.cddl
    > enum whack_message_keys {

Very cool.
This reveals that my choices for sub-table names was poor, but that's my fa=
ult.

    > This is a banana version (it is intended to ripen after shipping), but
    > it seems to work for me.

I'll dig into it the source and see what I need to get the equivalent Rust =
output, which
is probably the major point of using CDDL.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmBRM9MACgkQgItw+93Q
3WW9lgf/eRjuz1rZDy8yKBi8d00e3sADa1Q7jsz5pQ5SB5nYft6ymVrcr27kSj+i
5/anyz1LIyLbchOahUEN6u01Iaf+ItoKIYwqUIgx4xnQzEZ5PJ6cmVu7Xz05G2jr
RNsDNxmRyblLv/Cr7EUkL2TRkwlUuHXaEiV1FCygRHNVxxZxFlR//3vjpRB4iwww
unD4LBgSotFnGprFXgjHdCZ8F91L3Pi5vrCfPIN9ADJC9JoJufmd9tEVlZOm1+ix
wNK43/1AuQ/McVxFXWQQ3Rk2D222GjcjM+nU7uudcoLPzau4CciIPoiyHyz6/rmk
i0ZNyBReCL5lXjBgOxnnNuSSEVjI0g==
=qqnw
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Mar 16 16:27:20 2021
Return-Path: <emile.cormier.jr@gmail.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 118D53A12D8 for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 16:27:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 (2048-bit key) header.d=gmail.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 Ci-K_YFDiMBk for <cbor@ietfa.amsl.com>; Tue, 16 Mar 2021 16:27:17 -0700 (PDT)
Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) (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 E76DC3A12D6 for <cbor@ietf.org>; Tue, 16 Mar 2021 16:27:16 -0700 (PDT)
Received: by mail-pf1-x434.google.com with SMTP id c17so6299902pfv.12 for <cbor@ietf.org>; Tue, 16 Mar 2021 16:27:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=F0G8BkiYEoQEfyFTdNF3SzYXqQN7RBBh19nAVYnLArc=; b=u8QyJsZzWRivW3Jc7BVJTlrBzCWWfxVnmM254tTaTHwdo4NyMYx4mvuN2uF5J6xapl 842GTWlXLJboUCzUHU2somus3oGqYM8W6qaB6H+yG+B/NH5L2/8UgAnvfk+fXnuqFdWu qRD0Wa5hf9KZ4tlNqYi9dF+SY64aCkHstm7hCnd85jV8pEN4beXgP75WtsrxeHfDfBap wjrksa21N7B6zuqP8P4LMFINZDXV47Vv6sQE7xkojaCqj0f/cH/ZGePnHk8/9MrUZCUi xIronep4Ig5A20bzIe58EfaHs8GriTtGKVOrAhIjOjwLBo7XEYaRDW9zmbcNJrIxAgHn fI6g==
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=F0G8BkiYEoQEfyFTdNF3SzYXqQN7RBBh19nAVYnLArc=; b=Y3spbfFMlQGBVzyfn1+KYtx328PGBTyvGQjkz6Ihi+SN7VHTSunpAA983sY1SxDChp 8udY4Q83qucnJJiR8OEmD9zmnII2rOE1mAHMy/Wx/HmEo909EbwN4m3tDpynn8oy0G49 baxfDhTOZ9hfaS+sXpcXFYafaOf9eqIA6oDZj3b936FOs3gMsnW9afIUHX/WpDJ9Odj0 C/tw6Siufz77VOSHE6rvq6TDXx7fk+nGS+IaL+4p+miNjwpGrYqu156lNaRr0srnCz61 8fgisIcs0nwzPf+kWVKPsxE2VbWoToOvqxI3VrXmJs9o960NJmDLlOXt6gpJeSSsNALs vkTw==
X-Gm-Message-State: AOAM5307b2V14NEBmhCB6H42mJK0kER+SVXDXRELNjHOclUGJiEf1U5B HetA9ZT6SFSAGVHD9DRpeYXvEs5s5ONUM0BO3q24kdkWwIY=
X-Google-Smtp-Source: ABdhPJwABd/Og2pRFkXnaFP0zw+j31NA1/Z/n9q8m4nrnixPWnXGHfQfiLjMJ3drTS6xc/7proYwREIKNAcI+7udgVc=
X-Received: by 2002:a63:6606:: with SMTP id a6mr131201pgc.310.1615937235852; Tue, 16 Mar 2021 16:27:15 -0700 (PDT)
MIME-Version: 1.0
References: <CAM70yxC7o3CNz67Yx3-yLt3tPQaTRaezOO99Ssa-3ppu-NwD=Q@mail.gmail.com> <d9790cc20ed6ef267e656ab7b4f8492f@mothers-arms.co.uk> <CAM70yxBifhSvsmRu3bq3ayrqqMecp2q1LORUvGcK28jujZrOfg@mail.gmail.com> <CAM70yxB+iDW_11p+AHWc7Njcb-jpBS99OJU+70xBw9Pe+20U1g@mail.gmail.com>
In-Reply-To: <CAM70yxB+iDW_11p+AHWc7Njcb-jpBS99OJU+70xBw9Pe+20U1g@mail.gmail.com>
From: Emile Cormier <emile.cormier.jr@gmail.com>
Date: Tue, 16 Mar 2021 20:27:04 -0300
Message-ID: <CAM70yxA7iCKHRxHqvAt404xYU5f69Grun4rpTBD98+1HzZWc=w@mail.gmail.com>
To: Kio Smallwood <kio@mothers-arms.co.uk>
Cc: cbor@ietf.org
Content-Type: multipart/alternative; boundary="000000000000ec212905bdafb4db"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/AVQDbN5B-1TdQQYziEG9tHcPw6g>
Subject: Re: [Cbor] Consolidated set of tags for map-like entities
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: Tue, 16 Mar 2021 23:27:19 -0000

--000000000000ec212905bdafb4db
Content-Type: text/plain; charset="UTF-8"

I've updated the GitHub repo with a new section describing how the tags
relate to programming language containers. I only have Javascript, Python,
and C++ there for now. I'm not fluent in Python and had to consult online
documentation. It's entirely possible I got things wrong in the Python
subsection.

I have the following new thoughts:

1. We should consider adding similar tags for lists of discrete values (not
key-value pairs). For example, the homogeneity, ordering, and uniqueness
properties could be associated with programming language lists, sets, and
multisets. I think this would add eight additional tags, for a total of 20.

2. I'd like to replace the terms "homogenous/heterogeneous" with the terms
"uniform/arbitrary" for better readability.

On Tue, Mar 16, 2021 at 3:38 PM Emile Cormier <emile.cormier.jr@gmail.com>
wrote:

> RFC8746 has this to say about homogeneous arrays:
>
> Which CBOR data items constitute elements of the same application type is
>> specific to the application.
>>
>
> I think this interpretation of "homogenous" should be the same for this
> proposal.
>
> On Tue, Mar 16, 2021 at 2:36 PM Emile Cormier <emile.cormier.jr@gmail.com>
> wrote:
>
>> Hi Kio,
>>
>> I'll add an information section on how the various tags relate to
>> programming language data structures. I could start with JS and C++ data
>> structures, and allow other folks to send or PR me the ones for other
>> languages.
>>
>> For homogeneous key/values, it was actually my intention that the first
>> key/value encountered "establishes" the type for the remainder. A decoder
>> could reject a homogenous map where a key/value does not match the type
>> established by the first.
>>
>> You've made me realize that the interpretation for "homogenous" could be
>> tricky for numeric types. For example, if the first homogenous key is a
>> positive integer, can the decoder assume that the following keys may also
>> include negative integers and floats? I'll check what it says for
>> homogenous arrays in https://tools.ietf.org/html/rfc8746 . It may have
>> already been settled there.
>>
>> This also begs the question: what does "homogeneous" mean for key/value
>> types that are themselves arrays or maps?
>>
>> Thanks for the feedback!
>> Emile
>>
>> On Mon, Mar 15, 2021 at 4:36 PM Kio Smallwood <kio@mothers-arms.co.uk>
>> wrote:
>>
>>> Hi Emile,
>>>
>>> Thanks for enumerating all of the possibilities. I have a few thoughts:
>>>
>>> * Would it be worth noting which programming languages and environments
>>> already make use of each type? For example, users of the cbor2 python
>>> library would only see tag 128 (equivalent to major type 5) tag 129, 130,
>>> for ordered and multimaps, and 132 when inter-operating with
>>> javascript/json. The rest would be very strange to encounter in a Python
>>> datastructure.
>>>
>>> * For the Homogeneous keys/values, should we (codec implementers) assume
>>> that the type of the first key/value encountered in the data item
>>> determines the type of the remainder?
>>>
>>> Thanks,
>>>
>>> Kio
>>>
>>>
>>> On 2021-03-12 23:50, Emile Cormier wrote:
>>>
>>> Hi Everyone,
>>>
>>> I've been corresponding privately with Prof. Bormann about a new tag I
>>> proposed for encoding multimaps as arrays or pairs. He's made me aware of
>>> your recent discussion about another proposed tag for encoding "ordered"
>>> maps, where the insertion order must be preserved. Carsten has indicated to
>>> me his desire to consolidate all of these map-related tags together.
>>>
>>> I would like to contribute to this endeavor of consolidating map-related
>>> tags. To get the discussion started, I would like to share with you a draft
>>> proposal I've written to serve as a starting point:
>>> https://github.com/ecorm/cbor-map-like
>>>
>>> Here's a brief summary:
>>>
>>>
>>>>
>>>> This document proposes a consolidated set of CBOR tags for map-like
>>>> entities involving key-value pairs. These tags encode the following
>>>> meta-data concerning map-like entities:
>>>>
>>>>    - the homogeneity of the key and value types,
>>>>    - the preservation of the insertion order of the key-value pairs,
>>>>    - the uniqueness of the keys, and,
>>>>    - the major type used to encode the key-value pairs.
>>>>
>>>>
>>> My interest in CBOR stems from my work on a new C++ serialization
>>> library that can support any JSON-like encoding. This library is closed
>>> source for now, but I may be able to convince my employer to make it open
>>> source in the future.
>>>
>>> I'm also involved with the WAMP protocol, which allows CBOR as one of
>>> its encodings.
>>>
>>> I'm looking forward to collaborating with you and I hope that we can
>>> come to a solution that satisfies everyone's needs.
>>>
>>> Cheers,
>>> Emile Cormier
>>>
>>> _______________________________________________
>>> CBOR mailing list
>>> CBOR@ietf.org
>>> https://www.ietf.org/mailman/listinfo/cbor
>>>
>>>
>>>

--000000000000ec212905bdafb4db
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I&#39;ve updated the GitHub repo with a new section d=
escribing how the tags relate to programming language containers. I only ha=
ve Javascript, Python, and C++ there for now. I&#39;m not fluent in Python =
and had to consult online documentation. It&#39;s entirely possible I got t=
hings wrong in the Python subsection.</div><div><br></div><div>I have the f=
ollowing new thoughts:</div><div><br></div><div>1. We should consider addin=
g similar tags for lists of discrete values (not key-value pairs). For exam=
ple, the homogeneity, ordering, and uniqueness properties could be associat=
ed with programming language lists, sets, and multisets. I think this would=
 add eight additional tags, for a total of 20.</div><div><br></div><div>2. =
I&#39;d like to replace the terms &quot;homogenous/heterogeneous&quot; with=
 the terms &quot;uniform/arbitrary&quot; for better readability.<br></div><=
/div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">O=
n Tue, Mar 16, 2021 at 3:38 PM Emile Cormier &lt;<a href=3D"mailto:emile.co=
rmier.jr@gmail.com">emile.cormier.jr@gmail.com</a>&gt; wrote:<br></div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>RFC8746=
 has this to say about homogeneous arrays:</div><div><br></div><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol=
id rgb(204,204,204);padding-left:1ex"><div>Which CBOR data items constitute=
 elements of the same application type is specific to the application.</div=
></blockquote><div><br></div><div>I think this interpretation of &quot;homo=
genous&quot; should be the same for this proposal.<br></div></div><br><div =
class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Mar 16,=
 2021 at 2:36 PM Emile Cormier &lt;<a href=3D"mailto:emile.cormier.jr@gmail=
.com" target=3D"_blank">emile.cormier.jr@gmail.com</a>&gt; wrote:<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Hi =
Kio,</div><div><br></div><div>I&#39;ll add an information section on how th=
e various tags relate to programming language data structures. I could star=
t with JS and C++ data structures, and allow other folks to send or PR me t=
he ones for other languages.</div><div><br></div><div>For homogeneous key/v=
alues, it was actually my intention that the first key/value encountered &q=
uot;establishes&quot; the type for the remainder. A decoder could reject a =
homogenous map where a key/value does not match the type established by the=
 first.</div><div><br></div><div>You&#39;ve made me realize that the interp=
retation for &quot;homogenous&quot; could be tricky for numeric types. For =
example, if the first homogenous key is a positive integer, can the decoder=
 assume that the following keys may also include negative integers and floa=
ts? I&#39;ll check what it says for homogenous arrays in <a href=3D"https:/=
/tools.ietf.org/html/rfc8746" target=3D"_blank">https://tools.ietf.org/html=
/rfc8746</a> . It may have already been settled there.<br></div><div><br></=
div><div>This also begs the question: what does &quot;homogeneous&quot; mea=
n for key/value types that are themselves arrays or maps?<br></div><div><br=
></div><div>Thanks for the feedback!</div><div>Emile<br></div></div><br><di=
v class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Mar 1=
5, 2021 at 4:36 PM Kio Smallwood &lt;<a href=3D"mailto:kio@mothers-arms.co.=
uk" target=3D"_blank">kio@mothers-arms.co.uk</a>&gt; wrote:<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex"><div style=3D"font-size:10pt;fo=
nt-family:Verdana,Geneva,sans-serif">
<p>Hi Emile,</p>
<p>Thanks for enumerating all of the possibilities. I have a few thoughts:<=
/p>
<p>* Would it be worth noting which programming languages and environments =
already make use of each type? For example, users of the cbor2 python libra=
ry would only see tag 128 (equivalent to major type 5) tag 129, 130, for or=
dered and multimaps, and 132 when inter-operating with javascript/json. The=
 rest would be very strange to encounter in a Python datastructure.</p>
<p>* For the Homogeneous keys/values, should we (codec implementers) assume=
 that the type of the first key/value encountered in the data item determin=
es the type of the remainder?</p>
<p>Thanks,</p>
<p>Kio</p>
<p><br></p>
<p>On 2021-03-12 23:50, Emile Cormier wrote:</p>
<blockquote type=3D"cite" style=3D"padding:0px 0.4em;border-left:2px solid =
rgb(16,16,255);margin:0px">
<div dir=3D"ltr">
<div>Hi Everyone,</div>
<div>=C2=A0</div>
<div>I&#39;ve been corresponding privately with Prof. Bormann about a new t=
ag I proposed for encoding multimaps as arrays or pairs. He&#39;s made me a=
ware of your recent discussion about another proposed tag for encoding &quo=
t;ordered&quot; maps, where the insertion order must be preserved. Carsten =
has indicated to me his desire to consolidate all of these map-related tags=
 together.</div>
<div>=C2=A0</div>
<div>I would like to contribute to this endeavor of consolidating map-relat=
ed tags. To get the discussion started, I would like to share with you a dr=
aft proposal I&#39;ve written to serve as a starting point: <a href=3D"http=
s://github.com/ecorm/cbor-map-like" rel=3D"noopener noreferrer" target=3D"_=
blank">https://github.com/ecorm/cbor-map-like</a></div>
<div>=C2=A0</div>
<div>Here&#39;s a brief summary:</div>
<div>=C2=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
<div>=C2=A0</div>
<div>This document proposes a consolidated set of CBOR tags for map-like en=
tities involving key-value pairs. These tags encode the following meta-data=
 concerning map-like entities:</div>
<div>
<ul>
<li>the homogeneity of the key and value types,</li>
<li>the preservation of the insertion order of the key-value pairs,</li>
<li>the uniqueness of the keys, and,</li>
<li>the major type used to encode the key-value pairs.</li>
</ul>
</div>
</blockquote>
<div>=C2=A0</div>
<div>My interest in CBOR stems from my work on a new C++ serialization libr=
ary that can support any JSON-like encoding. This library is closed source =
for now, but I may be able to convince my employer to make it open source i=
n the future.</div>
<div>=C2=A0</div>
<div>I&#39;m also involved with the WAMP protocol, which allows CBOR as one=
 of its encodings.</div>
<div>=C2=A0</div>
<div>I&#39;m looking forward to collaborating with you and I hope that we c=
an come to a solution that satisfies everyone&#39;s needs.</div>
<div>=C2=A0</div>
<div>Cheers,</div>
<div>Emile Cormier</div>
</div>
<br>
<div style=3D"margin:0px;padding:0px;font-family:monospace">_______________=
________________________________<br> CBOR mailing list<br> <a href=3D"mailt=
o:CBOR@ietf.org" target=3D"_blank">CBOR@ietf.org</a><br> <a href=3D"https:/=
/www.ietf.org/mailman/listinfo/cbor" rel=3D"noopener noreferrer" target=3D"=
_blank">https://www.ietf.org/mailman/listinfo/cbor</a></div>
</blockquote>
<p><br></p>

</div>
</blockquote></div>
</blockquote></div>
</blockquote></div>

--000000000000ec212905bdafb4db--


From nobody Thu Mar 18 17:28:08 2021
Return-Path: <emile.cormier.jr@gmail.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 06B373A0DD8 for <cbor@ietfa.amsl.com>; Thu, 18 Mar 2021 17:28:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 oEivuq7xNHyo for <cbor@ietfa.amsl.com>; Thu, 18 Mar 2021 17:28:05 -0700 (PDT)
Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (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 A57163A103D for <cbor@ietf.org>; Thu, 18 Mar 2021 17:28:05 -0700 (PDT)
Received: by mail-pf1-x42a.google.com with SMTP id y5so4654190pfn.1 for <cbor@ietf.org>; Thu, 18 Mar 2021 17:28:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=cAahWc6e2QXLGBVUGGrYzNltxzTlVhrDFXFSITLVHLw=; b=rrVU4GQHr5gsrcm6dtzRzfsIjEwzO/DWLQL+hvLjKHfoGEWhwAtba9HVEinmSE4dVT ULppc9zaQPXsKWAhTYq43LdyA98HJOHQ1b23ERkJrwaSwfytzMW+7Lpm2A2NTzd6TVq6 c1o2Ve9Skj6hebxTla/UWQVAXUz6QNL/fVfToRaPzEVku5uHt3JbbNLkOt2mSpccGz7T D7ND5pon1Y92KgggSCQlcMgD3+xzdjtDWgWaqDHHS8U1ZtqMtLVpZ2AaxvVGMBAy5qzE T1k0i8rry5r6NkfPpYWS6EDvUKX65dp7HjEQJZY4FYPabULPoYbt9KaqYQvJKf7Nt+KY PFOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cAahWc6e2QXLGBVUGGrYzNltxzTlVhrDFXFSITLVHLw=; b=DIn/HwCzV2Ck5R94iy28kQObDiduetQuXYtRiOi8CIwLVEYgru5dEsjJHgkEQrQ50J wjtCTb2RtEMrlmEB7HSJFN3PeaxLn0pyY9DsZ5IBgZus1YfPzsb/i16qzcusjYkYzr2M W26ZqxcGvRXmvLgBUGbxwCWZcMeY7rRhq+R0KvJiAkxmiujsoRwL9D+BU7xUzjlkjz2m rr3Q/gP1qn/o5Y3G8/BvkbT8tzFTbOpxmiuoIPNrPFb1+kxwCmquiwsaDGMOexFuK5Yn VNOB6I5D6/9Znp70yv334oM7rZv0YFTtwkW59DiORkEqxLZBrmK1S2rrcp/Ci1Pa1wJS 6AZQ==
X-Gm-Message-State: AOAM531+trslcswA/QOv8KYfRkPNrxR/ARZ6uQiABU8cfpZkqHqPkuZS sY2b23X706TIFPWw9lkiik+CgY9abDTdc0BM3+H0imDXohQ9Eg==
X-Google-Smtp-Source: ABdhPJwD1/G71Je/XAuT4g/JnVGEKCpOIgMLCTNEU0DysWPaBRd3jp/oQFvBIakx/pwYVeN7Rwz7H/RIK0ain8vqEow=
X-Received: by 2002:a63:b12:: with SMTP id 18mr9192421pgl.45.1616113684085; Thu, 18 Mar 2021 17:28:04 -0700 (PDT)
MIME-Version: 1.0
From: Emile Cormier <emile.cormier.jr@gmail.com>
Date: Thu, 18 Mar 2021 21:27:53 -0300
Message-ID: <CAM70yxDJ8fNBPWLtheiWKvvpKUayw0ueuNtAbnd8BsVWV8gKMg@mail.gmail.com>
To: cbor@ietf.org
Content-Type: multipart/alternative; boundary="0000000000000e830c05bdd8caed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/hjm9vkhkk3MPLHhz6quR90PkNFE>
Subject: [Cbor] Consolidated set of tags for containers
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: Fri, 19 Mar 2021 00:28:07 -0000

--0000000000000e830c05bdd8caed
Content-Type: text/plain; charset="UTF-8"

I branched my consolidated map tags proposal to include tags for list-like
containers. This now lives on the "with-lists" branch on my GitHub repo.
With the addition of list-like containers, the proposal now contains tags
for representing containers like lists, sets and bags.

https://github.com/ecorm/cbor-map-like/blob/with-lists/README.md

Summary of changes:

* Added "Category" column for either "Dictionary" or "Collection"

* Added dictionaries with arbitrary keys and uniform values to make
decoding the traits less insane. This increases the total number of tags
from 20 to 24.

* Removed programming languages section in favor of abstract data types
that model each tag. Much less maintenance this way.

I await your comments, critiques, and questions.

--0000000000000e830c05bdd8caed
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I branched my consolidated map tags proposal to inclu=
de tags for list-like containers. This now lives on the &quot;with-lists&qu=
ot; branch on my GitHub repo. With the addition of list-like containers, th=
e proposal now contains tags for representing containers like lists, sets a=
nd bags.</div><div><br></div><div><a href=3D"https://github.com/ecorm/cbor-=
map-like/blob/with-lists/README.md">https://github.com/ecorm/cbor-map-like/=
blob/with-lists/README.md</a></div><div><br></div><div>Summary of changes:<=
/div><div><br></div><div>* Added &quot;Category&quot; column for either &qu=
ot;Dictionary&quot; or &quot;Collection&quot;</div><div><br></div><div>* Ad=
ded dictionaries with arbitrary keys and uniform values to make decoding th=
e traits less insane. This increases the total number of tags from 20 to 24=
.</div><div><br></div><div>* Removed programming languages section in favor=
 of abstract data types that model each tag. Much less maintenance this way=
.</div><div><br></div><div>I await your comments, critiques, and questions.=
<br></div></div>

--0000000000000e830c05bdd8caed--


From nobody Sat Mar 20 11:59:12 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 42B043A2883; Sat, 20 Mar 2021 11:59:10 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Gyan Mishra via Datatracker <noreply@ietf.org>
To: <gen-art@ietf.org>
Cc: cbor@ietf.org, draft-ietf-cbor-tags-oid.all@ietf.org, last-call@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <161626675022.26882.5439240460167296841@ietfa.amsl.com>
Reply-To: Gyan Mishra <hayabusagsm@gmail.com>
Date: Sat, 20 Mar 2021 11:59:10 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/bRf8s7XoLwcvpi38glyaE8pWCKM>
Subject: [Cbor] Genart last call review of draft-ietf-cbor-tags-oid-05
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Sat, 20 Mar 2021 18:59:10 -0000

Reviewer: Gyan Mishra
Review result: Ready

I am the assigned Gen-ART reviewer for this draft. The General Area
Review Team (Gen-ART) reviews all IETF documents being processed
by the IESG for the IETF Chair.  Please treat these comments just
like any other last call comments.

For more information, please see the FAQ at

<https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.

Document: draft-ietf-cbor-tags-oid-??
Reviewer: Gyan Mishra
Review Date: 2021-03-20
IETF LC End Date: 2021-03-24
IESG Telechat date: Not scheduled for a telechat

Summary:
Document is ready for publication 
Major issues:
None

Minor issues:
None
Nits/editorial comments:
None




From nobody Sat Mar 20 12:18:14 2021
Return-Path: <barryleiba@gmail.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 172843A28CC; Sat, 20 Mar 2021 12:18:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.398
X-Spam-Level: 
X-Spam-Status: No, score=-1.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 DguiaSO6E_AS; Sat, 20 Mar 2021 12:18:10 -0700 (PDT)
Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 5D8D73A28CA; Sat, 20 Mar 2021 12:18:07 -0700 (PDT)
Received: by mail-lf1-f49.google.com with SMTP id o10so15095426lfb.9; Sat, 20 Mar 2021 12:18:07 -0700 (PDT)
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=Vf/T5Gh5gE28Dau+M7hmh7XIfyaH4PQugDzWb5uvrUg=; b=AOAoaim9T+4KloJzODwP+0yil/drbf05vvczqEjI+nTxSJ0jH342Vmfs4IeWy3B7ub T24JajLvVz88xypKv3InHuR3ANsNIcMtmc6OeDpOfCA3m8WUpCLUAqkJQ7hBomzwirhG fDwBOXOWs1tkYTdb9tMK7uczxZLxJboEsTvMMOd9emMJqmiK+lVt54c3fGggU73ojPLJ 9+a9o5upvCU/jZNaBLoSwWfAtkMA0+VHaD8VFMnDDGtacqxHu8zCnMnzR3J2tcVx5hoa AeWMUOH50S+rPpCnYyIL349Y1y5IYcy6HLY4t4jJASnNI2HerSKHHmxaC2VMzQATWwrA PE3A==
X-Gm-Message-State: AOAM530tzNdLgqDCPMVwqAUfAzdbYxE5aqeXMl1xrjERSTjby0z1T1gM v0Q9msDJbHLJ8TVshljJGbM+05BIUWzgip0BqMc=
X-Google-Smtp-Source: ABdhPJz91SrKSLOU3p+dMGGEUHUyAPWNWXqD91ibXa5JaXxC0dW7/VNtwtu7+oUuhANtLFKXna2u+4LrcBbKGLyW7BE=
X-Received: by 2002:a19:2242:: with SMTP id i63mr4067469lfi.643.1616267885353;  Sat, 20 Mar 2021 12:18:05 -0700 (PDT)
MIME-Version: 1.0
References: <161626675022.26882.5439240460167296841@ietfa.amsl.com>
In-Reply-To: <161626675022.26882.5439240460167296841@ietfa.amsl.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Sat, 20 Mar 2021 15:17:54 -0400
Message-ID: <CALaySJJw5EuWRGWXpM6wcvE2MSw4dQULYZ2Ddh2aqX7_8c7D6Q@mail.gmail.com>
To: Gyan Mishra <hayabusagsm@gmail.com>
Cc: cbor@ietf.org, draft-ietf-cbor-tags-oid.all@ietf.org, gen-art@ietf.org,  last-call@ietf.org
Content-Type: multipart/alternative; boundary="0000000000002b1d5105bdfcb16c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/YBXrQkRuAv0ncq7SBuxe2R3Xzcc>
Subject: Re: [Cbor] Genart last call review of draft-ietf-cbor-tags-oid-05
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: Sat, 20 Mar 2021 19:18:12 -0000

--0000000000002b1d5105bdfcb16c
Content-Type: text/plain; charset="UTF-8"

Thanks for the review, Gyan.

Barry

On Sat, Mar 20, 2021 at 2:59 PM Gyan Mishra via Datatracker <
noreply@ietf.org> wrote:

> Reviewer: Gyan Mishra
> Review result: Ready
>
> I am the assigned Gen-ART reviewer for this draft. The General Area
> Review Team (Gen-ART) reviews all IETF documents being processed
> by the IESG for the IETF Chair.  Please treat these comments just
> like any other last call comments.
>
> For more information, please see the FAQ at
>
> <https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.
>
> Document: draft-ietf-cbor-tags-oid-??
> Reviewer: Gyan Mishra
> Review Date: 2021-03-20
> IETF LC End Date: 2021-03-24
> IESG Telechat date: Not scheduled for a telechat
>
> Summary:
> Document is ready for publication
> Major issues:
> None
>
> Minor issues:
> None
> Nits/editorial comments:
> None
>
>
>
>

--0000000000002b1d5105bdfcb16c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Thanks for the review, Gyan.</div><div dir=3D"auto"><br><=
/div><div dir=3D"auto">Barry</div><div><br><div class=3D"gmail_quote"><div =
dir=3D"ltr" class=3D"gmail_attr">On Sat, Mar 20, 2021 at 2:59 PM Gyan Mishr=
a via Datatracker &lt;<a href=3D"mailto:noreply@ietf.org">noreply@ietf.org<=
/a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Reviewer: Gyan Mishr=
a<br>
Review result: Ready<br>
<br>
I am the assigned Gen-ART reviewer for this draft. The General Area<br>
Review Team (Gen-ART) reviews all IETF documents being processed<br>
by the IESG for the IETF Chair.=C2=A0 Please treat these comments just<br>
like any other last call comments.<br>
<br>
For more information, please see the FAQ at<br>
<br>
&lt;<a href=3D"https://trac.ietf.org/trac/gen/wiki/GenArtfaq" rel=3D"norefe=
rrer" target=3D"_blank">https://trac.ietf.org/trac/gen/wiki/GenArtfaq</a>&g=
t;.<br>
<br>
Document: draft-ietf-cbor-tags-oid-??<br>
Reviewer: Gyan Mishra<br>
Review Date: 2021-03-20<br>
IETF LC End Date: 2021-03-24<br>
IESG Telechat date: Not scheduled for a telechat<br>
<br>
Summary:<br>
Document is ready for publication <br>
Major issues:<br>
None<br>
<br>
Minor issues:<br>
None<br>
Nits/editorial comments:<br>
None<br>
<br>
<br>
<br>
</blockquote></div></div>

--0000000000002b1d5105bdfcb16c--


From pierogitus@hotmail.com  Mon Mar 22 21:50:34 2021
Return-Path: <pierogitus@hotmail.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 9582F3A1D84 for <cbor@ietfa.amsl.com>; Mon, 22 Mar 2021 21:50:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.201
X-Spam-Level: 
X-Spam-Status: No, score=-0.201 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.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 bWaAjhD02gmz for <cbor@ietfa.amsl.com>; Mon, 22 Mar 2021 21:50:31 -0700 (PDT)
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12olkn2028.outbound.protection.outlook.com [40.92.23.28]) (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 732D13A1D83 for <cbor@ietf.org>; Mon, 22 Mar 2021 21:50:31 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dIj1H+9QnqtpEbU03DP1YwclhF4u1jopqab+R4qV9DY6qZ2+QDIelmjxe7g9wdlAYVNGdCBVEiBxmXVUBHXW5llNV7wVg6RlQpG+/AzINj32CwNYuV2KRwfkutWmgX8A3q9/YReYv1sJEpla+8X1B7YTz7lsM4ye/kQxJw/cs1m7GuomurmlxXQf6sj9WVn31o5xFUUx+u1nYrN3OQMU8/18KSO4b9dCJ7a0FfkTv6lLzNO8f3pwFSjhYcdbOZCkazt66GmkaoNPP+bmIsjjXCw985HyJ+oz7gcSCWosDsZYRgUDUc6R18SvYGRVzeYkruOrTYpaHDarhefoUUksEg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9pyzLkm2H8pKJXwjq4bbfo89BuLymsSYrhY/fJtwzXY=; b=YSLRc4Gu2KeuE6a9wKAbwOTvdS4D0Wde94vYkZ+RIdfFWIOpsIkzjpW/5QM6geVbHkZ31js+8RDJirTNGiQucxj80IhDnP2Nvn7CCXR7doPE7Lj2qF0NtfUXQWIJUN+9Cy3DSF9gmGqGVSvDtRDJMUZLIkynljqr2an2T9hIcrtkkfJFR1ldWpOCd+TOWXbJxhv8YaoezgiC1a5JFe6rfpk9CSIzi2FAhfqSBMnhn00fpi73rcXvzEbiPztMapXUkwVLMELn/ehNkQQ5gedmlHAO2OsH+Be64yk/N/rDK4NNp2BCVGduzcI3Ldm0fDzkQ+2uhpnoLfhvXL8+HKjMbw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9pyzLkm2H8pKJXwjq4bbfo89BuLymsSYrhY/fJtwzXY=; b=R2F4PqAAiAbmcbt+3vrSb9vo4eFRr6CXuqnt5jgrEt/S0vDRuJvl8wTfpjSms8+W+5uNwJOu6+yOWZl3Vbn8r5WmMUwSoavtariWL5S9Tixwd15MFknzt8ouz8tLjVaNTezEqkwsQu8opP/bBvyIgrS4VGDH9yb+Am2x35Z4KBoclVkWayoOMfeElAMPej9A971Wpp96WZjSFdGwNl0HNlGDmHpW/0rRj067/vwLRj0GppVerYwe2C3UKV0G1dAj9r/659ap8rDBkWn0tAjx21IDgXTPNfdXdj98iWIfe2zJdMvpArBVfkfQHz8nqRSOox9/zcIxUPg/qpCv1qkCzg==
Received: from BN8NAM12FT048.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc66::41) by BN8NAM12HT161.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc66::364) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.10; Tue, 23 Mar 2021 04:50:30 +0000
Received: from BY5PR20MB2898.namprd20.prod.outlook.com (2a01:111:e400:fc66::52) by BN8NAM12FT048.mail.protection.outlook.com (2a01:111:e400:fc66::214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.10 via Frontend Transport; Tue, 23 Mar 2021 04:50:30 +0000
Received: from BY5PR20MB2898.namprd20.prod.outlook.com ([fe80::a50b:3589:7a7b:2ac6]) by BY5PR20MB2898.namprd20.prod.outlook.com ([fe80::a50b:3589:7a7b:2ac6%3]) with mapi id 15.20.3955.027; Tue, 23 Mar 2021 04:50:30 +0000
From: alex thompson <pierogitus@hotmail.com>
To: "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: Self Described CBOR - Little Endian
Thread-Index: AQHXH54uhCB99VulTk2G1IpC8JxRGw==
Date: Tue, 23 Mar 2021 04:50:29 +0000
Message-ID: <BY5PR20MB2898CBA491A4C0AED983C81CD2649@BY5PR20MB2898.namprd20.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-incomingtopheadermarker: OriginalChecksum:9BA4A00646877EC3ED40502A27E014E07D1A2F5814B2799DA541C2509BA040D3; UpperCasedChecksum:DF17439C98454E556291A9013475034E3244D84EF5C38C897B165A5E9ECAF279; SizeAsReceived:6785; Count:41
x-tmn: [MBUHXh0L+HZun7H/4E15EZaQaVL48yepn4kFSk/EwNr6N43XpFvsoehI0Tx/N5fir/pTf53IQEw=]
x-ms-publictraffictype: Email
x-incomingheadercount: 41
x-eopattributedmessage: 0
x-ms-office365-filtering-correlation-id: 0ba6c6f0-4aba-4922-8f44-08d8edb72f44
x-ms-traffictypediagnostic: BN8NAM12HT161:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: TXU7WqOCTk+Qi0k0cKyWxw+ot0eqrp2G00zRWY90Dyef47Wxb5NS9+QVxiVirs+yUduA42SNilEhROOrU3SKBmpigfkG5zZJSAvdYUwfLWU3vUZVeWX0A8fse3YHo06UtgiDRI100eC0v/4zJ298/1vXcvxph74lYgnUK66ovPECRWHzFqq1T1ZwhuT/wM4Xe7n2Mhn6t1OJfup42+WaiavUC7kPXVCqWspJh6Rgj5TXWomy9/Ejf71NpMD71HCzmA60rF68Y2UiHh2L0O3Dc5uGwihKXLZ4YP6afvUl95KR9Z1tPewnLwGjpzyHly1lkveOjHm96Fw6TRD1lLlKbeB1hP6o6wTuCw//QC+bE12s5+fs7hMnrdoWlL+zZVOOqoZLWw8VSZQzksWrLY3y2Q==
x-ms-exchange-antispam-messagedata: ICd8ii7zwlxCUGBNd4iBZI2keMTr3AnncOcXzzzDdhPTT9XXlAeWBr2iZ/CJ0Hug7JwsPifxadpANlT0Q11oJJXkRCaE3oSmIOh7DMvlAzASriLvv/4YKzkfwPbc7ER2rHCoLNm9BaTmFmU6Y0SQ8lyFxwzrU6qZaxRL+8EiMvigIXKS9zGY21LrhgdL5KVFpZw/ctddelUIFzXRzfqnsg==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-AuthSource: BN8NAM12FT048.eop-nam12.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 0ba6c6f0-4aba-4922-8f44-08d8edb72f44
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2021 04:50:29.9576 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8NAM12HT161
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/rdmiLsrs9BKkSc5mOMnNC8wVN0Q>
X-Mailman-Approved-At: Wed, 24 Mar 2021 07:58:59 -0700
Subject: [Cbor] Self Described CBOR - Little Endian
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: Tue, 23 Mar 2021 04:52:28 -0000

4oCLR2l2ZW4gdGhlIHByZXZhbGVuY2Ugb2YgbGl0dGxlIGVuZGlhbiBoYXJkd2FyZSBhbmQgdGhl
IGV4aXN0ZW5jZSBvZiB0aGUgTEUgdHlwZWQgYXJyYXkgdGFncyBpdCB3b3VsZCBiZSB1c2VmdWwg
dG8gb3B0LWluIHRvIExFIGVuY29kaW5nIG9mIHRoZSBhZGRpdGlvbmFsIGluZm9ybWF0aW9uIGJ5
dGVzIGFzIHdlbGwuIFRoaXMgd291bGQgc2ltcGxpZnkgZGVjb2RlcnMgdGhhdCBhcmUgc3BlY2lm
aWMgdG8gTEUgcGxhdGZvcm1zLCBwYXJ0aWN1bGFybHkgV2ViQXNzZW1ibHkgd2hpY2ggaXMgYWxs
IExFIGFuZCBoYXNu4oCZdCBkZWZpbmVkIGEgc3dhcCBpbnN0cnVjdGlvbi4KClRoZSBvcHQtaW4g
Y291bGQgYmUgc2VsZiBkZXNjcmliZWQgd2l0aCB0YWcgNTU3OTggKGhhcyB0aGUgc2FtZSBub24t
dW5pY29kZSBtYWdpYyBudW1iZXIgY2hhcmFjdGVyaXN0aWMgYXMgNTU3OTkpLiBUaGUgYmVnaW5u
aW5nIG9mIGEgc3RyZWFtIHdvdWxkIGRlZmF1bHQgdG8gQkUgc28gdGFnIDU1Nzk4IGl0c2VsZiB3
b3VsZCBhcHBlYXIgYXMgMHhkOWQ5ZjYuIFRoZW4gYW55IGZvbGxvd2luZyB0YWdzIGFuZCBkZXNj
ZW5kYW50IGl0ZW1zIHdvdWxkIGJlIExFLgoKRm9yIGNvbXBsZXRlbmVzcywgNTU3OTggYW5kIDU1
Nzk5IGNvdWxkIGJlIG5lc3RlZCB3aXRoaW4gb25lIGFub3RoZXIsIHN3aXRjaGluZyB0aGUgZW5k
aWFubmVzcyBhcyB0aGUgZGVjb2RlciB0cmF2ZXJzZXMgYSB0cmVlIG9mIGl0ZW1zLiBOZXN0ZWQg
dGFncyAyNCBhbmQgNjMgd291bGQgcGFzcyBvbiB0aGVpciBlbmRpYW5uZXNzIHRvIHRoZWlyIGVt
YmVkZGVkIGl0ZW1zLiBObyBlZmZlY3Qgb24gdHlwZWQgYXJyYXkgdGFncyA2NC04Ny4KCkl0IHdv
dWxkIGJlIGEgYnJlYWtpbmcgY2hhbmdlIGZvciBnZW5lcmljIGRlY29kZXJzIHNpbmNlIGlnbm9y
aW5nIDU1Nzk4IHdvdWxkbuKAmXQgd29yayBhcyBleHBlY3RlZCBidXQgSSB0aGluayB0aGUgaW1w
YWN0IGlzIHZlcnkgbWFuYWdlYWJsZSBhbmQgZml0cyB3aXRoIENCT1LigJlzIHN0YXRlZCBnb2Fs
cyBvZiBzbWFsbCBjb2RlIHNpemUgYW5kIGV4dGVuc2liaWxpdHkuCgpBbGV4


From nobody Wed Mar 24 08:20:55 2021
Return-Path: <felipe@felipegasper.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 82BDE3A2EA1 for <cbor@ietfa.amsl.com>; Wed, 24 Mar 2021 08:20:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.417
X-Spam-Level: 
X-Spam-Status: No, score=0.417 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HAS_X_OUTGOING_SPAM_STAT=2.517, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=felipegasper.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 XuGWORdjmchj for <cbor@ietfa.amsl.com>; Wed, 24 Mar 2021 08:20:49 -0700 (PDT)
Received: from web1.siteocity.com (web1.siteocity.com [172.241.25.87]) (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 2C2423A2E99 for <cbor@ietf.org>; Wed, 24 Mar 2021 08:20:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=felipegasper.com; s=default; h=To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZSGTWvStdGUj41p9MlurAkUHRYQawmtaWxOrRCTsmjQ=; b=UYJJs/QkqgD18MB7iQ3IpxjFe ozsPxEU0ZzsGczm/XiAl8RxTPfKOJksgrXAf5rgb0cRZ1XSquQ6wtMiAMeJHFbrZ2gJV+esCPNHF+ DWToRWHMe/JlvX79fOaB4jIaS29KqkRHGl+KEcwKdVOxPxPI+WwU6rHmGE45kLq7X+XUdQLY2XwHz /IVYaebrItJ7+NJCdIr5GOLHJ2mSa33UCwugBfHVAOiO+RH8/RitvpDhOcR0uJ00KSxuv+SAD3PW3 VCNYTP+s5+eZcK6yBOeqE4OSTjbfmMJgNOK0jWjTTzZkJn/jqBwoEdb39BMFwCcGoex/Gie0D6j15 6Zi4SOd+Q==;
Received: from hou-4.nat.cptxoffice.net ([184.94.197.4]:62445 helo=[10.3.4.84]) by web1.siteocity.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from <felipe@felipegasper.com>) id 1lP5JP-0000GF-MH; Wed, 24 Mar 2021 10:20:48 -0500
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\))
From: Felipe Gasper <felipe@felipegasper.com>
In-Reply-To: <BY5PR20MB2898CBA491A4C0AED983C81CD2649@BY5PR20MB2898.namprd20.prod.outlook.com>
Date: Wed, 24 Mar 2021 11:21:36 -0400
Cc: "cbor@ietf.org" <cbor@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <113AF95E-4048-4093-AC07-44B9E1E3DB0B@felipegasper.com>
References: <BY5PR20MB2898CBA491A4C0AED983C81CD2649@BY5PR20MB2898.namprd20.prod.outlook.com>
To: alex thompson <pierogitus@hotmail.com>
X-Mailer: Apple Mail (2.3445.104.17)
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - web1.siteocity.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - felipegasper.com
X-Get-Message-Sender-Via: web1.siteocity.com: authenticated_id: fgasper/from_h
X-Authenticated-Sender: web1.siteocity.com: felipe@felipegasper.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/1HQk0YGzjHRwIG-kcP2NL_nbJtw>
Subject: Re: [Cbor] Self Described CBOR - Little Endian
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, 24 Mar 2021 15:20:54 -0000

> On Mar 23, 2021, at 12:50 AM, alex thompson <pierogitus@hotmail.com> =
wrote:
>=20
> =E2=80=8BGiven the prevalence of little endian hardware and the =
existence of the LE typed array tags it would be useful to opt-in to LE =
encoding of the additional information bytes as well. This would =
simplify decoders that are specific to LE platforms, particularly =
WebAssembly which is all LE and hasn=E2=80=99t defined a swap =
instruction.
>=20
> The opt-in could be self described with tag 55798 (has the same =
non-unicode magic number characteristic as 55799). The beginning of a =
stream would default to BE so tag 55798 itself would appear as 0xd9d9f6. =
Then any following tags and descendant items would be LE.
>=20
> For completeness, 55798 and 55799 could be nested within one another, =
switching the endianness as the decoder traverses a tree of items. =
Nested tags 24 and 63 would pass on their endianness to their embedded =
items. No effect on typed array tags 64-87.
>=20
> It would be a breaking change for generic decoders since ignoring =
55798 wouldn=E2=80=99t work as expected but I think the impact is very =
manageable and fits with CBOR=E2=80=99s stated goals of small code size =
and extensibility.

I, too, have lamented the use of big-endian byte order in CBOR, FWIW. I =
*think* my Perl generic decoder works on big-endian machines, but I =
don=E2=80=99t think I have access to any big-endian machines to actually =
_test_ it.

-F


From nobody Wed Mar 24 13:06:47 2021
Return-Path: <hildjj@cursive.net>
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 7FAB93A34E9 for <cbor@ietfa.amsl.com>; Wed, 24 Mar 2021 13:06:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.697
X-Spam-Level: 
X-Spam-Status: No, score=-1.697 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=cursive.net
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 P7dMXfPcrh5R for <cbor@ietfa.amsl.com>; Wed, 24 Mar 2021 13:06:40 -0700 (PDT)
Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (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 C8AFE3A34F7 for <cbor@ietf.org>; Wed, 24 Mar 2021 13:06:40 -0700 (PDT)
Received: by mail-il1-x133.google.com with SMTP id j11so118418ilu.13 for <cbor@ietf.org>; Wed, 24 Mar 2021 13:06:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cursive.net; s=google;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=5ayziJhj6jrb9RvgzyvvGnKXiq4nO/ibhblmSrFjMZE=; b=EWQ7VT345Grx/2fjSipaI4xuNh96CtmN4li11wRoKNvs1e8h6Gh18glbppUYHn/RQC +945vmue0rRTHgQ3KqiWN2wHdnM/iIwGMoy68f06XDxJC5dC9rcKYOuuir8NW+n16G10 A1xX+2OKVuetfksYbNUEKYKQGRvvHhJjCtdPc=
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=5ayziJhj6jrb9RvgzyvvGnKXiq4nO/ibhblmSrFjMZE=; b=P+L4o/ypdji1C1ZLtaRGCVNT3M1yNA+O0yKwMahyVhPLD55T3hrw4+K0oHYYVOCPUZ QxTvhdWf8ot0gFffwW0GpC+m9+q4Gt2pdEIn+Cew/hwwdaBbCaswVgzmfYfPn4gL0jdH pGGZLL1KaL3+8eYat9ma46wrf/csn7O5wW1JcWfZsqWpTsGM/BfqX2+NUARWSusStCv+ v791R18I+yG+RJW/hzjA008mcT5D51qE1grHWvTKi/+a5I/5v3dLVq/AkT4MGzjH7KwT k3piHKfZQWFjplWwDTb7rFwV+HRdyciP0DDuSu7w/3E/wF1x5/ZS7o8QofKsNEF/jRCZ l45A==
X-Gm-Message-State: AOAM5300/BMN3zTOJqMEdJRYcenX5nFdbjL3ojVee4H0v4CGFBD3L5Pc zhWN2HRqMgl5jK4TO+8zEOsNvg==
X-Google-Smtp-Source: ABdhPJxTRyNttsb0IrYciyulDG4nL1ZqInsyxrfFd50z/4IHr5L3vH+ogSAVwI+IM9xbWm4PoPjYqQ==
X-Received: by 2002:a92:ddd0:: with SMTP id d16mr4081101ilr.52.1616616399841;  Wed, 24 Mar 2021 13:06:39 -0700 (PDT)
Received: from ?IPv6:2601:282:200:11c0:b1f4:81d1:7d97:eaa9? ([2601:282:200:11c0:b1f4:81d1:7d97:eaa9]) by smtp.gmail.com with ESMTPSA id d22sm1485191iof.48.2021.03.24.13.06.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Mar 2021 13:06:39 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Joe Hildebrand <hildjj@cursive.net>
In-Reply-To: <BY5PR20MB2898CBA491A4C0AED983C81CD2649@BY5PR20MB2898.namprd20.prod.outlook.com>
Date: Wed, 24 Mar 2021 14:06:38 -0600
Cc: "cbor@ietf.org" <cbor@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <31C92F28-636E-429D-9265-3248509B60F7@cursive.net>
References: <BY5PR20MB2898CBA491A4C0AED983C81CD2649@BY5PR20MB2898.namprd20.prod.outlook.com>
To: alex thompson <pierogitus@hotmail.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/hLG22Fau6e9w_G4rRs_JWN3R2Cc>
Subject: Re: [Cbor] Self Described CBOR - Little Endian
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, 24 Mar 2021 20:06:46 -0000

Coincidentally, I just got a very small generic WASM decoder working:

https://github.com/hildjj/cbor-wasm

Inspired by https://github.com/quartzjer/cb0r/, but works synchronously =
in streaming mode, like expat.

=E2=80=94=20
Joe Hildebrand

> On Mar 22, 2021, at 10:50 PM, alex thompson <pierogitus@hotmail.com> =
wrote:
>=20
> =E2=80=8BGiven the prevalence of little endian hardware and the =
existence of the LE typed array tags it would be useful to opt-in to LE =
encoding of the additional information bytes as well. This would =
simplify decoders that are specific to LE platforms, particularly =
WebAssembly which is all LE and hasn=E2=80=99t defined a swap =
instruction.
>=20
> The opt-in could be self described with tag 55798 (has the same =
non-unicode magic number characteristic as 55799). The beginning of a =
stream would default to BE so tag 55798 itself would appear as 0xd9d9f6. =
Then any following tags and descendant items would be LE.
>=20
> For completeness, 55798 and 55799 could be nested within one another, =
switching the endianness as the decoder traverses a tree of items. =
Nested tags 24 and 63 would pass on their endianness to their embedded =
items. No effect on typed array tags 64-87.
>=20
> It would be a breaking change for generic decoders since ignoring =
55798 wouldn=E2=80=99t work as expected but I think the impact is very =
manageable and fits with CBOR=E2=80=99s stated goals of small code size =
and extensibility.
>=20
> Alex
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor


From nobody Wed Mar 24 13:10:05 2021
Return-Path: <hildjj@cursive.net>
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 C2DED3A3511 for <cbor@ietfa.amsl.com>; Wed, 24 Mar 2021 13:10:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.697
X-Spam-Level: 
X-Spam-Status: No, score=-1.697 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=cursive.net
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 RopPvwFdWdph for <cbor@ietfa.amsl.com>; Wed, 24 Mar 2021 13:09:59 -0700 (PDT)
Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 287933A350F for <cbor@ietf.org>; Wed, 24 Mar 2021 13:09:59 -0700 (PDT)
Received: by mail-io1-xd33.google.com with SMTP id n198so22871098iod.0 for <cbor@ietf.org>; Wed, 24 Mar 2021 13:09:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cursive.net; s=google;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=GfaM77YbCH9mUJFAMLlGnzMWsoggC+K2sU9Oe1g6IRY=; b=bg7zbQGChNoFwNlPPfz9HyTze3Djx91PU1Q8UDVBY+u/aeWkuW2CpI5zHaT041E4g8 X4tFZBUWnHUbjHFCstudB/iDoum7AX81cqrNzcwdu1BVl0UiaAbYPsXcv+8cyPjiGnfH bYvm1VHqn+e76E+4DcoTDKfgDZfWG8mSGZHTw=
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=GfaM77YbCH9mUJFAMLlGnzMWsoggC+K2sU9Oe1g6IRY=; b=iMRkleWg2qXg5sFnz+lpy0j3WlQ5YMRTRY1mIiaDxujD+8UhAQ+D4Zrz/UXjEsFBPC 49A2z2ajeLScEtJhLSDWccEd6MeRZBGV7asTpAEUMKkYdJpt2mmk4Xu7C5sDwvRSjwI+ LuWcRtDB9HsTJWrpByXG31ymyU3409bBOWzS+Q5hHxBNRsHRnE7sTAJyMfKx3qfhWASq xJyNLUU5VJWRWZ5AX+ENHV1jIGy8hxP+/3YYHVJNApMGK/W7jpKDsGSChry7ftDJHaHj HbIUfRBOoLJIWnSatsYoNIpctMiKoWlO5A3Kry6RJYWhB2HxvgTKYkU4QYkRmBKCuimN jxug==
X-Gm-Message-State: AOAM532rHS8L1hhT9/Rztm+OF367QdrIsyhIKOWXJWfAgUEt7NmL/uLa BdIq4iYhwobq8kIOm1zJnS5eNA==
X-Google-Smtp-Source: ABdhPJwwFBIgdPj8EV0CNdgUALiGqgNuJNINmDXwEa5BDHZf10aw34Qa3wLf7oKo0ktY5JI74ImDUg==
X-Received: by 2002:a05:6638:218f:: with SMTP id s15mr4516470jaj.58.1616616597076;  Wed, 24 Mar 2021 13:09:57 -0700 (PDT)
Received: from ?IPv6:2601:282:200:11c0:b1f4:81d1:7d97:eaa9? ([2601:282:200:11c0:b1f4:81d1:7d97:eaa9]) by smtp.gmail.com with ESMTPSA id g16sm1565505iln.29.2021.03.24.13.09.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Mar 2021 13:09:56 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Joe Hildebrand <hildjj@cursive.net>
In-Reply-To: <113AF95E-4048-4093-AC07-44B9E1E3DB0B@felipegasper.com>
Date: Wed, 24 Mar 2021 14:09:55 -0600
Cc: alex thompson <pierogitus@hotmail.com>, "cbor@ietf.org" <cbor@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <ED83658C-0602-4845-AD5B-9850F803BDD7@cursive.net>
References: <BY5PR20MB2898CBA491A4C0AED983C81CD2649@BY5PR20MB2898.namprd20.prod.outlook.com> <113AF95E-4048-4093-AC07-44B9E1E3DB0B@felipegasper.com>
To: Felipe Gasper <felipe@felipegasper.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/jXKkPaQm_W8DvsGmRrh6ZXlyMGk>
Subject: Re: [Cbor] Self Described CBOR - Little Endian
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, 24 Mar 2021 20:10:04 -0000

The `s390x/node` docker image emulates big endian (slowly), and includes =
Perl 5.24.1

I test with "docker run --rm -it -v ${PWD}:/root/cbor -w /root/cbor =
s390x/node npm test"

=E2=80=94=20
Joe Hildebrand

> On Mar 24, 2021, at 9:21 AM, Felipe Gasper <felipe@felipegasper.com> =
wrote:
>=20
>=20
>=20
>> On Mar 23, 2021, at 12:50 AM, alex thompson <pierogitus@hotmail.com> =
wrote:
>>=20
>> =E2=80=8BGiven the prevalence of little endian hardware and the =
existence of the LE typed array tags it would be useful to opt-in to LE =
encoding of the additional information bytes as well. This would =
simplify decoders that are specific to LE platforms, particularly =
WebAssembly which is all LE and hasn=E2=80=99t defined a swap =
instruction.
>>=20
>> The opt-in could be self described with tag 55798 (has the same =
non-unicode magic number characteristic as 55799). The beginning of a =
stream would default to BE so tag 55798 itself would appear as 0xd9d9f6. =
Then any following tags and descendant items would be LE.
>>=20
>> For completeness, 55798 and 55799 could be nested within one another, =
switching the endianness as the decoder traverses a tree of items. =
Nested tags 24 and 63 would pass on their endianness to their embedded =
items. No effect on typed array tags 64-87.
>>=20
>> It would be a breaking change for generic decoders since ignoring =
55798 wouldn=E2=80=99t work as expected but I think the impact is very =
manageable and fits with CBOR=E2=80=99s stated goals of small code size =
and extensibility.
>=20
> I, too, have lamented the use of big-endian byte order in CBOR, FWIW. =
I *think* my Perl generic decoder works on big-endian machines, but I =
don=E2=80=99t think I have access to any big-endian machines to actually =
_test_ it.
>=20
> -F
>=20
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor


From nobody Wed Mar 24 13:27:11 2021
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 9EAC93A3578 for <cbor@ietfa.amsl.com>; Wed, 24 Mar 2021 13:27:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 UFn8Cyd9Vy2j for <cbor@ietfa.amsl.com>; Wed, 24 Mar 2021 13:27:05 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F68A3A3575 for <cbor@ietf.org>; Wed, 24 Mar 2021 13:27:05 -0700 (PDT)
Received: from [192.168.217.118] (p548dc178.dip0.t-ipconnect.de [84.141.193.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4F5KXQ45ZVzyXX; Wed, 24 Mar 2021 21:27:02 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <ED83658C-0602-4845-AD5B-9850F803BDD7@cursive.net>
Date: Wed, 24 Mar 2021 21:27:01 +0100
Cc: "cbor@ietf.org" <cbor@ietf.org>
X-Mao-Original-Outgoing-Id: 638310421.904785-8e9eb1af8b978f138e8d79f64733cbf9
Content-Transfer-Encoding: quoted-printable
Message-Id: <5513CABE-CDD5-411B-9FA9-8E1D631BB173@tzi.org>
References: <BY5PR20MB2898CBA491A4C0AED983C81CD2649@BY5PR20MB2898.namprd20.prod.outlook.com> <113AF95E-4048-4093-AC07-44B9E1E3DB0B@felipegasper.com> <ED83658C-0602-4845-AD5B-9850F803BDD7@cursive.net>
To: Joe Hildebrand <hildjj@cursive.net>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/u2g0WHxjVdvJGOzQAV-ZU72XGvc>
Subject: Re: [Cbor] Self Described CBOR - Little Endian
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, 24 Mar 2021 20:27:10 -0000

On 2021-03-24, at 21:09, Joe Hildebrand <hildjj@cursive.net> wrote:
>=20
> The `s390x/node` docker image emulates big endian (slowly), and =
includes Perl 5.24.1
>=20
> I test with "docker run --rm -it -v ${PWD}:/root/cbor -w /root/cbor =
s390x/node npm test=E2=80=9D

I used to have an iBook (PowerPC CPU, run as big-endian) set up as a CI =
system=E2=80=A6

But to answer the original question, CBOR is big-endian because IETF =
protocols generally are.  Creating a little-endian fork of CBOR =
wouldn=E2=80=99t really help that much.  (Turns out my =
(endian-independent) code is usually shorter for big-endian transfer =
than it is for little-endian =E2=80=94 remember that you'll have to =
byte-shift the numbers anyway to maintain alignment on the decoded side, =
so it=E2=80=99s not that much more effort to arrange them.)  And it =
would hurt a lot; even with a magic number in front of it (see [1] for =
our current view of how magic numbers for CBOR-based file encodings =
should look like).

Gr=C3=BC=C3=9Fe, Carsten

[1]: https://www.ietf.org/archive/id/draft-ietf-cbor-file-magic-00.html


From nobody Thu Mar 25 08:52:02 2021
Return-Path: <thiago.macieira@intel.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 BEABF3A260B for <cbor@ietfa.amsl.com>; Thu, 25 Mar 2021 08:52:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.654
X-Spam-Level: 
X-Spam-Status: No, score=-2.654 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, 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 7a8kHxn_62uJ for <cbor@ietfa.amsl.com>; Thu, 25 Mar 2021 08:51:56 -0700 (PDT)
Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 74B3C3A2607 for <cbor@ietf.org>; Thu, 25 Mar 2021 08:51:56 -0700 (PDT)
IronPort-SDR: GMI1ELGpv6bnSguMFwTyXGAmI6Yod2wnKfsLF9V8zyAH+wd0PYb75uataLbQ1mR0nG2kdnSUtc x69AHqD8Wh7g==
X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="276081684"
X-IronPort-AV: E=Sophos;i="5.81,277,1610438400"; d="scan'208";a="276081684"
Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2021 08:51:55 -0700
IronPort-SDR: EfbFOpx0s5+NwkHtShMY40OCL/cn7elh3dEj7UxE/6LfOW6Yq0sGr5FZ7nmmAUS3NP6g9c2Hzf GRHjCpIiSNuw==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.81,277,1610438400"; d="scan'208";a="382259155"
Received: from irsmsx605.ger.corp.intel.com ([163.33.146.138]) by fmsmga007.fm.intel.com with ESMTP; 25 Mar 2021 08:51:55 -0700
Received: from tjmaciei-mobl1.localnet (10.251.10.23) by IRSMSX605.ger.corp.intel.com (163.33.146.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 25 Mar 2021 15:51:53 +0000
From: Thiago Macieira <thiago.macieira@intel.com>
To: <cbor@ietf.org>
Date: Wed, 24 Mar 2021 22:38:21 -0700
Message-ID: <2139632.RHzpeVkrSA@tjmaciei-mobl1>
Organization: Intel Corporation
In-Reply-To: <5513CABE-CDD5-411B-9FA9-8E1D631BB173@tzi.org>
References: <BY5PR20MB2898CBA491A4C0AED983C81CD2649@BY5PR20MB2898.namprd20.prod.outlook.com> <ED83658C-0602-4845-AD5B-9850F803BDD7@cursive.net> <5513CABE-CDD5-411B-9FA9-8E1D631BB173@tzi.org>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
X-Originating-IP: [10.251.10.23]
X-ClientProxiedBy: orsmsx603.amr.corp.intel.com (10.22.229.16) To IRSMSX605.ger.corp.intel.com (163.33.146.138)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/XGmF_7YXHMa-Ol10I2sn800BEzA>
Subject: Re: [Cbor] Self Described CBOR - Little Endian
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, 25 Mar 2021 15:52:01 -0000

On Wednesday, 24 March 2021 13:27:01 PDT Carsten Bormann wrote:
> But to answer the original question, CBOR is big-endian because IETF
> protocols generally are.  Creating a little-endian fork of CBOR wouldn=E2=
=80=99t
> really help that much.  (Turns out my (endian-independent) code is usually
> shorter for big-endian transfer than it is for little-endian =E2=80=94 re=
member
> that you'll have to byte-shift the numbers anyway to maintain alignment on
> the decoded side, so it=E2=80=99s not that much more effort to arrange th=
em.)  And
> it would hurt a lot; even with a magic number in front of it (see [1] for
> our current view of how magic numbers for CBOR-based file encodings should
> look like).

On the dual side, my encoder would have been shorter on little-endian.

Current:
https://github.com/intel/tinycbor/blob/master/src/cborencoder.c#L279-L306

This code writes the 64-bit incoming value and then tries to find the posit=
ion=20
and size of the relevant data.

In little-endian, you don't need to find the position, since it's fixed. Yo=
u=20
just need to calculate the size.

    uint64_t buf[2];
    uint8_t *bufstart =3D (uint8_t *)buf[1];
    unsigned len =3D 1;

    buf[1] =3D ui;
    if (ui >=3D Value8Bit) {
        uint8_t more =3D 0;
        if (ui > 0xffU)
            ++more;
        if (ui > 0xffffU)
            ++more;
        if (ui > 0xffffffffU)
            ++more;
        len =3D 1U + (1U << more);
       --bufstart;
        *bufstart =3D Value8Bit + more;
    }
    *bufstart +=3D shiftedMajorType;
    return append_to_buffer(encoder, bufstart, len)

=2D-=20
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering




From nobody Thu Mar 25 10:49:01 2021
Return-Path: <lgl@island-resort.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 C60073A284C for <cbor@ietfa.amsl.com>; Thu, 25 Mar 2021 10:49:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, 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 JZoC_-UikcII for <cbor@ietfa.amsl.com>; Thu, 25 Mar 2021 10:48:56 -0700 (PDT)
Received: from p3plsmtpa12-07.prod.phx3.secureserver.net (p3plsmtpa12-07.prod.phx3.secureserver.net [68.178.252.236]) (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 59AF03A26F6 for <cbor@ietf.org>; Thu, 25 Mar 2021 10:48:56 -0700 (PDT)
Received: from [192.168.1.81] ([76.167.193.86]) by :SMTPAUTH: with ESMTPA id PU6HlWBjm83tOPU6IlrLDq; Thu, 25 Mar 2021 10:48:54 -0700
X-CMAE-Analysis: v=2.4 cv=ONniYQWB c=1 sm=1 tr=0 ts=605ccd06 a=t2DvPg6iSvRzsOFYbaV4uQ==:117 a=t2DvPg6iSvRzsOFYbaV4uQ==:17 a=IkcTkHD0fZMA:10 a=iClJuljEAAAA:8 a=b4mWfyFAAAAA:20 a=Bk4A-_hnAAAA:20 a=69EAbJreAAAA:8 a=48vgC7mUAAAA:8 a=DHG8ZiEi9wa6onjxP0EA:9 a=QEXdDO2ut3YA:10 a=xTxTf6f5l9QqXJC2ITn9:22 a=w1C3t2QeGrPiZgrLijVG:22 a=RBBcRewTFc8P4JkPnay6:22
X-SECURESERVER-ACCT: lgl@island-resort.com
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\))
From: Laurence Lundblade <lgl@island-resort.com>
In-Reply-To: <31C92F28-636E-429D-9265-3248509B60F7@cursive.net>
Date: Thu, 25 Mar 2021 10:48:53 -0700
Cc: alex thompson <pierogitus@hotmail.com>, "cbor@ietf.org" <cbor@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <6CEDEB7C-56C3-444F-B56B-8AE62747E2EA@island-resort.com>
References: <BY5PR20MB2898CBA491A4C0AED983C81CD2649@BY5PR20MB2898.namprd20.prod.outlook.com> <31C92F28-636E-429D-9265-3248509B60F7@cursive.net>
To: Joe Hildebrand <hildjj@cursive.net>
X-Mailer: Apple Mail (2.3445.104.17)
X-CMAE-Envelope: MS4xfK1oDuoXmKYosWbmlpgpy5UWH4Ow7vocRYEhM16PWBr6HzFKsntxWafQBCo0FzaYz2uJXTXDBjJyphzWwnjhl2citVYfJ6dfaMmyIVnadeV2XErLlDqr 4+IrIrPnlKa79Lz9s/tgQUNlYpMTp6J7salQZdfDvOvBxj4I+X8DOIEc7WGe39vsrQISXFMoFwZvZCMke5RvM6ygdC4T85htpHIzGmU4qmDK5xY3gZiBUF2C Slac5QyTomhIVZQmzmzyzg==
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/8VrwA6Y2wfFcaVfG2wxkJ8vdCDs>
Subject: Re: [Cbor] Self Described CBOR - Little Endian
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, 25 Mar 2021 17:49:01 -0000

For native implementation, the amount of extra object code for endian =
conversion seems pretty small. My guess is 100 or 200 bytes. My encoding =
function that does endian conversion, and preferred encoding and deals =
with alignment is 150 bytes of object code. When you start encoding and =
decoding complicated structures like nested maps with optional items and =
you add in duplicate label detection, the percentage of the overall =
implementation saved is small.

It might have been better for CBOR to choose little endian because most =
CPUs are, but at this point any unnecessary divergence would create =
interoperability issues.

LL

> On Mar 24, 2021, at 1:06 PM, Joe Hildebrand <hildjj@cursive.net> =
wrote:
>=20
> Coincidentally, I just got a very small generic WASM decoder working:
>=20
> https://github.com/hildjj/cbor-wasm
>=20
> Inspired by https://github.com/quartzjer/cb0r/, but works =
synchronously in streaming mode, like expat.
>=20
> =E2=80=94=20
> Joe Hildebrand
>=20
>> On Mar 22, 2021, at 10:50 PM, alex thompson <pierogitus@hotmail.com> =
wrote:
>>=20
>> =E2=80=8BGiven the prevalence of little endian hardware and the =
existence of the LE typed array tags it would be useful to opt-in to LE =
encoding of the additional information bytes as well. This would =
simplify decoders that are specific to LE platforms, particularly =
WebAssembly which is all LE and hasn=E2=80=99t defined a swap =
instruction.
>>=20
>> The opt-in could be self described with tag 55798 (has the same =
non-unicode magic number characteristic as 55799). The beginning of a =
stream would default to BE so tag 55798 itself would appear as 0xd9d9f6. =
Then any following tags and descendant items would be LE.
>>=20
>> For completeness, 55798 and 55799 could be nested within one another, =
switching the endianness as the decoder traverses a tree of items. =
Nested tags 24 and 63 would pass on their endianness to their embedded =
items. No effect on typed array tags 64-87.
>>=20
>> It would be a breaking change for generic decoders since ignoring =
55798 wouldn=E2=80=99t work as expected but I think the impact is very =
manageable and fits with CBOR=E2=80=99s stated goals of small code size =
and extensibility.
>>=20
>> Alex
>> _______________________________________________
>> CBOR mailing list
>> CBOR@ietf.org
>> https://www.ietf.org/mailman/listinfo/cbor
>=20
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor


From nobody Thu Mar 25 17:06:58 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id E161A3A10D6; Thu, 25 Mar 2021 17:06:52 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <161671721287.32724.17231183596523012671@ietfa.amsl.com>
Date: Thu, 25 Mar 2021 17:06:52 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/CW2NSOZerOjJu9jNxJfMiL193MQ>
Subject: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-03.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 26 Mar 2021 00:06:53 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : CBOR tags for IPv4 and IPv6 addresses and prefixes
        Author          : Michael Richardson
	Filename        : draft-ietf-cbor-network-addresses-03.txt
	Pages           : 6
	Date            : 2021-03-25

Abstract:
   This document describes two CBOR Tags to be used with IPv4 and IPv6
   addresses and prefixes.

   RFC-EDITOR-please remove: This work is tracked at
   https://github.com/mcr/cbor-network-address.git


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-network-addresses-03.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-network-addresses-03


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Thu Mar 25 17:15:51 2021
Return-Path: <mcr+ietf@sandelman.ca>
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 695993A1121 for <cbor@ietfa.amsl.com>; Thu, 25 Mar 2021 17:15:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 f9TTcUVWfNbg for <cbor@ietfa.amsl.com>; Thu, 25 Mar 2021 17:15:45 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 56E733A111E for <cbor@ietf.org>; Thu, 25 Mar 2021 17:15:45 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 92687389EF for <cbor@ietf.org>; Thu, 25 Mar 2021 20:21:45 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VWMCY1t_acS2 for <cbor@ietf.org>; Thu, 25 Mar 2021 20:21:44 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 7A061389EA for <cbor@ietf.org>; Thu, 25 Mar 2021 20:21:44 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 7AD23C65 for <cbor@ietf.org>; Thu, 25 Mar 2021 20:15:42 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: cbor@ietf.org
In-Reply-To: <161671721287.32724.17231183596523012671@ietfa.amsl.com>
References: <161671721287.32724.17231183596523012671@ietfa.amsl.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Thu, 25 Mar 2021 20:15:42 -0400
Message-ID: <29354.1616717742@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/k7vFEPcp97qg-M7j18n0zSBrwmM>
Subject: Re: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-03.txt
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: Fri, 26 Mar 2021 00:15:49 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


internet-drafts@ietf.org wrote:
    > A New Internet-Draft is available from the on-line Internet-Drafts di=
rectories.
    > This draft is a work item of the Concise Binary Object Representation=
 Maintenance and Extensions WG of the IETF.

    > Title           : CBOR tags for IPv4 and IPv6 addresses and prefixes
    > Author          : Michael Richardson
    > Filename        : draft-ietf-cbor-network-addresses-03.txt
    > Pages           : 6
    > Date            : 2021-03-25

    > Abstract:
    > This document describes two CBOR Tags to be used with IPv4 and IPv6
    > addresses and prefixes.

    > RFC-EDITOR-please remove: This work is tracked at
    > https://github.com/mcr/cbor-network-address.git

    > A diff from the previous version is available at:
    > https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-cbor-network-addresses=
-03

This update includes "early", Designated Expert/FCFS allocation for the TBD1
and TBD2.   Perhaps a SecDir review and WGLC.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmBdJ64ACgkQgItw+93Q
3WU1Zwf+Ph/yj8C7nVDNfK9PaixXdHWbLRmSM5DA5KXjYD3sNeX1WcS+ceyLfWOt
6YQykdPXWkoagTx5oHjHGWGZM9HvWODVU1ZFegNJo5h9nQVaSYc3ZAvDJ0QUC8io
fFRvy8UQowv71SlqcbeubeqaES7amC25dTrVbh9lEGzZF+/SSpNSoGEzPzfu0hpJ
kr/sqlRprg2XwQNtiCscEhVQktzYrEHOvZvdYgQfFHOad43FAgHz/pX2kq81SrR3
du0/0p4O855OBgjPJBWv+ZNnNpCZheTWEkkb0yUuC21eHOP/3pEKatOj1zcPzEGA
C8hbZU/gX3PclPvIdU4I/QWKrEJ+hw==
=y/IM
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Mar 30 01:46:09 2021
Return-Path: <francesca.palombini@ericsson.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 E34F63A2BC5; Tue, 30 Mar 2021 01:46:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-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=ericsson.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 mu9hXT33wW3V; Tue, 30 Mar 2021 01:46:01 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20083.outbound.protection.outlook.com [40.107.2.83]) (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 6AE3D3A2BC1; Tue, 30 Mar 2021 01:46:00 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iqmTOU+pVyEIK4JaCGftdo92z7lYFdR2ysPrj4Sxh+cLprvwAk/jyvDLJazh7mwOSGcTCB4PWQCuVTOzmfmxUDsz8lPwNdX+OpGBGTakZ2V5gCgjZIUlMpXf7j0PTJFxye71DVLQe8D8maQ/F0IVI41BthhWvmjlVURt7AhQ4pstbUX1gja0NjRAFN760r4K1zVECFGDSLcJEAOpJ7sSkmNmvArE1nA3Hz4K6v3XrQc4xDenAa5bMhOKQ3k6WlcYd7kclDLhRul1hAOiuWmwQ291ILS26/mP6j3dxMLW6cqymDrYWX8bezd12Ed3QpElyNrpCXw2R1KGDgx4cs3wIQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ibmrpCca7WBMdCmuttEjmI34iJyMOGfmvk01uf5KxyA=; b=ewAGrURRnxRmd5S5mSsAxrcQQMeVsKJYb834r3rAupS7gs1cnKfalirCAzdJ99acWLCPMj1+2Xiq4o+Oj3WMngQWp6+SIfGT1UNhQ2ZCF3HZbYUQWEIlOZ7Z1NsSgHl9hGHYGzsYMOULtuEF6kocmF6TeAr2tY95CgchufFDmPkB+YVvYlo16nIYiMrvwymeGC4CV7YzEjx28AKi1Ijs2y19DRn/97ZT4deId5fXaTd1Pk5Bf7djToEI3O2uwheoorkDeQFZL/VxeI3dUTyTAD9p3YsShDq1qdcDNj+ZyfG3vDm1jZ3/wxgmZ90Rbc7ZFyusNYwPAZvllaBu2DnKlw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ibmrpCca7WBMdCmuttEjmI34iJyMOGfmvk01uf5KxyA=; b=WPhl5DS5C0rzvfZlzA4UtjOX4RWpJPPkPm6yX8o++YMKOWLL7c0VYvOJeW1SHtm48qj2i26KOa269pXjiphTqP6wYvZgNRch3NhtibCZGPB3C2UEZZLAdfHBIVQpBGwLUVFO7U2S80IeYCs0j4asss0TcE4N7454c81b83TkJmg=
Received: from HE1PR07MB4217.eurprd07.prod.outlook.com (2603:10a6:7:96::33) by HE1PR0702MB3706.eurprd07.prod.outlook.com (2603:10a6:7:8d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.25; Tue, 30 Mar 2021 08:45:55 +0000
Received: from HE1PR07MB4217.eurprd07.prod.outlook.com ([fe80::e922:5ae8:48bb:b796]) by HE1PR07MB4217.eurprd07.prod.outlook.com ([fe80::e922:5ae8:48bb:b796%3]) with mapi id 15.20.3999.019; Tue, 30 Mar 2021 08:45:55 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: Carsten Bormann <cabo@tzi.org>, Russ Housley <housley@vigilsec.com>
CC: =?utf-8?B?Q2hyaXN0aWFuIEFtc8O8c3M=?= <christian@amsuess.com>, Last Call <last-call@ietf.org>, "draft-ietf-cbor-tags-oid@ietf.org" <draft-ietf-cbor-tags-oid@ietf.org>, "barryleiba@gmail.com" <barryleiba@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: [Last-Call] Last Call: <draft-ietf-cbor-tags-oid-05.txt> (Concise Binary Object Representation (CBOR) Tags for Object Identifiers) to Proposed Standard
Thread-Index: AQHXEFBUW/b5b0QYpUy5r+4egnY2JapzlQMAgCjuEwA=
Date: Tue, 30 Mar 2021 08:45:55 +0000
Message-ID: <84A6EB39-38B6-4CE1-B077-F014AD0C7C14@ericsson.com>
References: <161478804980.26099.10355192606526568978@ietfa.amsl.com> <C0ABE813-36C8-4D0F-8540-42FCA7584C3E@vigilsec.com> <E7DB52CC-8565-4AFC-AB16-6EFA299B9520@tzi.org>
In-Reply-To: <E7DB52CC-8565-4AFC-AB16-6EFA299B9520@tzi.org>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/16.47.21031401
authentication-results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [62.63.203.117]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 20394160-a572-4bc7-e4c4-08d8f3583b9d
x-ms-traffictypediagnostic: HE1PR0702MB3706:
x-microsoft-antispam-prvs: <HE1PR0702MB3706479B3944E77B6F7CCAFB987D9@HE1PR0702MB3706.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: X1ZlGDE00nV6GsYXv7COccnMGqU4vju/HfCnm7xmPAOPI/RimFI+w/KJGtJ2eo0Q3nsMGgkGxB+PffJUi7TzQjsaJpJa4N8eZRIhnfSYLtk47PMMS3lJU1LaVHDSejLke36tu0Lqz3e27wM+NJ6ffoQW9KdewFsdH+0GXtwm0srJ1Q49oKiRn/tUc59d7QoM5ho+Zsv8MObHCkjq8fPjAISNMTrQWx6/n2b++LBQmHOCdujkgPl2oZGSVK5bvEC6Sl87nXsj3rLYJMP/zp7Hgfg0rbfa4uYBJo/VcAtQEsecyvASx97XDVIsxHN1Wv3OxKy+pX4vfd8zqIAHkltbaSSQCD+EehKDHLdsp/dyYODma3ozdVXe2zmB8HY1fhlGGEqvB3CryjaGUiMVq+4hEmp47HdxH7sR26FQyNnPRI/gSOHgv0Vy6Gx/CAAfxlbuiqnkKNl88oV30jMtdIg2RmBj77lYQteFNsr8Fux2mbM7hAvlF0U4iaHmAJauRyCjm/iWOKMzZ9v24WF/jgHOLG6NzyHUAC/jXtkSNcEOJk6hjU15leCtenyvgYikr/KHiVtNYpoMO0QV0Tpf6ohc2UFCpPYjVKtCKlHwZP50X69qmNIR1dBkOmQqGVbTRBG4JE6ebuzWREh0qOqjCGZ8juglvndOzvvWOvNrmHRDqqLrKuBG7KvUtCQEvICXOBA6DlaGbghgFNODwwm62S3mtyG5BaJLERBmt9Me3Pbny8Npkgk1WTKEpJrGH1sYMDjBWyIwt9L89lbjvvSMJewfGw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:HE1PR07MB4217.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(136003)(376002)(366004)(346002)(396003)(39860400002)(316002)(44832011)(4744005)(36756003)(2616005)(110136005)(5660300002)(83380400001)(33656002)(966005)(26005)(38100700001)(8936002)(66556008)(66476007)(64756008)(66446008)(53546011)(6506007)(66946007)(76116006)(91956017)(6486002)(478600001)(6512007)(8676002)(71200400001)(4326008)(86362001)(54906003)(2906002)(186003)(45980500001); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: =?utf-8?B?cVhFVXlLclErQkZxbFRyRnRwZXpmK1l1YTB6NFZhQ2h1c3pSbGVJQ1NrTm4r?= =?utf-8?B?QTZUN1lCaDZMS1h2Z1FXSU5Wc2pIazgzNE9uWDhuaVExVC84d3duaXd5ZUdW?= =?utf-8?B?ZEFTYnpEcWpmaGkrTWgxV2wra2ZxQ25lU0pBdDhnME42RHhvYkJNbE1jUnFi?= =?utf-8?B?NmwvMnZxQ2xTc1lpQnZMbEY4RFZ5dUFNY0d6V1IxYmh5QVl3OFZxcWg0ODFO?= =?utf-8?B?dGhsVjBFN1pCZFZXRURyVXJOazNlMVhKWWVyLzZsZWxlQk9SVjlXRzRSYlRK?= =?utf-8?B?Mjlub2hCc3p3aXIvRjNGekhoNVZXMUQrbHV2UDVyWUtjcVR2d2YwdFVRVThO?= =?utf-8?B?cHpXYm5KaEY3bitNenVmY1I0NzYyS2k5U3pqVW1sT25rdERmWXlTVlQzWjNa?= =?utf-8?B?TUFvT1MxQUt1U2JzelRGV1QxanA5bnNQSkk1TGtrUnQ3ZFhEd2NmbHAwL0tH?= =?utf-8?B?YW9UamJMWFMzS2VpenhGWjNhUTJzaHIxOExGdVc2WFpLQUZOQks1Q0ZFQXcr?= =?utf-8?B?SnVJYnhqMW5VNlgySkFYSDdZdWROSTkzYXY5REhCYkpTOVBOd2ZrS0YrSzVj?= =?utf-8?B?UlZzdUtIQXZmaU9HbkZFQmI3bFVpcDJqUWpDQzJrUmo2VXpRTks1dk4zeDNo?= =?utf-8?B?T1F4NzQvQTRTWHpVbmFZb3YraTN4YjNnSUZMQUt3ZDhNWnEwOVR6TjdLdzR6?= =?utf-8?B?ejlBeHdTMloreTVwc0tJU0lnejgrRFFoU0dLQmoxaFk3c2xjZ0ZvaUk4aG9M?= =?utf-8?B?T1RzZXgvL3VxZkNjTHdVdktqbGZ0N0hrWnpKa1FDdVN4YWRUbngzaEV5N09h?= =?utf-8?B?L2dwZzBlQ0pPWU5CSGEwVGY2UTNieG42VnhEOU5Rb1ZZcXFNcmxoVjQ4Ynd5?= =?utf-8?B?SDNQd3VqYWUxOTlMNnRzaDBVNzU0L3lFNm9FYzJDajAxNUI2dGVKTHNid3Rq?= =?utf-8?B?MDk1OTlRRkU0ZExGSy9ZZ3NGYVphR3drR2MyY0RJN2VEdTc1dE52SFpMQXF3?= =?utf-8?B?dnF1YjdVRUV4czdpYmdRTU8wdjcwUWhFQ3M2K2FEckJSZmYyTGl3OWUwWG5M?= =?utf-8?B?YUh4SDhQZVFkdXdoZjhaT1lFYWNrbWlxYjRHaE9PcktWNnRmM3RZdGJqMjQz?= =?utf-8?B?aEJ0bUM0NDM4UlBSVFpibFRKU1F0cjB1aElLelVOM1BXdWVJVHkyNFRUUjZL?= =?utf-8?B?SmpkUU4rYmRzb1dsemlYRmdTWUZTcWE5dW9LSWtkcmxtZGhVZlhMVmpFc1hW?= =?utf-8?B?N2ZlYkZXQUpKYW83NUdwbmtqR1RkbXA4VEg1ZGtNSzNhdy9OMDN0ZU03d0pj?= =?utf-8?B?NDZxZENrNUJndWhDOENyRHRQbVdzajRHcWVVN3hiR0FRWnkrMXBaeEJmL3Nu?= =?utf-8?B?UzNBdGpEWjlSZTBHQ1BnTEtxVmhQOE1HcWNwdHhaSHVDM1JGNnAvb3JFZGdC?= =?utf-8?B?aHhVWXE3T2Q2VEFKR2JUdEdHSlNhcXZSRWVmNzlTSVptZmExdmtFYXIzL09V?= =?utf-8?B?M2RSSVFJNHZLWkdGdlUvcWNVdnN0MTU3VldaVmxIRXMyaEJTM2daNkVZNjV4?= =?utf-8?B?a3oyS0NwVXFXaXYzZUw5YjN0LzltWXh6WTkwdnBDS3J0K3A5THo5cWFpQTN4?= =?utf-8?B?M2tVdUlubWw0TnExNW1EVEpQL09Mc1lteGRNTzVPZGVxcmtJYWlBcWs5YkRE?= =?utf-8?B?dHl1OXNnbmVkM3NIZ3pld3Bwb0dKRmxEU2ptcHFtTzVlS1hUZmRlWTVHUnFt?= =?utf-8?Q?q3jbdal13YRvxLMbYYXjRSwn7sm45rq9LPXkIxJ?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <C624AB673E080549944FE9E87926AB95@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB4217.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 20394160-a572-4bc7-e4c4-08d8f3583b9d
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Mar 2021 08:45:55.4431 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 4/SUWbzJAopknOWLT3OP7r2tgazgXzg2mAuETmN2CNfx3IkRLNeR5pNAeurHkppbGdTb8UsSKx3FnkKzx29V44E9IVCfYoYSWGJdqEaQEEz7NtCoMhVdlcG2jEebLnqq
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3706
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Opiny7VCqTkI7R9dmaR8noso5A0>
Subject: Re: [Cbor] [Last-Call] Last Call: <draft-ietf-cbor-tags-oid-05.txt> (Concise Binary Object Representation (CBOR) Tags for Object Identifiers) to Proposed Standard
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: Tue, 30 Mar 2021 08:46:08 -0000

VGhlIFBSIGxvb2tzIGdvb2QsIHRoYW5rcyBSdXNzIGZvciBwb2ludGluZyB0aGlzIG91dC4gSWYg
eW91IGhhdmUgYW55IG1vcmUgY29tbWVudHMgcGxlYXNlIGxldCB1cyBrbm93LCBvdGhlcndpc2Ug
SSB3aWxsIHB1c2ggdGhlIGJ1dHRvbiBhcyBzb29uIGFzIHRoZSBkcmFmdCBpcyB1cGRhdGVkLg0K
DQpGcmFuY2VzY2ENCg0K77u/T24gMDQvMDMvMjAyMSwgMTA6NDQsICJsYXN0LWNhbGwgb24gYmVo
YWxmIG9mIENhcnN0ZW4gQm9ybWFubiIgPGxhc3QtY2FsbC1ib3VuY2VzQGlldGYub3JnIG9uIGJl
aGFsZiBvZiBjYWJvQHR6aS5vcmc+IHdyb3RlOg0KDQogICAgT24gMjAyMS0wMy0wMywgYXQgMTg6
MTEsIFJ1c3MgSG91c2xleSA8aG91c2xleUB2aWdpbHNlYy5jb20+IHdyb3RlOg0KICAgID4gDQog
ICAgPiBUaGUgdGV4dCBzYXlzICIuLi5NVVNUIGJlIGEgc3ludGFjdGljYWxseSB2YWxpZCBCRVIg
cmVwcmVzZW50YXRpb24gb2YgYW4gb2JqZWN0IGlkZW50aWZpZXIgLi4uIiwgYnV0IHRoaXMgaXMg
bm90IGZ1bGx5IGNvcnJlY3QuICBJdCBpcyB0aGUgdmFsdWUgcG9ydGlvbiBvZiB0aGUgQkVSIHJl
cHJlc2VudGF0aW9uLiAgVGhlIENCT1IgZW5jb2RpbmcgZG9lcyBub3QgY2FycnkgKGFuZCBkaWVz
IG5vdCBuZWVkIHRvIGNhcnJ5KSB0aGUgdHlwZSBvZiBsZW5ndGggYnl0ZXMgb2YgdGhlIEJFUiBy
ZXByZXNlbnRhdGlvbi4NCg0KICAgIEluZGVlZC4NCg0KICAgIE5vdyBodHRwczovL2dpdGh1Yi5j
b20vY2Jvci13Zy9jYm9yLW9pZC9wdWxsLzgNCg0KICAgIFRoYW5rIHlvdSENCg0KICAgIEdyw7zD
n2UsIENhcnN0ZW4NCg0KICAgIC0tIA0KICAgIGxhc3QtY2FsbCBtYWlsaW5nIGxpc3QNCiAgICBs
YXN0LWNhbGxAaWV0Zi5vcmcNCiAgICBodHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3Rp
bmZvL2xhc3QtY2FsbA0KDQo=


From nobody Tue Mar 30 02:31:04 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 824A53A0EEE; Tue, 30 Mar 2021 02:31:03 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <161709666346.15057.3535230256773138601@ietfa.amsl.com>
Date: Tue, 30 Mar 2021 02:31:03 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/myrYcURw_CfjD8qI26rPfCkjXZU>
Subject: [Cbor] I-D Action: draft-ietf-cbor-tags-oid-06.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 30 Mar 2021 09:31:04 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : Concise Binary Object Representation (CBOR) Tags for Object Identifiers
        Author          : Carsten Bormann
	Filename        : draft-ietf-cbor-tags-oid-06.txt
	Pages           : 16
	Date            : 2021-03-30

Abstract:
   The Concise Binary Object Representation (CBOR, RFC 8949) is a data
   format whose design goals include the possibility of extremely small
   code size, fairly small message size, and extensibility without the
   need for version negotiation.

   The present document defines CBOR tags for object identifiers (OIDs).
   It is intended as the reference document for the IANA registration of
   the CBOR tags so defined.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-tags-oid/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-tags-oid-06.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-tags-oid-06


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Tue Mar 30 02:36:32 2021
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 C60293A12DF for <cbor@ietfa.amsl.com>; Tue, 30 Mar 2021 02:36:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.219
X-Spam-Level: 
X-Spam-Status: No, score=-4.219 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 W4c8kMVFkl6k for <cbor@ietfa.amsl.com>; Tue, 30 Mar 2021 02:36:26 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B2B883A131B for <cbor@ietf.org>; Tue, 30 Mar 2021 02:36:26 -0700 (PDT)
Received: from [192.168.217.118] (p548dc178.dip0.t-ipconnect.de [84.141.193.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4F8kpw1c4JzyRn; Tue, 30 Mar 2021 11:36:24 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <161709666346.15057.3535230256773138601@ietfa.amsl.com>
Date: Tue, 30 Mar 2021 11:36:23 +0200
X-Mao-Original-Outgoing-Id: 638789783.576658-925ddabea17563c85f5c43c116c15736
Content-Transfer-Encoding: quoted-printable
Message-Id: <59417105-BC64-4ED0-B056-E21563E22804@tzi.org>
References: <161709666346.15057.3535230256773138601@ietfa.amsl.com>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/G3g-_nCsg2MeuzxkGq0CWOkjfwk>
Subject: Re: [Cbor] I-D Action: draft-ietf-cbor-tags-oid-06.txt
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: Tue, 30 Mar 2021 09:36:30 -0000

This version fixes the definition of tag validity by adding references =
to the appropriate sections of X.690 and by being more specific what =
these references actually reference, as per Russ Housley=E2=80=99s =
review comment.

Gr=C3=BC=C3=9Fe, Carsten


> On 2021-03-30, at 11:31, internet-drafts@ietf.org wrote:
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the Concise Binary Object Representation =
Maintenance and Extensions WG of the IETF.
>=20
>        Title           : Concise Binary Object Representation (CBOR) =
Tags for Object Identifiers
>        Author          : Carsten Bormann
> 	Filename        : draft-ietf-cbor-tags-oid-06.txt
> 	Pages           : 16
> 	Date            : 2021-03-30
>=20
> Abstract:
>   The Concise Binary Object Representation (CBOR, RFC 8949) is a data
>   format whose design goals include the possibility of extremely small
>   code size, fairly small message size, and extensibility without the
>   need for version negotiation.
>=20
>   The present document defines CBOR tags for object identifiers =
(OIDs).
>   It is intended as the reference document for the IANA registration =
of
>   the CBOR tags so defined.
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-cbor-tags-oid/
>=20
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-cbor-tags-oid-06.html
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-cbor-tags-oid-06
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
>=20
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor


From nobody Tue Mar 30 06:53:46 2021
Return-Path: <housley@vigilsec.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 1CFEC3A132D for <cbor@ietfa.amsl.com>; Tue, 30 Mar 2021 06:53:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 HENBM9j73L8s for <cbor@ietfa.amsl.com>; Tue, 30 Mar 2021 06:53:34 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D019A3A1327 for <cbor@ietf.org>; Tue, 30 Mar 2021 06:53:34 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 86D10300B43 for <cbor@ietf.org>; Tue, 30 Mar 2021 09:53:32 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qoUmCKVNhhmr for <cbor@ietf.org>; Tue, 30 Mar 2021 09:53:29 -0400 (EDT)
Received: from [192.168.1.161] (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id C5C3D30024B; Tue, 30 Mar 2021 09:53:28 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <84A6EB39-38B6-4CE1-B077-F014AD0C7C14@ericsson.com>
Date: Tue, 30 Mar 2021 09:53:29 -0400
Cc: Carsten Bormann <cabo@tzi.org>, =?utf-8?Q?Christian_Ams=C3=BCss?= <christian@amsuess.com>, Last Call <last-call@ietf.org>, "cbor@ietf.org" <cbor@ietf.org>, "barryleiba@gmail.com" <barryleiba@gmail.com>, "draft-ietf-cbor-tags-oid@ietf.org" <draft-ietf-cbor-tags-oid@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <2CEDE813-AA1A-47D8-9799-63730E18363B@vigilsec.com>
References: <161478804980.26099.10355192606526568978@ietfa.amsl.com> <C0ABE813-36C8-4D0F-8540-42FCA7584C3E@vigilsec.com> <E7DB52CC-8565-4AFC-AB16-6EFA299B9520@tzi.org> <84A6EB39-38B6-4CE1-B077-F014AD0C7C14@ericsson.com>
To: Francesca Palombini <francesca.palombini@ericsson.com>
X-Mailer: Apple Mail (2.3445.104.17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/C0BSiAgEwXVzcgQqnyZB7aTkX7E>
Subject: Re: [Cbor] [Last-Call] Last Call: <draft-ietf-cbor-tags-oid-05.txt> (Concise Binary Object Representation (CBOR) Tags for Object Identifiers) to Proposed Standard
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: Tue, 30 Mar 2021 13:53:41 -0000

The PR fully resolves my comment.

Russ

> On Mar 30, 2021, at 4:45 AM, Francesca Palombini =
<francesca.palombini=3D40ericsson.com@dmarc.ietf.org> wrote:
>=20
> The PR looks good, thanks Russ for pointing this out. If you have any =
more comments please let us know, otherwise I will push the button as =
soon as the draft is updated.
>=20
> Francesca
>=20
> =EF=BB=BFOn 04/03/2021, 10:44, "last-call on behalf of Carsten =
Bormann" <last-call-bounces@ietf.org on behalf of cabo@tzi.org> wrote:
>=20
>    On 2021-03-03, at 18:11, Russ Housley <housley@vigilsec.com> wrote:
>>=20
>> The text says "...MUST be a syntactically valid BER representation of =
an object identifier ...", but this is not fully correct.  It is the =
value portion of the BER representation.  The CBOR encoding does not =
carry (and dies not need to carry) the type of length bytes of the BER =
representation.
>=20
>    Indeed.
>=20
>    Now https://github.com/cbor-wg/cbor-oid/pull/8
>=20
>    Thank you!
>=20
>    Gr=C3=BC=C3=9Fe, Carsten
>=20
>    --=20
>    last-call mailing list
>    last-call@ietf.org
>    https://www.ietf.org/mailman/listinfo/last-call
>=20
> --=20
> last-call mailing list
> last-call@ietf.org
> https://www.ietf.org/mailman/listinfo/last-call


From nobody Wed Mar 31 01:36:00 2021
Return-Path: <christian@amsuess.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 02FF43A2026 for <cbor@ietfa.amsl.com>; Wed, 31 Mar 2021 01:35:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 JpmFJLKhnfiv for <cbor@ietfa.amsl.com>; Wed, 31 Mar 2021 01:35:54 -0700 (PDT)
Received: from prometheus.amsuess.com (prometheus.amsuess.com [5.9.147.112]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B54303A0597 for <cbor@ietf.org>; Wed, 31 Mar 2021 01:35:54 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd]) by prometheus.amsuess.com (Postfix) with ESMTPS id 4A65440865 for <cbor@ietf.org>; Wed, 31 Mar 2021 10:35:51 +0200 (CEST)
Received: from poseidon-mailbox.amsuess.com (hermes.amsuess.com [10.13.13.254]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id F31A3D3 for <cbor@ietf.org>; Wed, 31 Mar 2021 10:35:48 +0200 (CEST)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:abde:ca91:c0fc:4485]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id B470310A for <cbor@ietf.org>; Wed, 31 Mar 2021 10:35:48 +0200 (CEST)
Received: (nullmailer pid 249291 invoked by uid 1000); Wed, 31 Mar 2021 08:35:48 -0000
Date: Wed, 31 Mar 2021 10:35:48 +0200
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: cbor@ietf.org
Message-ID: <YGQ0ZI9cYGSHxwEh@hephaistos.amsuess.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FqUYx9yd54KsAvZh"
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/lLJKtTwrFyv15gN79v6qR0LteRc>
Subject: [Cbor] Interims resuming 2021-04-07, agenda (endianness, 128bit, freezer)
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, 31 Mar 2021 08:35:59 -0000

--FqUYx9yd54KsAvZh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

freezer)
Reply-To:=20

Hello CBOR group,

I'm looking forward to resuming interim meetings with you next week.

The agenda is updated at [1]; so far it contains points that we ran out
of time for in IETF110 (cddl-freezer and 128bit extensions), and the
recent endianness discussions (which share the theme of "things outside
compatibility with the first versions of CBOR").

Please let me know if there are other things you'd like to put on the
agenda.

See you there
Christian

[1]: https://datatracker.ietf.org/doc/agenda-interim-2021-cbor-06-cbor-01/

--=20
To use raw power is to make yourself infinitely vulnerable to greater power=
s.
  -- Bene Gesserit axiom

--FqUYx9yd54KsAvZh
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECM1tElX6OodcH7CWOY0REtOkveEFAmBkNGAACgkQOY0REtOk
veGuVxAAtQoPwtj3XEipSywJfSDVYdJwU39mV4O1oY1lMj0HaFTnv+uBqqSIAVsx
fthp0MA18/xxz26yd6QC9G5t26CAGmTsXWPQ7cutASkzpac8VpPFH08Ii7lYgGXU
fLEMrWROzwKHksAXfWrvp48EsgF9sw5htlTaBSV+VvQmMknT1OJheqPMcsZ+e9LD
B1gdZmTBpi6na83HMEb80WxY5qLEZwVD7u1yDOyaj4Yo7UV3zUX0pdhEh2oihrRI
98s7bK6MN4LuB6o71TKr0pVVSDoz9iHa0LBk0d/XmeKl2ATQJg4QF4BVgDiJDL2K
jhevN8ChGZQfAMo9Djywi9iiIzNR3cdHv+Npnn3FMJ32BhPXAs9yF9uN8lvFzdmU
xojGVbrFcUNpBvVcYDDueykjGDRKllwbxtkrV5bJZPPgWv8+JAFMl4UNK3LLgUkM
IvJjqZci0mhYAc2ZBCoazfK95Xp+JXA+KzubXrMjf742BoHpXHke+HpCNiDAB5gl
GYdEmmjPBRhj5CCHUBq0EhJ+3JuQIz/bp9o0Z31BwXG3vga4tTNEVn1KA+YhUMDD
cdsBoxlIG925XL7rAznH3T0oI93oqrMiZSiq4baGGW6hVSxTw2nUXRdkIJvpBw11
X3nD+VMYMfkhaE/c0RpLeKEcabKPOI8+T0zMFH3IUx5FE0sW6zg=
=g0BE
-----END PGP SIGNATURE-----

--FqUYx9yd54KsAvZh--


From nobody Wed Mar 31 05:38:44 2021
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 73AD83A2725 for <cbor@ietfa.amsl.com>; Wed, 31 Mar 2021 05:38:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 u8wjpCfnZJvP for <cbor@ietfa.amsl.com>; Wed, 31 Mar 2021 05:38:37 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E0B623A2721 for <cbor@ietf.org>; Wed, 31 Mar 2021 05:38:36 -0700 (PDT)
Received: from [192.168.217.118] (p548dc178.dip0.t-ipconnect.de [84.141.193.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4F9Qpc3PPszyST; Wed, 31 Mar 2021 14:38:31 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <YGQ0ZI9cYGSHxwEh@hephaistos.amsuess.com>
Date: Wed, 31 Mar 2021 14:38:20 +0200
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 638887099.99497-4da8b41e74850d82987638804870ada4
Content-Transfer-Encoding: quoted-printable
Message-Id: <E3311C74-02DA-4986-B52E-85DDA8CE9214@tzi.org>
References: <YGQ0ZI9cYGSHxwEh@hephaistos.amsuess.com>
To: =?utf-8?Q?Christian_Ams=C3=BCss?= <christian@amsuess.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/ksX0LcV-_f44KUgUkDBvoSh73fs>
Subject: Re: [Cbor] Interims resuming 2021-04-07, agenda (endianness, 128bit, freezer)
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, 31 Mar 2021 12:38:42 -0000

> The agenda is updated at [1]; so far it contains points that we ran =
out
> of time for in IETF110 (cddl-freezer and 128bit extensions), and the
> recent endianness discussions (which share the theme of "things =
outside
> compatibility with the first versions of CBOR").
>=20
> Please let me know if there are other things you'd like to put on the
> agenda.

I=E2=80=99m not sure we discussed this one yet in detail:

=
https://docs.google.com/document/d/16aiDEBhJj3kipj_7PVppEhxAr5E6QhQreN61eC=
xvBjU/edit#

This is a (cbor-tags) registration request, so the WG does not have to =
have an opinion, but the designated expert would be interested in it =
nonetheless.
(I=E2=80=99m personally pretty convinced of the use case; this is more =
of an issue of keeping tabs on available tag numbers and looking out for =
related use cases.)

Gr=C3=BC=C3=9Fe, Carsten

> See you there
> Christian
>=20
> [1]: =
https://datatracker.ietf.org/doc/agenda-interim-2021-cbor-06-cbor-01/
>=20
> --=20
> To use raw power is to make yourself infinitely vulnerable to greater =
powers.
>  -- Bene Gesserit axiom
>=20
>=20


From nobody Wed Mar 31 07:03:28 2021
Return-Path: <mcr+ietf@sandelman.ca>
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 58C033A298A for <cbor@ietfa.amsl.com>; Wed, 31 Mar 2021 07:03:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 K-c-8ngEmlT3 for <cbor@ietfa.amsl.com>; Wed, 31 Mar 2021 07:03:22 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AAA553A2982 for <cbor@ietf.org>; Wed, 31 Mar 2021 07:03:21 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 1E45938F8A; Wed, 31 Mar 2021 10:09:43 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1uFlZjCaqzXO; Wed, 31 Mar 2021 10:09:42 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id E91C238F57; Wed, 31 Mar 2021 10:09:41 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id E5585981; Wed, 31 Mar 2021 10:03:18 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Carsten Bormann <cabo@tzi.org>, =?us-ascii?Q?=3D=3Futf-8=3FQ=3FChristi?= =?us-ascii?Q?an=5FAms=3DC3=3DBCss=3F=3D?= <christian@amsuess.com>,  cbor@ietf.org
In-Reply-To: <E3311C74-02DA-4986-B52E-85DDA8CE9214@tzi.org>
References: <YGQ0ZI9cYGSHxwEh@hephaistos.amsuess.com> <E3311C74-02DA-4986-B52E-85DDA8CE9214@tzi.org>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Wed, 31 Mar 2021 10:03:18 -0400
Message-ID: <4019.1617199398@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/DYDEqw6NgXFRbS5Ke3hEBBypIo8>
Subject: Re: [Cbor] Interims resuming 2021-04-07, agenda (endianness, 128bit, freezer)
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, 31 Mar 2021 14:03:27 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


    >> Please let me know if there are other things you'd like to put on the
    >> agenda.

At this point, I think that cbor-file-magic and cbor-network-address are
complete, ready for WGLC.


Carsten Bormann <cabo@tzi.org> wrote:
    > I=E2=80=99m not sure we discussed this one yet in detail:

    > https://docs.google.com/document/d/16aiDEBhJj3kipj_7PVppEhxAr5E6QhQre=
N61eCxvBjU/edit#

    > This is a (cbor-tags) registration request, so the WG does not have to
    > have an opinion, but the designated expert would be interested in it
    > nonetheless.

I'm supportive of this use.

    > (I=E2=80=99m personally pretty convinced of the use case; this is mor=
e of an
    > issue of keeping tabs on available tag numbers and looking out for
    > related use cases.)

I'm not sure I understand here.


=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmBkgSYACgkQgItw+93Q
3WUSQAf9FiZn/954J4iL9V8rp9TI47/DkThwCN5a6V/MJm9OFYhqz8E6Y/iEGUjh
cL54s6nddmXv7FKOjtYg+zZP2InggmeBc12zbDG0ytlravhK0N3xpgQ9YuWdzp8g
MBlhApNOE9t9+n9u41drygi0R46eswb+GeohZe1865iniynFjd7Mgspcm8ukm3Lf
yKyB0rXhKDiteW3uG1KrOW5MpYhwPKxV3EqLdTIeNo23F4WioZMoSHPM+QAptR1X
ZvcRa9c3LFcsDgK1WvNv2jh4/W6aniKoGTzXhVRvQ8JKDv5WL0IXv66KbacQgVOO
RVVxXVl66HapjrWlgZJReG36uS5NSw==
=UjLp
-----END PGP SIGNATURE-----
--=-=-=--

