Re: [Cbor] Review draft-bormann-cbor-tags-oid-07

Sean Leonard <dev+ietf@seantek.com> Mon, 27 July 2020 14:13 UTC

Return-Path: <dev+ietf@seantek.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 751183A1A07 for <cbor@ietfa.amsl.com>; Mon, 27 Jul 2020 07:13:26 -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, NICE_REPLY_A=-0.001, SPF_NONE=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=mxes.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 1hY1S1M7-80T for <cbor@ietfa.amsl.com>; Mon, 27 Jul 2020 07:13:24 -0700 (PDT)
Received: from smtp-out-3.mxes.net (smtp-out-3.mxes.net [198.205.123.68]) (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 422173A1AEF for <cbor@ietf.org>; Mon, 27 Jul 2020 07:13:09 -0700 (PDT)
Received: from Customer-MUA (mua.mxes.net [10.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E38C87599E for <cbor@ietf.org>; Mon, 27 Jul 2020 10:13:04 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mxes.net; s=mta; t=1595859187; bh=lgxKBe01dXCJZaA1FqbkilvWDGyxdRWhI+UGwpaUiO8=; h=Subject:To:References:From:Date:In-Reply-To:From; b=iTKbMcUV1rSe/9viBGGSGsmUNd+gcQIgOiP0bsFJcBrDOfQ1klAdxb2KvrKu66JL/ 8il1EqPyUIlHEKWc8V8Mw5jwTeI7U4if+zIbfeFQZT/R11iHHPFS52rK8owTE6ihMT urJq0IHIsPMmMzUK+pROSpO5yDia37mZxGbiZC7o=
To: cbor@ietf.org
References: <000801d65169$5915dfb0$0b419f10$@augustcellars.com> <5E9374BB-8893-4CB5-9548-672BC9556E55@tzi.org>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <1b9f6063-60a8-84f3-78cf-a189385341cd@seantek.com>
Date: Mon, 27 Jul 2020 07:11:47 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <5E9374BB-8893-4CB5-9548-672BC9556E55@tzi.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Sent-To: <Y2JvckBpZXRmLm9yZw==>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/0rsK1Ccy4grblBJSKFIRQDzqll4>
Subject: Re: [Cbor] Review draft-bormann-cbor-tags-oid-07
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, 27 Jul 2020 14:13:27 -0000

On 7/3/2020 3:47 PM, Carsten Bormann wrote:
> Hi Jim,
>
> thank you for this flash override review :-)
>
>> On 2020-07-03, at 20:39, Jim Schaad <ietf@augustcellars.com> wrote:
>>
>> * Section 2 - What is a "primary integer"?  Is this one that has not yet
>> gone to high school?
> I have no idea.  ASN.1 term?  Ah right, X.660.  Since arcs can be identified both by its actual integer value and (not necessarily unambiguous) secondary identifiers, the integer value is called “primary” integer value.  Fixed this by adding explanation and getting rid of the “primary” elsewhere.

On this point specifically:

X.660 (2011) defines:

3.5.13 primary integer value: A primary value of type integer used to 
unambiguously identify an arc of the
international object identifier tree.
NOTE – An arc of the international object identifier tree has precisely 
one primary integer value, apart from long arcs, which
have only Unicode labels.

When I wrote the draft, I used that term specifically since it was 
defined in X.660. I think we should continue to use "primary integer 
value" as defined in X.660 but as Carsten said, I am okay with the term 
only being used once and thereafter referring to it as a simpler term.

To my knowledge, OIDs represented in X.660 string formats such as IRIs 
simply have not taken off for purposes of interchange, and when used in 
technical documentation, the {iso(1) identified-organization(3) ... } 
style (which is X.680, or X.660) or dotted-decimal OID style seem to 
predominate.

The most authoritative dotted-decimal OID style definition that I could 
find is in the LDAP specs, namely <numericoid> in RFC 4512. X.680 (2015) 
defines dotted-decimal style as well, see XMLObjectIdentifierValue 
(Section 32.3; see https://www.itu.int/rec/T-REC-X.680-201508-I/en), but 
the X.680 definition is unwieldy and allows for the names to appear in 
the identifiers as well.

-Sean