Re: [Cbor] [COSE] New wireshark API and dissector

Carsten Bormann <cabo@tzi.org> Fri, 01 October 2021 09:58 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 188513A04BC; Fri, 1 Oct 2021 02:58:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3zjYJLtgIIKq; Fri, 1 Oct 2021 02:58:37 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 668D83A0404; Fri, 1 Oct 2021 02:58:36 -0700 (PDT)
Received: from [192.168.217.118] (p548dcf6e.dip0.t-ipconnect.de [84.141.207.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HLQY472bRz2xjL; Fri, 1 Oct 2021 11:58:32 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAM1+-gj279UQMDGVty_dGwinM1Awx1kboZwxOjjd_Ptgwy82qQ@mail.gmail.com>
Date: Fri, 01 Oct 2021 11:58:32 +0200
Cc: cbor@ietf.org, cose@ietf.org
X-Mao-Original-Outgoing-Id: 654775112.463535-019e43ca07bf723e00dbc043b1d46fda
Content-Transfer-Encoding: quoted-printable
Message-Id: <919C21DB-39B4-4A0D-ACED-0075D01F05B1@tzi.org>
References: <CAM1+-gj279UQMDGVty_dGwinM1Awx1kboZwxOjjd_Ptgwy82qQ@mail.gmail.com>
To: Brian Sipos <brian.sipos+ietf@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/7wwUQuzlvqdPedDPnLwypNyTo8s>
Subject: Re: [Cbor] [COSE] New wireshark API and dissector
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2021 09:58:42 -0000

Hi Brian,

> On 2021-10-01, at 01:29, Brian Sipos <brian.sipos+ietf@gmail.com> wrote:
> 
> All,
> For anyone interested, a new COSE message dissector and a new CBOR decoding API has been recently merged to the main branch of Wireshark [1].

This is most welcome news!

> For new dissectors of protocols which use CBOR as their encoding, this "wscbor" API gives a higher-level of abstraction (e.g. "text = wscbor_require_tstr(...)") and robustness to both tags and errors in structure and well-formedness.

(Of course, there now is the nagging question what the “WS” means here — probably not “Web Services” :-)

> Hopefully this will be helpful to other dissectors, since there are quite a a few CBOR-based protocols in the works.

Indeed!

Grüße, Carsten