Re: [Cbor] Roman Danyliw's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)

Roman Danyliw <rdd@cert.org> Wed, 20 October 2021 15:35 UTC

Return-Path: <rdd@cert.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 28E593A0866; Wed, 20 Oct 2021 08:35:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=seicmu.onmicrosoft.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 xB26mwxYKsWh; Wed, 20 Oct 2021 08:35:16 -0700 (PDT)
Received: from USG02-BN3-obe.outbound.protection.office365.us (mail-bn3usg02on0118.outbound.protection.office365.us [23.103.208.118]) (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 598173A0863; Wed, 20 Oct 2021 08:35:14 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector5401; d=microsoft.com; cv=none; b=DtwyqY1bfHVSUdzua72BmYayh4Et6+PSVIue5EQH2A/jOOKKAS/hDauTZUuSFJCOjNo1iz05Oi/ZY3vu5PuJ55KsroxOrAdfZGQnL1OBWcZhxf2xkoMctnT8fEnMN45hf4vokyS8wtB3RgjFB8U9o2bmHcO0MRBqsu5k7ToOwMu1pCKMbPGfr2xcZR0SKYy1p35D2EsVExRz723t0yd0vVgMjceubXETX0ume51VMCKlo3BYCTvxFzsjEO69+GXngEga6FKKDiJI1A+dCHlcicOt6+Fqs1sIm1eCYYuOeqSuzFvM5f4T89qdB0rUBpZn9pegYPkA39s+cjoWBEKceQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector5401; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vcrwI8xhApWO7dN8JYFGxKHg2GlxWRiWxMsgLMb8cNg=; b=Sl/yJA0XEaSEEPZ/OdRAvcQXr9HkXd9jeln0IQFFo9VPcWC1KrfBGqKmds58xh9EF4PqZsR9yoFWNn7aDeVDFF/PSKKoL+IzB+Z+rjdlkhvUE6A3hYO1ZHOAEMTFapDQ/V3XYroHnQFsPU02h0OTblMB3meX6cBcX3Rq1V4AwKERXjdyHgDg9iES16byCSLfipIffeJ4Tz03Y9HUdBdQmrWVxENtpAIeyc9rrnvuyj64yPOMJl/guG0zza+HwGBxVJJEkqlBeLC77tYVE6zRAjglanHNr2dUXYrIYjiyaQlQw6qrnMcWrTiqQYisWgMezGmqxbOuZD6M9Qg43JFr+g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cert.org; dmarc=pass action=none header.from=cert.org; dkim=pass header.d=cert.org; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seicmu.onmicrosoft.com; s=selector1-seicmu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vcrwI8xhApWO7dN8JYFGxKHg2GlxWRiWxMsgLMb8cNg=; b=X1/05VidoK6CvQSJCuN+Kh0jfv2DZF9/DWxN/RGMmQizwSQ04EKJwwL1c1JFzX0Ory1MZB+Mi591WcZKMvDUrZgbDbWaHLQPia1qMTYt7yp7TSz/vRcps9AZ64RzO3RnRmIlEcmmpodHQFZMOvk6Ew5KN4WhbwYpiYA+KgFrL9s=
Received: from BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM (2001:489a:200:134::12) by BN1P110MB0737.NAMP110.PROD.OUTLOOK.COM (2001:489a:200:135::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Wed, 20 Oct 2021 15:35:04 +0000
Received: from BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM ([fe80::4463:48d1:9769:567f]) by BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM ([fe80::4463:48d1:9769:567f%6]) with mapi id 15.20.4608.018; Wed, 20 Oct 2021 15:35:04 +0000
From: Roman Danyliw <rdd@cert.org>
To: Carsten Bormann <cabo@tzi.org>
CC: The IESG <iesg@ietf.org>, "draft-ietf-cbor-cddl-control@ietf.org" <draft-ietf-cbor-cddl-control@ietf.org>, "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>, "cbor@ietf.org" <cbor@ietf.org>, Christian Amsüss <christian@amsuess.com>
Thread-Topic: Roman Danyliw's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
Thread-Index: AQHXxbuf3K42/IutF02WimG19sEjwKvb/GaAgAAID8A=
Date: Wed, 20 Oct 2021 15:35:04 +0000
Message-ID: <BN1P110MB09398C1126027D9910C2728DDCBE9@BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM>
References: <163473874177.29260.10507244942924535953@ietfa.amsl.com> <2E5C0875-23F7-48C0-B317-DA25ED383418@tzi.org>
In-Reply-To: <2E5C0875-23F7-48C0-B317-DA25ED383418@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=cert.org;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ed2d17b0-3a19-4873-c5f0-08d993df3051
x-ms-traffictypediagnostic: BN1P110MB0737:
x-microsoft-antispam-prvs: <BN1P110MB0737BECE7EDD0A3386B273ECDCBE9@BN1P110MB0737.NAMP110.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 3KnRBxbCrpDh9wvOkbUNZI1VjVKN3M4f4oW6ba92Nv94/hanOe5psn7ZiqyccEwOip6RPMqBJy2AcU7CkG/vxZc8fwV7+/KQwROunosP2NBfUOtl67nbDaTgx/IJsx1KFy0eCd30qkrizzbEzputCiWtlZYGumTTGXSljwNSsVSKIi2RVINKc9nzTAfCfXpb6RAWxttqA0IHpeTHa0XCiNKFhg5wZOEouxtzZiWKQGDpRpsZt0Y+iuJIs+iXnnf+osqehA3whj2rDHbzViwEqQnH4sjTRG6A+LJipOyv+vECywDL4um9/94TmQQAbxq+UWy0P2JWlhIEUgA2W92Mdfuk7vaMHChlMQhGGOMrQqqSNCXnEwb5sr4NlgbBgorkYHQYrPkG+1enIKgzhvD1Ng50BOyLeOgGtico0H79mGvaDk5ojMdTtZ9mZhJc1HqWrBzyaPhQAD8d23zp97+CH1x5GsoDORxmA/hyxP8xOWL7tPwvNnBlAzF+vDn/PtxziZaqOiv2TcUaR7r0abEEW9puSxO+snzlFMXnWqqBAGCzes2nixoGdlbF2N5DNmnrhxCYXiFjZwyrVK4dOVuqoKj3QktF3KqVJ/cWXhZ7KKem2C549avGKNoMAyiUWCFo6zLEsZ6lLyVsjGWqCKDijeLZXTBzD8m9ua4Kol14/gJcUKhFM1qjFXmNiwEV2nh8WHonFVrXh1j1CsXEJVwkwA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(366004)(71200400001)(8676002)(26005)(86362001)(9686003)(4001150100001)(8936002)(83380400001)(122000001)(186003)(53546011)(498600001)(66446008)(66556008)(64756008)(966005)(7696005)(38070700005)(66574015)(76116006)(52536014)(54906003)(6916009)(55016002)(5660300002)(38100700002)(82960400001)(66946007)(4326008)(6506007)(66476007)(2906002)(33656002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: eHvLVzVHzwLqtdTIXCLARQRKjsJj8jqvLZ9hyODTddQGekxFDyKrfMo4+4Vp8nJ307VwafUsAhFeMhR/CawDacK/XudUNAYuU5ut8BTl37jCBHOm41RcgH9VehCTM0ic0B3uHxBmZ/GYDT90Qs/Ltm/WY8bUujG0vt+zzjyZMr074YjucBhGHpqZNGLgl54Sy6ub1XjXSA1h3Ep7o1/JY1gfDntk+uL0r9uG6WYY+VMZ/Z2zMfUDmE/k3IihasujeXs3vrNAiCH2KK0ohXIY5qKqtbkRdGXHqYSuCjslNasnvcfMmua+8LM90BeL/RcEVE8Cj+hQySO+D6NHdrJI2erd3eWrs/WuKQ0Tf2Z0ZTpAt/DoK6RTQ8/e6MhRtHr1TvbzLA7NH5mCJiKSBrj+mREgNc0jHH9p/ei9mwL9ZEhTbuPbf+nRtEbVDx0mbr4FYdL+o7vnrdgdWF6jyHrrFk51aImADMmDSCsedNGKi+xHIRaYeD4nqoiV43nU2PRVrVyrgDipmSSmMwz7wX+TUw1cvH7SUE8nGANBQCA+M0LIOOCkPFrPe0K9Inx2ZYonYKKJbiPnmup5DxQqHW7Bd1K/iR5saezrkkv4PdBh+Evk+7g82l0Kj34NBevgTooysP1bSXKLKWGyqbeHDwc7l9MT5Rc1MH2ShzD5eqhqVHgVplBE6hlC0ezKVSbd6lgOnivcRH1ainhFYrizYnG5eJR3tZuNSAsYlNgvYG4kqc4=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: cert.org
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: ed2d17b0-3a19-4873-c5f0-08d993df3051
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2021 15:35:04.6341 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 95a9dce2-04f2-4043-995d-1ec3861911c6
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1P110MB0737
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/ifHIJPZWbOmawW1q5sKJ4gEVokY>
Subject: Re: [Cbor] Roman Danyliw's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Oct 2021 15:35:23 -0000

Hi Carsten!

> -----Original Message-----
> From: Carsten Bormann <cabo@tzi.org>
> Sent: Wednesday, October 20, 2021 11:06 AM
> To: Roman Danyliw <rdd@cert.org>
> Cc: The IESG <iesg@ietf.org>; draft-ietf-cbor-cddl-control@ietf.org; cbor-
> chairs@ietf.org; cbor@ietf.org; Christian Amsüss <christian@amsuess.com>
> Subject: Re: Roman Danyliw's No Objection on draft-ietf-cbor-cddl-control-06:
> (with COMMENT)
> 
> Hi Roman,
> 
> On 2021-10-20, at 16:05, Roman Danyliw via Datatracker <noreply@ietf.org>
> wrote:
> >
> > ----------------------------------------------------------------------
> > COMMENT:
> > ----------------------------------------------------------------------
> >
> > ** Section 2.2.  Checking my understanding of string concatenation:
> >
> > (a) “Target and controller MUST be strings”
> >
> > (b) “If the target is a text string, the result of that concatenation
> > MUST be valid UTF-8”.
> >
> > There is a distinction being made between a “text string” and “byte
> > string” per Section 3.1 of RFC8610?
> 
> In the context of CDDL we do distinguish between text strings and byte strings
> (inherited from CBOR, which pretty much started to exist when we couldn’t get
> that distinction cleanly introduced into msgpack in 2012).
> 
> Maybe we can honor POLA (*) by not using “strings” to refer to the type union
> of either, while keeping the reader unsuspecting.
> 
> Now https://github.com/cbor-wg/cddl-control/pull/12

Thanks for explaining.  The edits in the pull request makes is clear.  

Much appreciated,
Roman

> 
> Grüße, Carsten
> 
> (*) https://en.wikipedia.org/wiki/Principle_of_least_astonishment
> (not https://en.wikipedia.org/wiki/Principle_of_least_privilege :-)