[Cbor] draft-ietf-cbor-tags-oid, applicability to Private Enterprise Numbers

Brendan Moran <Brendan.Moran@arm.com> Thu, 29 October 2020 16:56 UTC

Return-Path: <Brendan.Moran@arm.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 1FE553A09E7 for <cbor@ietfa.amsl.com>; Thu, 29 Oct 2020 09:56:44 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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=armh.onmicrosoft.com header.b=dZO+Xagr; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=dZO+Xagr
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 7sYX1KXoVhmT for <cbor@ietfa.amsl.com>; Thu, 29 Oct 2020 09:56:42 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20088.outbound.protection.outlook.com [40.107.2.88]) (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 9B29A3A09D9 for <cbor@ietf.org>; Thu, 29 Oct 2020 09:56:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8y7a47j7oI4Lldig8+4hsSn9zkzgutsuQHZNmQag6gM=; b=dZO+Xagrmpd4z7RM4OhXYHnYUbmld8SSHPM4/KX6V1i6TCrn/0+TQkLo4duN+55jKA1aPkc6Xxm2DTzlfcV0KxjqghAtKP7Mxq3jGt90NI8lj9NEO5T9OWN7l3cE9WgyFGbuR1BD+vRruo/8sDckm86pQFc1tJwwUv4ofGIUPIw=
Received: from DB6PR0202CA0037.eurprd02.prod.outlook.com (2603:10a6:4:a5::23) by HE1PR0801MB1737.eurprd08.prod.outlook.com (2603:10a6:3:81::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.24; Thu, 29 Oct 2020 16:56:38 +0000
Received: from DB5EUR03FT026.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:a5:cafe::f2) by DB6PR0202CA0037.outlook.office365.com (2603:10a6:4:a5::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.19 via Frontend Transport; Thu, 29 Oct 2020 16:56:38 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; ietf.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;ietf.org; dmarc=pass action=none header.from=arm.com;
Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com;
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT026.mail.protection.outlook.com (10.152.20.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3520.15 via Frontend Transport; Thu, 29 Oct 2020 16:56:38 +0000
Received: ("Tessian outbound d5e343850048:v64"); Thu, 29 Oct 2020 16:56:36 +0000
X-CheckRecipientChecked: true
X-CR-MTA-CID: 857712e54317454c
X-CR-MTA-TID: 64aa7808
Received: from 7c89d9dd40d7.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3316BC2B-D5B9-4649-90DC-EFB1EF39877A.1; Thu, 29 Oct 2020 16:56:31 +0000
Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7c89d9dd40d7.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 29 Oct 2020 16:56:31 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cBZwqE8IG+D3L/pwAaazGNzg5GrKHJSJLTjPy12pg+K7mU004vdUIwdj7wYDtA1Qa2N8/2ooDHMaAudNhwWNGcxD4R86bEs7lBVmCLsb+yDCDJKVyNGQPIKu/4lXazJlxDr9JIP0GRYUZpklXHEpowSPEJcZZldRVvHQdNXeq8xwcvfa3kpJUOnW7JEETR0ldPI2Oux+bYrLptlqlRV7tW6aUTZKyXK0QFgn6UDyDEwbc/8g3E6Iegkswb1sYeQDw94TdSb6O7okDK0bedILaKFvRDwnvBTjy/0yzX8tXSjj+MLbTC7j5SzfHQ9fPiQxwux7oK4djO9mP1BeOgUDag==
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=8y7a47j7oI4Lldig8+4hsSn9zkzgutsuQHZNmQag6gM=; b=SQWWLyeuEGPhmdpEI3uQAXvrC8HHs+fNIno+uznY/hGN1jkum2ponXZdrjkgWnLr1RYAcoTljTh1f9p1sZTQl0RXT4c9hwjUjJ4ZdeaJBsmxHQXSpS51/iTQcx7ecyn7RtROhOdOtzfQDU2QR6RHfM0+qawwzuPYJmglkHxPR9DEWVpDK5yonLn8wYgr8h+E+OItiv4RH2HWjngGcySlmIZloTBFtjrYO/h3nVPCaKxmRlUvk0/LIggd72DJi/fMQND7D7mH5/2c8CWqFhKxr2gGLpXxE+8KHEgfGw0AJhOHUgClEZtuSjED560FSfvIO4AyDFI9srRfsG95SmMDOg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8y7a47j7oI4Lldig8+4hsSn9zkzgutsuQHZNmQag6gM=; b=dZO+Xagrmpd4z7RM4OhXYHnYUbmld8SSHPM4/KX6V1i6TCrn/0+TQkLo4duN+55jKA1aPkc6Xxm2DTzlfcV0KxjqghAtKP7Mxq3jGt90NI8lj9NEO5T9OWN7l3cE9WgyFGbuR1BD+vRruo/8sDckm86pQFc1tJwwUv4ofGIUPIw=
Received: from AM9PR08MB6146.eurprd08.prod.outlook.com (2603:10a6:20b:2db::17) by AM0PR08MB3684.eurprd08.prod.outlook.com (2603:10a6:208:106::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Thu, 29 Oct 2020 16:56:30 +0000
Received: from AM9PR08MB6146.eurprd08.prod.outlook.com ([fe80::c848:df2:1b39:78d5]) by AM9PR08MB6146.eurprd08.prod.outlook.com ([fe80::c848:df2:1b39:78d5%4]) with mapi id 15.20.3499.027; Thu, 29 Oct 2020 16:56:06 +0000
From: Brendan Moran <Brendan.Moran@arm.com>
To: "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: draft-ietf-cbor-tags-oid, applicability to Private Enterprise Numbers
Thread-Index: AQHWrhRkKEYD4FhhmkqvHyNc6Xtw/w==
Date: Thu, 29 Oct 2020 16:56:06 +0000
Message-ID: <B7BC0D70-5D45-42FB-9E12-D8C501128CFC@arm.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3608.120.23.2.1)
Authentication-Results-Original: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=arm.com;
x-originating-ip: [82.20.19.206]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-HT: Tenant
X-MS-Office365-Filtering-Correlation-Id: abc2e415-5939-4f91-799a-08d87c2b9a34
x-ms-traffictypediagnostic: AM0PR08MB3684:|HE1PR0801MB1737:
X-Microsoft-Antispam-PRVS: <HE1PR0801MB17376A2BAB337704B7F4E4D2EA140@HE1PR0801MB1737.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: aPU4iSmRdK497B8JO0LcakG6EVG2Ej2Vm1mDXu9+rcdU245++lS9FbmgW28P0AMXY0Lg2zq4W0FC+AHy8SuPJn+znepu1Lko5LjzulTjHNo9M+Ng5esdxR0Bme7/cb4zXHU1fDJmYnI/ot3LDTIP2GnJxFdObV4sZkqb9PxtguCpbUEhANLNvtK9n42gBwJq8IYMg7MXFfhs5i551n/hsUJ9IN4lXGQwZXYxW99lLsjhpvVLvgMzi3Xbj+HdrptqCehD+s9jeYRiXTqkv96Hu23S8qKVybHcjOQJMsXV3Eyr7g3lzb36+PJ3ZKIQp7+hbfKWRiT6H/i3SbvamjDom8l74LvZYutAzD4VORISJwx55OGGlU21LU9sPGabXCPOSEXlu4N4ggO7OO/YqEm8Fg==
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM9PR08MB6146.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(396003)(366004)(376002)(136003)(346002)(186003)(6512007)(478600001)(33656002)(2616005)(316002)(6506007)(36756003)(26005)(71200400001)(83380400001)(86362001)(7066003)(166002)(5660300002)(2906002)(6916009)(66946007)(76116006)(8936002)(66476007)(66556008)(8676002)(91956017)(64756008)(66446008)(6486002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: oIFqxhIZM3BVPm6cBUUxavdCTqtX/MQhEWzdrQzWc9v2gun6JxcMyfu3iYdIYXTraiXFAUnaQrtXoSW1cPM6YuUXJMbKfxQCtp7/disXhuvD9sqv1ztha6/y8kR5hHw5G9sJ0J90VVui6Vq9tMlrMp4uYpbt8kTym9y438uSrT770scT29EanV31RPUWFJHHJSi2nzqV3DKRflazm5EHXseDQ1aAbQlyi/nlDjrNr//IqUoLwI75d50i5X5eolYwWsTtNEwiYRGfmedcqfSfyw2w4LGvakJ7mIA9BXqfwIraXhQqHb9yIhNBG15Gd8TKgLxOnZkZMW8GfYJAoAZ9mO0IR+1tekfmzulCoF/YpgrS0TqI4Cz7LJlbwTwAhy0nqVQlwoZBhbQ8pe+SHHXFdz+rcix86lo2WGi5qB1SF6ZuxFfsztl2foiSgwLOmqCr0/wJcGPkbX848D+We5GXkoglCC+qVBvN80R44Ns/pJYAkjsZjV0c46bgjXRtE1mARLf2UDu/KZpOMyqlrd3TvSpo8+CePCKbe128eyDdZTt5e+tUnnARSghTI/LwDZARbBOc1ImiL2R79Owqe0oJwWmZ0EyjEd/nGr6h2kw80JwHyggtWkhAgLYHzz4nzGo7BguXIkp2qzGtlc/kch+c3g==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_B7BC0D705D4542FB9E12D8C501128CFCarmcom_"
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3684
Original-Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT026.eop-EUR03.prod.protection.outlook.com
X-MS-Office365-Filtering-Correlation-Id-Prvs: 6f379322-69a8-46f3-53e6-08d87c2b8728
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: AOwLlLr85zch/rk+wx//BgZWEovgNouNY/9IN32PqiiTOsiI+wpQtsaUMaCYBRhPqU62xagnqpswFwk7smMqG9Bt8LGiUzNbeo/7CQw/5Sv9l7ZQsqc2ioc305BFt3ltBT4SP+qDJsbVYsI1dRlTxv8XV/9VOZCDvbReNripoAt9tPyEZUWPO46yO+AcHTVRMVwGIm8KNOBiWrn/g7Oagw5ZHk0qkxVopRnz/Rv0b7EST9t5H4rWiQL0lSbKvm6J21/SrGCjEs9RkSmhlC9jOJqaBvvzwwR+6gRUizsSK+dqrfRR2115XNzXO8appKOJ7rkoLnRoNmMGHYE2VU2tHXQNTszEO6uug1zWm+7N7YqI56OtZT8MvkNtO3+OPOnExcEHkrmP2U3hBr1pzUB1XRmIFYmVHHNuwJWtTvookxBonJztlk5QeKYK/N0kfq2/Xr7Z3mUEhB3OwamfEnANQXM99bJsZc0xaIdfPeJqQU0=
X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(136003)(39860400002)(346002)(396003)(376002)(46966005)(83380400001)(186003)(2616005)(70206006)(6916009)(82310400003)(70586007)(33964004)(6506007)(5660300002)(166002)(8676002)(45080400002)(356005)(82740400003)(316002)(47076004)(2906002)(8936002)(478600001)(36756003)(6486002)(81166007)(6512007)(33656002)(336012)(26005)(7066003)(86362001); DIR:OUT; SFP:1101;
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2020 16:56:38.5423 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: abc2e415-5939-4f91-799a-08d87c2b9a34
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT026.eop-EUR03.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1737
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/KkpeLxkeW69do_W-nb-wB6ufaXs>
Subject: [Cbor] draft-ietf-cbor-tags-oid, applicability to Private Enterprise Numbers
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, 29 Oct 2020 16:56:44 -0000

It seems to me that Private Enterprise Numbers (PENs) are a particularly unique use case. It seems reasonable to predict that users of PENs will want the ability to encode these in CBOR. Given that there is a large number of registrations under the PEN prefix, it seems to me that this is a reasonable case in which to allocate a tag.

I propose that we add a new tag, 112, with the same semantics as 110 except that the OID is always relative to the IANA PEN OID (1.3.6.1.4.1)

While it would be preferable to encode a simple number, IANA’s PEN registration page says:

If you are not sure whether your organization has registered a PEN, please check the registry<http://www.iana.org/assignments/enterprise-numbers>. If your organization does have a PEN, we recommend obtaining a sub-assignment from the contact listed in the registry.

This means that we should probably maintain X.690 Clause 8.20 semantics in the body.

If this proposal is adopted, I intend to write it into SUIT manifests. While it makes no size or semantic difference in SUIT—using tag 110 is fine and unambiguous in this context—I think that a dedicated tag is a better option.

Best Regards,
Brendan
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.