Re: [Rats] EAT I-D language for old interoperability

Thomas Fossati <tho.ietf@gmail.com> Fri, 08 March 2024 18:17 UTC

Return-Path: <tho.ietf@gmail.com>
X-Original-To: rats@ietfa.amsl.com
Delivered-To: rats@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 45DDDC14F684 for <rats@ietfa.amsl.com>; Fri, 8 Mar 2024 10:17:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ARutvzvWXIaB for <rats@ietfa.amsl.com>; Fri, 8 Mar 2024 10:17:49 -0800 (PST)
Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD179C14F5E6 for <rats@ietf.org>; Fri, 8 Mar 2024 10:17:49 -0800 (PST)
Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-55a5e7fa471so1469113a12.1 for <rats@ietf.org>; Fri, 08 Mar 2024 10:17:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709921868; x=1710526668; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=B+NIkr0AE8K1wVo5M74NlbogYKWMBcf9DlK3v5/dk34=; b=WDGfM8gyqjgds7j6xg080X1wK7IOWaWX/YrcqjMm98QmVln4k5vz5xYt27fYqhq28O Ck0jXDugqb27LEtWBZmgX8XolND1tBaEAYd0id2BtHZb57L5arn2JJgyy8d+1RC2oBqW L5lNGMYh53a9A/HmKIrMHG4sVnM5l16gNt51j5cMfmSY4fnnppv1mxlcHQBDOzyYxL7x 80AkEJipVI9u6Bajne6ghk2qwzU2yoLgPUCXdrDAVryoEoUC6ssYlkZfOD7FqKaVlsiP RrPvyMWzqSnlc+UzihRuabvw3GLkteBTrv2e7d5daYCYQy/3ikkSY27gtJ6Psmz35snX A6uw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709921868; x=1710526668; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B+NIkr0AE8K1wVo5M74NlbogYKWMBcf9DlK3v5/dk34=; b=pB7eg8+SJncJbF9958HQC792BvDsrheqYSBZP+2N0B0Y6abn8BemRS8LoVWXCiYBMZ EYJC7C5Jd5nwKnkdnGh9WyDIVM3R6dAQhUkMVSIA9YG1R86Ydw5X05EPx9ORgBY6cwQB 3EK08MQZodUyGYvTgNxItP9rnJrckKsr1Ml/SzCPchfd4LfRtVYJtgUoY9dcAb0O7pNg 8oStlz+hI8QJMCK2mTDFqF8/JRPhwDGwYha2wDdAFNaE7FV5VaV2sompZIB8bH4lOz0t wyUtIyCcZUDryLh4oiFKpOrLLxVrdm/5DjFqdY2QJRm0KLRQ2wDJC9fgeX58KE3VnKYx aXaQ==
X-Gm-Message-State: AOJu0YwJvOQKzgkWiAIljxKPHvACvPJbQmJnDtHkoSyK6rlTADzA+Rv9 sYwVk3R+ARZ/lvBKoK9HiuF2H/RPt+3AuNoNPxPr4saekcLwh5xO6ys/rHsPsTOevC9GDgyH6AT L0WHlC56TfET4PJ6DMPE2lSAXOx0=
X-Google-Smtp-Source: AGHT+IF9xyLTvtlPmP4btGrRECL8gZ/XXBguk/phjNU1Jb66UeWEoReCEqnniZfmygbiIugbBlgsWwEt91y823TXcWM=
X-Received: by 2002:a17:906:ca4b:b0:a3e:8809:525c with SMTP id jx11-20020a170906ca4b00b00a3e8809525cmr13996847ejb.37.1709921868231; Fri, 08 Mar 2024 10:17:48 -0800 (PST)
MIME-Version: 1.0
References: <6E1B7433-69A5-4D7C-A759-87BEE8AFD83C@intel.com> <CAObGJnPqdwyKT9m+TJV9_4+y6Ppg--2UcyfryejnJmpy2OQYVw@mail.gmail.com> <749F01EB-E84B-4440-BEDD-EBB9ED41DF7D@intel.com>
In-Reply-To: <749F01EB-E84B-4440-BEDD-EBB9ED41DF7D@intel.com>
From: Thomas Fossati <tho.ietf@gmail.com>
Date: Fri, 08 Mar 2024 19:17:37 +0100
Message-ID: <CAObGJnPisoxXH9PaHoPy+eFYsbYQoKNCKeE97W0A3EOfu2OpBQ@mail.gmail.com>
To: "Smith, Ned" <ned.smith@intel.com>
Cc: "rats@ietf.org" <rats@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/C2ea2xRpPjaN0U0Qo5jMblq4TKM>
Subject: Re: [Rats] EAT I-D language for old interoperability
X-BeenThere: rats@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Remote ATtestation procedureS <rats.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rats>, <mailto:rats-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rats/>
List-Post: <mailto:rats@ietf.org>
List-Help: <mailto:rats-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rats>, <mailto:rats-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Mar 2024 18:17:50 -0000

On Fri, Mar 8, 2024 at 7:08 PM Smith, Ned <ned.smith@intel.com> wrote:
>
> Using `oid` in the JSON section is confusing because the json cdd doesn't ever use `oid` only `json-oid`.
>
> The cbor use of `oid` doesn't reference RFC9090. Whereas the equivalent JSON text references [RFC2252].

hmm, I look at §7.2.1 and see:

   For CBOR-encoded tokens, OIDs are specified using the CDDL type name
   "oid" from [RFC9090].

which looks good to me.

Then un §7.2.2 it says:

   [...] the
   following CDDL types are encoded in JSON as follows:
   [...]
   *  oid -- MUST be encoded as a string using the well established
      dotted-decimal notation (e.g., the text "1.2.250.1") [RFC2252].

So "oid" is still intended as the CDDL type defined in §6 of RFC9090
which, when serialized to JSON uses dotted-decimal notation.  Again, a
pretty decent explanation :-)

You are right that there's a lack of linkage with json-oid though.