Re: [Rats] FW: New Version Notification for draft-lundblade-rats-eat-media-type-00.txt

Anders Rundgren <anders.rundgren.net@gmail.com> Thu, 26 May 2022 20:16 UTC

Return-Path: <anders.rundgren.net@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 B89B8C1D5AC9 for <rats@ietfa.amsl.com>; Thu, 26 May 2022 13:16:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.954
X-Spam-Level:
X-Spam-Status: No, score=-3.954 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=-1.857, 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Huetn_nsL2tf for <rats@ietfa.amsl.com>; Thu, 26 May 2022 13:16:25 -0700 (PDT)
Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 1118CC1D5AC8 for <rats@ietf.org>; Thu, 26 May 2022 13:16:25 -0700 (PDT)
Received: by mail-wm1-x32d.google.com with SMTP id p19so1577643wmg.2 for <rats@ietf.org>; Thu, 26 May 2022 13:16:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=SqZWG5cYH2Hvr0XzX+vYchYFjLA+FecuG39Ag7K/jFk=; b=ViLM+4hFHlkrrMC3Ht8b6eZiAVpjKQnIVl6pQ4OdB6mkExGR5UK+pfUoQHqQ/KGwhH CIfq4baTsy2tS7yNocCD3H3dSBIIw4S8SgEZmjbjHDmUI1Z7Vu6efPuN5lebbMhsJuxB +USTMfTg/3eN1mUeigGVbByMKp1TV40X9VKzGJpKSancPz1mB4ihvRAD8oV8UJWQNDzt Wv0IjKlJpghRTddDtaWz0S6EWayAFYgEtFrRKa8YozAFT1hy0u8V+ui30msGKD0DbrRq v8afE88MXLIZi70TxqZqTSVbFgHmlGuiwQQPqD/wd/lH7EQLTRghJjEzlIMlmZJ0wejj XRVw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=SqZWG5cYH2Hvr0XzX+vYchYFjLA+FecuG39Ag7K/jFk=; b=c7s0Q1Oa/LkWgUY3wk3uaL2XIyDIrud/SrQxNuCCa42DHbGEzl35t4JkWqGjz+12Ds hpJM6aQSVBSkGksg5F0RAKBJG8ndftyvxBIMYrIkVvMtXc2G10TfoLPuCNdlKHz/8EzJ NefkdnRK5Keo0r29ArzpH3wV3UGuqfI6+bu60QnKiix/P3DVR4BMw6jyEzzm6qQ3D+/f rALBPA0V4XQfzJZniFuPfwFaWSZMpFZjLbYLMUXVmPU/MYORi83FSwn3FUWHjskyeeIG /m3aa/274BsCR8sCy2LDPTgsjLvjn6ka1O7USlXWLfJ4IoK0n6xOBnDEkmD/ILNYfdDB IJbQ==
X-Gm-Message-State: AOAM5300wIKL5CTPwOj3LdKED5M47+fKj5qFIlxzbiHs+gkuEJBD0/Wq 4b03Tx8R0948bVGpHXIzP296KpBegDU=
X-Google-Smtp-Source: ABdhPJwyCTk/ylnfZDxDiLice3a3dKali6vVGJJCjl8TGeOrn+QsSOmG/iXq1MwL8VecmwbOVpqg/g==
X-Received: by 2002:a05:600c:2312:b0:397:7647:2ac4 with SMTP id 18-20020a05600c231200b0039776472ac4mr3795299wmo.125.1653596182824; Thu, 26 May 2022 13:16:22 -0700 (PDT)
Received: from [192.168.1.67] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id q15-20020adff78f000000b002100c6cce6bsm47026wrp.109.2022.05.26.13.16.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 May 2022 13:16:22 -0700 (PDT)
Message-ID: <29b78fc3-725e-a13f-f4b6-bda9d83515c0@gmail.com>
Date: Thu, 26 May 2022 22:16:21 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1
Content-Language: en-US
To: "Smith, Ned" <ned.smith@intel.com>, Thomas Fossati <Thomas.Fossati@arm.com>, "rats@ietf.org" <rats@ietf.org>
References: <165355056395.46532.6743797345523669887@ietfa.amsl.com> <DB9PR08MB652432AF89A136F1648C752B9CD99@DB9PR08MB6524.eurprd08.prod.outlook.com> <15bc5f05-9253-24fb-11b9-87b6796cfce6@gmail.com> <1E290401-AA6E-473B-8D52-6221483D97EF@intel.com>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
In-Reply-To: <1E290401-AA6E-473B-8D52-6221483D97EF@intel.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/1vVp4DhfkU9FGNFs4vAtGT4Hp3s>
Subject: Re: [Rats] FW: New Version Notification for draft-lundblade-rats-eat-media-type-00.txt
X-BeenThere: rats@ietf.org
X-Mailman-Version: 2.1.34
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: Thu, 26 May 2022 20:16:28 -0000

On 2022-05-26 21:35, Smith, Ned wrote:
> Isn't the registration of media types addressing the need for registered object types?

Well, this is not really about registration of object types, but about identifying object instance data through a built-in top-level object type identifier.  Such identifiers would of course be registered.

A variant of this method is used in Java for serialized objects.

The main feature is supporting a building block approach where objects can be embedded by other objects and still be identified without any guesswork.  Objects can also be stored without any additional metadata.

thanx,
Anders

> -Ned
> 
> On 5/26/22, 2:45 AM, "RATS on behalf of Anders Rundgren" <rats-bounces@ietf.org on behalf of anders.rundgren.net@gmail.com> wrote:
> 
>      Hi RATS & Thomas,
> 
>      Let me briefly describe why I took a different path than RATS.
> 
> 
>      Ever since my XML/XSD days back in Y2K, I have used *self-identifying objects* based on a top-level identifier.  After abandoning XML, I applied this concept to JSON [1], and more recently to CBOR [2].
> 
>      Using this method, the media type (when needed) is simply the core type: text/xml, application/json, and application/cbor respectively.
> 
>      To make end-points capable dealing with multiple object types, a register of accepted object types is needed.  In my own designs, the entire object is read (into a DOM-like structure), and subsequently dispatched to the object-specific executor.
> 
>      Self-identified objects can be stored as well as embedded in other objects without loosing their type id.
> 
>      Unlike application-specific methods, this concept is designed to be fully universal.  The JSON-variant is inspired by the pretty high-profile verified credentials [3] effort.
> 
>      Thanx,
>      Anders
> 
>      1] {"@context": "https://example.com/myobject", json-data}
> 
>      2] 211TBD(["https://example.com/myobject", cbor-data])
> 
>      3] https://www.w3.org/TR/vc-data-model/#example-a-simple-example-of-a-verifiable-credential
> 
> 
>      On 2022-05-26 10:31, Thomas Fossati wrote:
>      > Hi RATS,
>      >
>      > Laurence, Henk and I have put together a short draft that defines and registers a bunch of media types for EAT.
>      >
>      > Have a look and tell us what you think.
>      >
>      > Cheers, thanks!
>      >
>      > *From: *internet-drafts@ietf.org <internet-drafts@ietf.org>
>      > *Date: *Thursday, 26 May 2022 at 08:36
>      > *To: *Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, Laurence Lundblade <lgl@securitytheory.com>, Thomas Fossati <Thomas.Fossati@arm.com>
>      > *Subject: *New Version Notification for draft-lundblade-rats-eat-media-type-00.txt
>      >
>      >
>      > A new version of I-D, draft-lundblade-rats-eat-media-type-00.txt
>      > has been successfully submitted by Laurence Lundblade and posted to the
>      > IETF repository.
>      >
>      > Name:           draft-lundblade-rats-eat-media-type
>      > Revision:       00
>      > Title:          EAT Media Types
>      > Document date:  2022-05-26
>      > Group:          Individual Submission
>      > Pages:          12
>      > URL: https://www.ietf.org/archive/id/draft-lundblade-rats-eat-media-type-00.txt <https://www.ietf.org/archive/id/draft-lundblade-rats-eat-media-type-00.txt>
>      > Status: https://datatracker.ietf.org/doc/draft-lundblade-rats-eat-media-type/ <https://datatracker.ietf.org/doc/draft-lundblade-rats-eat-media-type/>
>      > Html: https://www.ietf.org/archive/id/draft-lundblade-rats-eat-media-type-00.html <https://www.ietf.org/archive/id/draft-lundblade-rats-eat-media-type-00.html>
>      > Htmlized: https://datatracker.ietf.org/doc/html/draft-lundblade-rats-eat-media-type <https://datatracker.ietf.org/doc/html/draft-lundblade-rats-eat-media-type>
>      >
>      >
>      > Abstract:
>      >     Payloads used in Remote Attestation Procedures may require an
>      >     associated media type for their conveyance, for example when used in
>      >     RESTful APIs.
>      >
>      >     This memo defines media types to be used for Entity Attestation
>      >     Tokens (EAT).
>      >
>      >
>      >
>      >
>      > The IETF Secretariat
>      >
>      > 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.
>      >
>      > _______________________________________________
>      > RATS mailing list
>      > RATS@ietf.org
>      > https://www.ietf.org/mailman/listinfo/rats
> 
>      _______________________________________________
>      RATS mailing list
>      RATS@ietf.org
>      https://www.ietf.org/mailman/listinfo/rats
>