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

Andy Bierman <andy@yumaworks.com> Tue, 28 June 2022 03:16 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 ED463C15AAC7 for <core@ietfa.amsl.com>; Mon, 27 Jun 2022 20:16:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.108
X-Spam-Level:
X-Spam-Status: No, score=-7.108 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_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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 AGNC9PrOpV_N for <core@ietfa.amsl.com>; Mon, 27 Jun 2022 20:16:25 -0700 (PDT)
Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) (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 001F8C159490 for <core@ietf.org>; Mon, 27 Jun 2022 20:16:24 -0700 (PDT)
Received: by mail-yb1-xb30.google.com with SMTP id r3so20033952ybr.6 for <core@ietf.org>; Mon, 27 Jun 2022 20:16:24 -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=E+X7i2kcdcKU7J+Ijqv6R5ZX0hCYpVgnx+QUclIiScA=; b=tklecQxcXdEnZYneAW0xfseIW5uVT3dGC0PgHk1eYV+jREUt9pu6rblBqal1H8bIcM 3i2bjCz8ApVH5oOcV4jXVvRvhJyrGmTfj2jm4JYunE+MfSdAb49zJyK3/1wiFJ5nkSbO 8uDeVnyviCZghCbBfEMY52c8PpUPXCo8C8IphprhdtxckvyFHzwQNGA2c+HjhV9RrcUC ncYCRWlthvbAnUqYU0I3HuNHM8ufCw1VRdxengufYdNsBW1X/5qZXu8xp6AqzR4yBIPN QGh1C8IZT+jyyLld6exCh6iWFd6SXkqSqd+o9LJsXSLaYGZhqeSbcIAneE0J4SaYEXUJ RwtQ==
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=E+X7i2kcdcKU7J+Ijqv6R5ZX0hCYpVgnx+QUclIiScA=; b=deBl3pv+jgkXkNbAMWD0BPZMKV5LIqgqiJlGjsmhkYUVvBSKyNH9j7S0P3mkQ77HnP LsQPUZpNtgHqJDhGzwN5pPxIcC3+z06vCJCsttSqO+wF8Cjfv/JJ7lWGHqRNizILaDB+ af9QVSHKGR7V2S82MvEpi4S6nhs4kjMtRX+7KOIY7a1gBnhR1VA6KNmMXKJVX9C/5Bhg QkaV5H0OM57Sv/8PJahIprJgt1Iv4T+KaF0+o0cWeEai5sySfSQgukSVH5A8Hiuzc/kx pKKuSU3olz5uOrhurOD5pxg7xVM6VQO6Vb7V2KBmSPzDjmoptuGwyyZ69YIyziSIGyTh k/0A==
X-Gm-Message-State: AJIora+mASGAu6dMHQfVNFW8IwNQ/MYxn1lsK3mz/KOjq/3I049CNfNE sE6wB1iX2Npd42lN4LbwOHBicjdSx2tEhKCaUCDgBQ==
X-Google-Smtp-Source: AGRyM1uFWTTBovndxfnEL2qAjdRm8j2lB+6EzeVleVxiYOlxNMFIbQe2zHczROkWaldPhlyN4ebCDoiQvMNuGBjzbH4=
X-Received: by 2002:a25:22d5:0:b0:669:dd4:c67e with SMTP id i204-20020a2522d5000000b006690dd4c67emr17291617ybi.129.1656386183841; Mon, 27 Jun 2022 20:16:23 -0700 (PDT)
MIME-Version: 1.0
References: <DU0P190MB1978F90B0893D32291F6EE7DFDB99@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <24048.1656352364@localhost> <25937.1656365067@localhost> <CABCOCHS6=F0tfESkVmOk1AFKvsu4tRfKu9A_Sgz5swVXv-eXCQ@mail.gmail.com> <26870.1656383550@localhost>
In-Reply-To: <26870.1656383550@localhost>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 27 Jun 2022 20:16:13 -0700
Message-ID: <CABCOCHSkh95PEEM5E3YKe_yc5VmsY90XxT1D-z3AiJwwcG-HhA@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Core <core@ietf.org>, anima@ietf.org
Content-Type: multipart/alternative; boundary="00000000000019641705e27976b1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/gNXuZK_FnYSTLOVx9BU_BcVbkdE>
Subject: Re: [core] 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: Tue, 28 Jun 2022 03:16:29 -0000

On Mon, Jun 27, 2022 at 7:32 PM Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
> Andy Bierman <andy@yumaworks.com> wrote:
>     > This change is not backward-compatible and not allowed per RFC 7950,
> sec 11.
>     > A new typedef with a different name is needed to allow the uint64
> encoding.
>
> Since RFC8366 uses yang:date-and-time, and our document derives from it,
> short of revising RFC8366, is there something we can do to allow use to use
> tag 1 when we encode in draft-ietf-anima-constrained-voucher?
>
>
not that I know about



> It sure seems like a major omission in yang-cbor, which is yes, approved,
> but is just
> AUTH48 today...
>
>

I am not in favor of the YANG-CBOR draft defining special encodings for
1 derived type (like date-and-time).  Implementations may not store the
named YANG typedefs defined in various YANG modules.
The current draft (properly) addresses only the base types, not derived
types.



> (Noting that revising RFC8366 *is* on our agenda, just order of operations,
> we didn't think we'd have to do that first)
>
>

Andy


> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
>
>
>
>
>