Re: [Mimi] Work In Progress mimi-content draft with TLS PL and CBOR syntax

Travis Ralston <travisr@matrix.org> Thu, 11 April 2024 05:30 UTC

Return-Path: <travisr@element.io>
X-Original-To: mimi@ietfa.amsl.com
Delivered-To: mimi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E0F4FC14F6B6 for <mimi@ietfa.amsl.com>; Wed, 10 Apr 2024 22:30:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.747
X-Spam-Level:
X-Spam-Status: No, score=-6.747 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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=matrix.org
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 tXdvIgVeY36H for <mimi@ietfa.amsl.com>; Wed, 10 Apr 2024 22:30:13 -0700 (PDT)
Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (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 94434C14F6AD for <mimi@ietf.org>; Wed, 10 Apr 2024 22:30:13 -0700 (PDT)
Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-56e32b439c5so2198112a12.1 for <mimi@ietf.org>; Wed, 10 Apr 2024 22:30:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=matrix.org; s=google; t=1712813411; x=1713418211; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rxZl6vYmih+7QPHOfJ5rAwGQ7Nrtchg3UhbhcbTxGFU=; b=TPV/4fdoVAjYSjutVppqUOlW+z0narxbM7WjOA522Ykjmm1Chi8zW899oBMqlJsR4f iaeUsFpg+JsHEOF65qszxMSjuh4eFRNzAxlTX2FbmhVGSyYCnh05HWKsvDjFOM82n0Za Hv3Ls4fgY2uq5lDge5JMW+qMuCfD6UG4dMNAZ7GlyegNuR2b5HQFYap+G2V+cm+cXgAG 6bZLAdj903cRT8XUJUpKBGOoKA65esvZifuHdOBaX6xMtgG95fhUtXp8YbrWn2IzdES6 lXLUuQvXXUnu/Q35lOFsp67/QCn8PwjhPEM4XwFRYzCkeqbqd3kMr4harGZ4w7T3Qgbx 9jbQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712813411; x=1713418211; h=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=rxZl6vYmih+7QPHOfJ5rAwGQ7Nrtchg3UhbhcbTxGFU=; b=gxp9+kRsvBeRLIWidyAgGlCk2ItGjKbfChJG8M/At6eKxZdQpr5Y1al0BIMFmf1KPl FHn8gcDyQ/NwVOVIkvHbGU4Raf7zjCzjc4QnipPNWeJ9gL0QLMd5+bZ3/zZTBu6HaWEm 6XastQauuDq4QFijGmjCWPASanIpvqme3wtchPUsKSBBcGyPF/P44mo0KP+SQwgW3rMP aPjpc5uQJN+ilSIvnnE3ePkNBttkAuWbEzCkbm/yMGvm/UTmyzEpo2E7ZYBQzRbakpFA lteYGlAtTNkiqk4UhQ04dp0X/ivjaA1klDneACeQ9O6hRqQO+krh0iWfW5S5B59oUe47 jsSw==
X-Gm-Message-State: AOJu0YwyRpUBpIkbYTaYbQ5GwKmmpEVGw2xkaKNenF4fyGHLSYfuMP3h E8YbaDwmyc6w7OVrxw1plP9BD7Ht6tRnRX+HjXdc9T/5i+EWMAUkxHBnV/Nh2PZTkt9hn11YY7L OVQU158LJZ5JVLNhOm4AvZNh1q7d+na2cpL9a6w==
X-Google-Smtp-Source: AGHT+IFWaisF5k/r8wXxd7uFFremFRn9H8fGZTojI6oErdhkiAfvKuBfbNi/bdq3k5NBlQ2x8GkNLL9tYXPMt1gE9EE=
X-Received: by 2002:a50:f609:0:b0:56c:1735:57a2 with SMTP id c9-20020a50f609000000b0056c173557a2mr4066674edn.31.1712813411174; Wed, 10 Apr 2024 22:30:11 -0700 (PDT)
MIME-Version: 1.0
References: <CAKoiRuZrPfFdRwM1pDFi-CmNNeqeQZBU6gWzmQsO06mQAWXE2Q@mail.gmail.com>
In-Reply-To: <CAKoiRuZrPfFdRwM1pDFi-CmNNeqeQZBU6gWzmQsO06mQAWXE2Q@mail.gmail.com>
From: Travis Ralston <travisr@matrix.org>
Date: Wed, 10 Apr 2024 23:30:00 -0600
Message-ID: <CANd9WG4xRsS1aBHfg9Bp1GeJ5iatEb_PF2B8vk9LjFPBbA20GA@mail.gmail.com>
To: Rohan Mahy <rohan.ietf@gmail.com>
Cc: mimi@ietf.org
Content-Type: multipart/alternative; boundary="000000000000f0a3c40615cb72ab"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mimi/CGZQS87EVQtaPWxP_j3Qu__D7wU>
Subject: Re: [Mimi] Work In Progress mimi-content draft with TLS PL and CBOR syntax
X-BeenThere: mimi@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: More Instant Messaging Interoperability <mimi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mimi>, <mailto:mimi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mimi/>
List-Post: <mailto:mimi@ietf.org>
List-Help: <mailto:mimi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mimi>, <mailto:mimi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Apr 2024 05:30:18 -0000

Hi Rohan,

Thanks for preparing this difference. The binary examples help show there's
no meaningful savings/cost to either format over the wire, which I'm taking
as a plus for either, though they don't appear to illustrate if the model
is more naturally represented by TLS-PL or CBOR. If we use the notation
from RFC 8610 <https://www.rfc-editor.org/rfc/rfc8610> (particularly
Appendix H as a visual example), are there obvious cases where CBOR is
better/worse from a modeling perspective? Having reference examples using
CDDL I think would help determine which of the encodings is a better fit
for what we're trying to achieve.

Thanks,
Travis Ralston
The Matrix.org Foundation C.I.C.

On Wed, Apr 10, 2024 at 11:19 AM Rohan Mahy <rohan.ietf@gmail.com> wrote:

> Hi Everyone,
> At IETF 119, we discussed moving to a concrete syntax for the MIMI content
> format. I have a Work In Progress which has both TLS Presentation Language
> and CBOR examples and struts defined for TLS PL. This would be an excellent
> time to have a glance and see if I am going in a direction that folks like.
>
> Thanks,
> -rohan
>
>
> --
> Mimi mailing list
> Mimi@ietf.org
> https://www.ietf.org/mailman/listinfo/mimi
>