Re: [dispatch] draft-devault-bare-07 to be discussed during IETF 114

Eric Rescorla <ekr@rtfm.com> Thu, 09 June 2022 14:41 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E5CF9C159483 for <dispatch@ietfa.amsl.com>; Thu, 9 Jun 2022 07:41:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level:
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=rtfm-com.20210112.gappssmtp.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 oty6lO1MKFKu for <dispatch@ietfa.amsl.com>; Thu, 9 Jun 2022 07:41:51 -0700 (PDT)
Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (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 3FB69C157B57 for <dispatch@ietf.org>; Thu, 9 Jun 2022 07:41:51 -0700 (PDT)
Received: by mail-io1-xd30.google.com with SMTP id s23so22314738iog.13 for <dispatch@ietf.org>; Thu, 09 Jun 2022 07:41:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=RvUQcQP6+6T+WHoO9QZfUCPbfKaS7d+VzyiXEPWfB1Y=; b=Eooileodh40WVwQqFVoWk6WjILyqXW47sWf96u0Bc0IIcxLHFv5NgTRCIv4MvGnBjU JsQBvTwaNU+2N/osdzF+PnipvWP3HLcs8UJx/wWlnrm3wpYTC+Mbhm2Db6YOmLF0FUVq ETSB/KN4y3PFnRR7AA6ENXNRv/J+YtQbfJprLoh0MK5U4ooVkCfkkCVDtlVT/1yYGajP VrCy9eKSc+mjL5cooFdr+e6iApiu4Y6XuI5AwhYONqt/D41oTvuWhrW4U46opxwh6bye VFI1SRITyUPTu8pyYGb/SnaToMTEt5kEXgLvHe8vBSCUSrBrSiLhcEfpTchDjoFMoUHi ki4Q==
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; bh=RvUQcQP6+6T+WHoO9QZfUCPbfKaS7d+VzyiXEPWfB1Y=; b=O5NJwuLBu/OpLB+PxfolQIaCJjmExz5pOFsqIKgr9Qz/7/YWW3uNyH7phoNtg4HEqt 2F6zmbBp+n5x5ym8vdFc8oiLcrLtObTFYR33z241AY84HIpp1x3qvz2wX5hz7lFQbdWz npjpGM+VmMrHhe0hAFas0uFDin8i3Jw/JvxsB3HOGQXrPTuOa1hnYCyGmFkly1Ffj2V8 GqDk+Yq01u62gLj534DKReHhOOwsh2Vs7Sr3lAZDCzpWZCtkMCUDIpRH8lwYpwpYUsJQ Rzyr5DdB1zUjRYUEPuxPmxPrEDK1dUa97wXvZdKvlp2rkK/SYTYWiF8KE+Jyc6shBYhr zqBg==
X-Gm-Message-State: AOAM532VY1DeNyfCw+gSq3Qp2U6++sYEKSuINdNrAJJpIV710/i8kHjv zzY/cRDUUrhIYkkZqL/j/bPVzuLSNMmECm2t5+AMkf0h954=
X-Google-Smtp-Source: ABdhPJxTnNNCSlqlNxSl7EpIek7A26fKTTrvTVNz00omJHFA6Sp0ozd5+Eik+b0pIwxdfA6KWPyglsh9MKCtxLQFmpc=
X-Received: by 2002:a02:7105:0:b0:330:b845:176f with SMTP id n5-20020a027105000000b00330b845176fmr21836330jac.111.1654785710584; Thu, 09 Jun 2022 07:41:50 -0700 (PDT)
MIME-Version: 1.0
References: <YqC0MHD7MPpcFEuc@cvut.cz> <20220608210551.72EB94341C93@ary.qy> <YqH16YukCzEbLBF3@cvut.cz>
In-Reply-To: <YqH16YukCzEbLBF3@cvut.cz>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 09 Jun 2022 07:41:14 -0700
Message-ID: <CABcZeBNBSt0z7ur7_JwhBs30s05wT9n4jsDZA1wre991fkvS8w@mail.gmail.com>
To: John Levine <johnl@taugh.com>, DISPATCH <dispatch@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000758f4c05e104d2ac"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/pX7CtCengw2Fq9-2Ky5SyH1p4EU>
Subject: Re: [dispatch] draft-devault-bare-07 to be discussed during IETF 114
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jun 2022 14:41:55 -0000

On Thu, Jun 9, 2022 at 6:30 AM Jiri Vlasak <jiri.hubacek@gmail.com> wrote:

> > An obvious question is why one would use BARE rather than CBOR which
> > appears at first glance to do the largely the same thing. See RFCs
> > 8949, 8152, 8392, 8610, 8742, 8746, and 8812.
>
> An obvious answer is that because BARE spec [1] is short. It has about
> 17 pages (depends on the format), that include schema language and many
> examples.
>

Without taking a position on BARE, this is not necessarily a virtue. There
are (at least)
two reasons why a draft might be shorter than alternative technologies
 (1) that it is simpler (2) that is underspecified.




> Moreover, BARE needs the schema available prior to the communication,
> which is not needed in CBOR [2] as stated in the objectives. In this
> manner, BARE better compares to XDR [3].
>

As I understand it, CBOR does however support schema, no? If so,
I'm not sure why requiring it is an advantage. Is the idea that it makes
the format more compact? Something else?


Finally, I note that your name does not appear in the author list of this
document.
Can you clarify the situation here?

-Ekr




> If you can join the session remotely, I expect we can have a useful
> > discussion about this and related topics.
>
> I will try to save the time and do my best in the discussion.
>
> [1]: https://datatracker.ietf.org/doc/draft-devault-bare/
> [2]: https://www.rfc-editor.org/rfc/rfc8949.html
> [3]: https://datatracker.ietf.org/doc/html/rfc4506.html
>
> _______________________________________________
> dispatch mailing list
> dispatch@ietf.org
> https://www.ietf.org/mailman/listinfo/dispatch
>