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 09:45 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 F3726C157B51 for <rats@ietfa.amsl.com>; Thu, 26 May 2022 02:45:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.952
X-Spam-Level:
X-Spam-Status: No, score=-3.952 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 RqqHM7VXkOaC for <rats@ietfa.amsl.com>; Thu, 26 May 2022 02:45:30 -0700 (PDT)
Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (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 3B4D0C157B41 for <rats@ietf.org>; Thu, 26 May 2022 02:45:30 -0700 (PDT)
Received: by mail-wr1-x42f.google.com with SMTP id t13so1435201wrg.9 for <rats@ietf.org>; Thu, 26 May 2022 02:45:30 -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=523vM+pidGKM2vWrWL0qYuttR3jFXGND3n6xO44iZTE=; b=pMmZxJZ8o0TCi1+ymUx7DwMxy5RIt67b9jrCyQ45aU2HHikt3Z4hSTZdBV2RYnyWuv hKjtnRTKBmcVPybXdVupSy6+EmfvEAT1fRk2tw4dS5YR/jdeofjRfxqHXfd9sIpfH2Jo C3ePtH8I/QGke+5qT62ip0aow2y1G8b/vdeEeMc89o/6NFtG7jkBb03W7dlvkyqLcrHH jMeTIx6TsjbK1AzxLCEdZ3ZPipH/ZYXuG+qjZo5lTEkcz0JFzCPcXi1OOsFHPl5P51QA ljQAEeqO9u5ArL/4/oaXwWVTZ27FUrAZZsEFmyUU8PPfc32Rrs9NNxZ2urhHEY8/T62X qohQ==
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=523vM+pidGKM2vWrWL0qYuttR3jFXGND3n6xO44iZTE=; b=jByQSPDYQulBWT5zjbcG/8xfUCF5pyQPbLxfPEAqGl4CKHrEfYOwHu9ytR2Fwt9EUM zhAyxk6p2orPZHr9oNp00ORgbkAWApSxKsJDdBmp0mpY7l9riGKEkHYOJFUIszKpRAjm eC+V6U7P8num+PSKsM5QGrscStYqI5twRvHzzLmzLJlUiIrRnAuC5Xkqu1lWU/K/zd2W +pCMGkF03lXcTMN75AGvtBwgOMJ44nRbKjaXHzk6UEgsaCTKPeOmEiknJIuXapct0wKa +GD93T4bfTNbPFZW8ND83bVFWcbPTKLY7iiM3Dp9Wik6aecOrMWR1L2tGmo9YsTLLroq HaMg==
X-Gm-Message-State: AOAM53394H5efAeehA9E7xvpYiLeJ9317EN0YIU9YFubcU1Ho3QJhe0F ug7ez/YgrKuy6ajpk3uX5Cc=
X-Google-Smtp-Source: ABdhPJzx8I5w9I1weDQf2EQqwI8VGzMepiPS76hlKK7kzZwsi5eUPDIRBHnW7OfWNsxn4v0wPhOJ+g==
X-Received: by 2002:adf:fe8c:0:b0:20e:5ca5:a5ec with SMTP id l12-20020adffe8c000000b0020e5ca5a5ecmr30619631wrr.414.1653558328179; Thu, 26 May 2022 02:45:28 -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 d17-20020adffbd1000000b0020d09f0b766sm1265040wrs.71.2022.05.26.02.45.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 May 2022 02:45:27 -0700 (PDT)
Message-ID: <15bc5f05-9253-24fb-11b9-87b6796cfce6@gmail.com>
Date: Thu, 26 May 2022 11:45:27 +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: 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>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
In-Reply-To: <DB9PR08MB652432AF89A136F1648C752B9CD99@DB9PR08MB6524.eurprd08.prod.outlook.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/nGbSZjvHLQ2lKKtQ0M9dYNrDXUA>
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 09:45:32 -0000

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