[art] Request for review of draft-devault-bare-08

Jiri Vlasak <jiri.hubacek@gmail.com> Fri, 13 January 2023 23:38 UTC

Return-Path: <jiri.hubacek@gmail.com>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 10A4AC16FE3A for <art@ietfa.amsl.com>; Fri, 13 Jan 2023 15:38:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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, RCVD_IN_DNSWL_NONE=-0.0001, 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 gzdoMUTIsBIJ for <art@ietfa.amsl.com>; Fri, 13 Jan 2023 15:38:00 -0800 (PST)
Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (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 C743BC16ECA3 for <art@ietf.org>; Fri, 13 Jan 2023 15:38:00 -0800 (PST)
Received: by mail-ej1-x62a.google.com with SMTP id cf18so49444118ejb.5 for <art@ietf.org>; Fri, 13 Jan 2023 15:38:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:mail-followup-to:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=RdWVCYloZOSxwRulgCzAwaDLJ0knozcz8t2cVVeiBvw=; b=ff5YWy2feGjKWjVjX2bJkhDgwDkusb2UxpchEVsY0460G1YezIPYyXN+IJlF+ZAQtx V6IuXpsPVbHeEPsQEWxxHa+z9K0df2D0YRKdrtUjNOlL4CdaUNdCS/6EUtQjIMoMFlPT LZAuCsNEAHR3EbS9Da4bAS/YWASqzaoEiLZuvLAKVG//0Ul+whkg38jThcwxHG0oCuzb g02fMrAN4lNkLO0FZRNBMiyJrZa60s03X98mhk8SbB34l2KhwEd9MX46qBNFl0efugpB gMhYmK2WEkUZKb+9Z6rPIT9F+4ozmphYBDmk23emhPFEDrYX8SGzmVGmZlKZq+rafHa0 aZaQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:mail-followup-to:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RdWVCYloZOSxwRulgCzAwaDLJ0knozcz8t2cVVeiBvw=; b=JbeOcYogOR5y1GBtIsrE+O24qPDh/bgvgdzshB0SknYNRPXQ/kfbbP5S/iWzZHu01J vHySzWCVIqOKN9wLdUufVp1BiiknK1r4m0W4tJnqg6Ot8fCUnsP+91LilXrRvhL9Fyqs fclHCC30XVk3uSQtwjRLOFj17/LKsXMyWn+IURpdbLQnvfjuuTgFy3h6jfM1gj6N2J6G wVe8QR5inYx3NDk/2fxQYoWrHTQyrO9JN/e0ZBKWnXMg1hK0ebbgPOoav3ZdpSwPqfZ3 I512g6g3In5Bc0f50ihiCX2MJVdpiWSO5U9MIITjgL+kLXfeazwyAjFU592wgaarLRoh i9HA==
X-Gm-Message-State: AFqh2ko3r9Qh6ISLC+YMrBpi/h2S7QAKpZGNvhk8alE49g1rI7hKl1tm zPjk0oKiIzCFK/xXtzuhoKwap4XHhOA=
X-Google-Smtp-Source: AMrXdXu1c64zlDPk9YGsT/zVs0xZrtH+46AU+kgVbJwfDRyTHfpDdGD9dGHS+xXwGpX4O79j4ffyPA==
X-Received: by 2002:a17:906:7747:b0:840:604:1da1 with SMTP id o7-20020a170906774700b0084006041da1mr67107339ejn.61.1673653079276; Fri, 13 Jan 2023 15:37:59 -0800 (PST)
Received: from gmail.com (185-170-195-217.cust.centrio.cz. [217.195.170.185]) by smtp.gmail.com with ESMTPSA id ti11-20020a170907c20b00b007c10bb5b4b8sm8957918ejc.224.2023.01.13.15.37.57 for <art@ietf.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 15:37:58 -0800 (PST)
Date: Sat, 14 Jan 2023 00:37:55 +0100
From: Jiri Vlasak <jiri.hubacek@gmail.com>
To: art@ietf.org
Message-ID: <Y8HrU/qiA+d4do4r@gmail.com>
Mail-Followup-To: art@ietf.org
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/-km0om5cdD3P4UvPYas5DFUdI38>
Subject: [art] Request for review of draft-devault-bare-08
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jan 2023 23:38:05 -0000

Dear Members of the Applications and Real-Time Area,

I would like to follow up my aspiration to publish Binary Application
Record Encoding (BARE) Internet-Draft [1]. I will quickly comment on
IETF114 DISPATCH meeting minutes [2] and propose Charter for Working
Group.

Please, note that BARE was discussed before [3][4] and version 08
includes comprehensive feedback from the BARE developers [5]. Also,
please note I consider myself IETF newbie and I would appreciate if you
can help to direct my next steps.

> Dispatch outcome: A possible WG or discussion forum on this problem
> space, as it repeatedly comes up, but not necessarily this proposal -
> needs to be more widely applicable than only one company (possibly
> this is why it has not been standardised thus far, because it is
> company-specific) and have multiple implementors. Therefore: find more
> supporters and then return with this proposal (and possibly others)
> for WG-scoping.

I would like to comment on those two:

> be more widely applicable than only one company

BARE is "more widely applicable than only one company". Moreover, it is
"being applied": along with SourceHut, using BARE for authentication
tokens [6], it is used by bupstash for internal records [7], by soju for
stateless identifiers [8], and in some personal projects [9].

More about "being applicable" -- because BARE consider simplicity of the
implementation as one of its goals, it is simple to implement it in new
programming language. Because BARE is comprehensive in number of types,
but still kept simple and well-defined, it is good base for other
protocol specifications.

I still have no Google-sized company behind, but I found this in the
IETF introduction [10]:

> We try to avoid policy and business questions, as much as possible.

So I believe BARE will be considered from the engineering point of view.
Please, note that "not being applied" may be related to "not being
standardized".

> have multiple implementors

There are 18 implementations from different authors in different
programming languages [11]. I believe that publication will motivate
developers to keep with the latest version of the standard and to
improve the quality of their implementation.

---
Proposal: Charter for BARE Working Group

Binary Application Record Encoding (BARE) [1] is the encoding with
concise messages and a well-defined message schema. It aims for
simplicity of implementation and broad compatibility.

BARE Working Group will summarize possible use-cases and compare BARE to
existing encodings like XDR, CBOR, encoding used in TLS and MLS, or
not-standardized encodings like Avro, Protobufs, Cap'n proto, Thrift, or
FlatBufers.

BARE Working Group is short-lived with the goal to publish BARE.
---

Thank you and have a nice day,
jiri


[1]: https://www.ietf.org/archive/id/draft-devault-bare-08.html
[2]: https://datatracker.ietf.org/doc/minutes-114-dispatch-202207251000/#binary-application-record-encoding-bare-20-min
[3]: https://mailarchive.ietf.org/arch/msg/art/p6s0Q3KPaVkBj7Y9xkNSF5XJQcs/
[4]: https://mailarchive.ietf.org/arch/msg/dispatch/q4EptN2wWDDt1ea2lLqoYI_d79A/
[5]: https://lists.sr.ht/~sircmpwn/public-inbox/?search=BARE
[6]: https://git.sr.ht/~sircmpwn/core-go/tree/master/item/auth/bearer.go
[7]: https://bupstash.io/doc/man/bupstash-repository.html
[8]: https://git.sr.ht/~emersion/soju/tree/dc58a707/item/msgstore.go#L75
[9]: https://github.com/c-cube/sidekick/blob/70206101f0cfe39cd457f317657679af524a9f4c/src/proof-trace/proof_ser.bare
[10]: https://www.ietf.org/about/participate/get-started/
[11]: https://baremessages.org/