Re: [core] [Anima] date-and-time and "created-on" field in constrained-voucher

Andy Bierman <andy@yumaworks.com> Wed, 29 June 2022 20:26 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 71B13C157B33 for <core@ietfa.amsl.com>; Wed, 29 Jun 2022 13:26:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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, HTML_MESSAGE=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, 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=yumaworks.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 vuXnT_Q2qazc for <core@ietfa.amsl.com>; Wed, 29 Jun 2022 13:26:33 -0700 (PDT)
Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) (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 7A9D1C147921 for <core@ietf.org>; Wed, 29 Jun 2022 13:26:33 -0700 (PDT)
Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-3177f4ce3e2so159780287b3.5 for <core@ietf.org>; Wed, 29 Jun 2022 13:26:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4HtES+yy+VIqTEGn3B/u7Di8BStFfny0GNxy7PW1FpM=; b=fqDZ5jaSun/DSx2MRefH9MzaBXmC4P1sREDLRJ3l8y0rKKUVkabi2EawIlKPVAc9ka aYw6ZB/Pg8Ldq5bFnkSlmERaD+lL2JYeRdw9td4/NGpBMQdjkMWS0kJ2GPz59v8vU4vP uFD//pg/qNKFt5QzJcisCriw4AB9o2+nO37Zmj8aCcTqriTPA1tXm7tPYZrsKIhkblzt dYB0jfhiU+HomX6zQAkRnqHQsWjLMNXmyPfO8hefdP+bNIi7eDuYOZRIPjGN9XBtqH6L /xcrFmcKJ0ZuXoHJ7PqhYd3esagRBqvQF6Gs8yZTidherInxhQZrcH8fBHvUXI8WqrYF UHag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4HtES+yy+VIqTEGn3B/u7Di8BStFfny0GNxy7PW1FpM=; b=nOWlSwI8Z1nJlxfq+jQKMIvShJWjv6UhNftz1PAeGrUp7/gGFtp9yygvSIe+9u2g4l 9DRsrq7YwlfWKB7fNnADYQSeSfJIxr4UlWnxhunm4W7CuXcYrISsU0NuJ2mwrpxx4RJq K9nkHCMu0og6p4MxL40rU0AlwGb/dIFgwlA9jjR9+FQbi69cp7sTa//c+ivnpDw8YaHX 4ULeC0/X/DsB+5kS2G8gM42jjw6rfMkyeEPIj7/fTAYHPenGwDJNFDiw/nobv4HCtn5n YSUjBeQ0u0Wj0qfzY/mwBjR23qGTE93opl+9UAFlodboqOjpQKzwMwxz6cgIej9UGiEO zTeQ==
X-Gm-Message-State: AJIora/kRrRKl7BGeJtKEj5gY21co8gxOGIzTdm4/YpkYa9qF0IwP6/F f8nEBrlICxwnOrnyzv7wDyvUVvez4AiLcB34lke7vw==
X-Google-Smtp-Source: AGRyM1s6ftFxwDXOz4pH+6zemXXp7vxPDdrxJajawNysveRkrwVu4Tml1gzmZg5BtEQkp7qW4o+/A9xuK/teB7cLC5s=
X-Received: by 2002:a81:9a53:0:b0:31c:19b6:f32b with SMTP id r80-20020a819a53000000b0031c19b6f32bmr5641218ywg.322.1656534392043; Wed, 29 Jun 2022 13:26:32 -0700 (PDT)
MIME-Version: 1.0
References: <24048.1656352364@localhost> <25937.1656365067@localhost> <CABCOCHS6=F0tfESkVmOk1AFKvsu4tRfKu9A_Sgz5swVXv-eXCQ@mail.gmail.com> <26870.1656383550@localhost> <CABCOCHSkh95PEEM5E3YKe_yc5VmsY90XxT1D-z3AiJwwcG-HhA@mail.gmail.com> <7669.1656440710@localhost> <6DCC06F4-3799-4CC0-8780-21E6B12A4022@tzi.org> <CABCOCHQqtKw6cZ1o7nzDmQBN0zQP70CgeAAc6nFdRa_kB+-DBQ@mail.gmail.com> <09C66776-54C5-4C5D-9DFA-E164A1050170@tzi.org> <E51C95DD-0AC5-40E4-8609-E0B444E77786@tzi.org> <20220629015429.vfps46mvcb7io67o@anna> <04EC3D51-6242-4547-BF7F-397859E8D18E@tzi.org> <CABCOCHSEyGakhuukHkLU-bWUV26QAzc3vkOuLEMRf8-YZbFtqQ@mail.gmail.com> <27FD2DA5-AF36-4E57-ADC8-2D6F8DE62919@tzi.org> <CABCOCHSk2moVv_X90SAjHX8RyTE4XJcSGEvU4ufZnGN_eYWY=A@mail.gmail.com> <D27B5BB0-D545-46BF-B878-69C583345E73@tzi.org>
In-Reply-To: <D27B5BB0-D545-46BF-B878-69C583345E73@tzi.org>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 29 Jun 2022 13:26:21 -0700
Message-ID: <CABCOCHRNveBNYm0boZRoWhX2+SerB0=9bx+T2D89UNMQkAv_Xw@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, anima@ietf.org, Core <core@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ff101405e29bf7f5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/HA89L9vaQ636sFmhcO3wMiEVRsc>
Subject: Re: [core] [Anima] date-and-time and "created-on" field in constrained-voucher
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Jun 2022 20:26:37 -0000

On Wed, Jun 29, 2022 at 12:17 PM Carsten Bormann <cabo@tzi.org> wrote:

> On 29. Jun 2022, at 19:10, Andy Bierman <andy@yumaworks.com> wrote:
> >
> > The sender and receiver need to agree on the encoding of each schema
> item.
> > There can be no guessing.  But maybe this is a protocol issue and can be
> addressed there.
>
> Yes.  E.g, the constrained-voucher spec could define a new media type,
> ZANG-data+CBOR, which is defined to be almost identical to YANG-data+CBOR,
> except that in a few places (small matter of defining this properly, e.g.,
> based on SIDs) the encoding deviates.
>
>
There will be more optimizations that will be added over time.
Would it be possible to use a media-type parameter to identify each of the
almost-identical variants?
I new media type for each variant seems like too much cut-and-paste.



> Grüße, Carsten
>

Andy