Re: [Teep] JSON/JOSE vs. CBOR/COSE

Carsten Bormann <cabo@tzi.org> Tue, 25 February 2020 08:40 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: teep@ietfa.amsl.com
Delivered-To: teep@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AB123A0A26 for <teep@ietfa.amsl.com>; Tue, 25 Feb 2020 00:40:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 mheJwhJGitCX for <teep@ietfa.amsl.com>; Tue, 25 Feb 2020 00:40:42 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6941A3A0A25 for <teep@ietf.org>; Tue, 25 Feb 2020 00:40:42 -0800 (PST)
Received: from client-0236.vpn.uni-bremen.de (client-0236.vpn.uni-bremen.de [134.102.107.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 48RXSm1NG8zyWt; Tue, 25 Feb 2020 09:40:40 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <d7bea679-02be-d27e-b540-704325f8eeb8@aist.go.jp>
Date: Tue, 25 Feb 2020 09:40:39 +0100
Cc: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, Hannes Tschofenig <Hannes.Tschofenig@arm.com>, Konda Tirumaleswar Reddy <TirumaleswarReddy_Konda@mcafee.com>, Nicolae Paladi <nicolae.paladi@ri.se>, teep <teep@ietf.org>, Mingliang Pei <mingliang.pei=40broadcom.com@dmarc.ietf.org>
X-Mao-Original-Outgoing-Id: 604312839.513575-4e955726787c58d94b78468c69077eaa
Content-Transfer-Encoding: quoted-printable
Message-Id: <B64A63CA-9312-44B8-80BF-7CBD08B9790F@tzi.org>
References: <AM6PR08MB37181998F4E68A7F6BCC8110FA130@AM6PR08MB3718.eurprd08.prod.outlook.com> <59627424-2BE9-4E52-8F57-B7853D71023C@ri.se> <CABDGos7T5rjN4qHUyg_ptC+uB4gEjY26pe3=Z+Kky-LG5gkHDQ@mail.gmail.com> <CY4PR1601MB125438E2058280B86B32F650EA120@CY4PR1601MB1254.namprd16.prod.outlook.com> <a16d028a-43cf-bb5f-f21c-e26315280a2c@sit.fraunhofer.de> <CACuRN0O44V6HCUoRMjYdiz+yU=TykR89Qxsy5BifPfES_wkxkQ@mail.gmail.com> <CACuRN0PDevvPt6AkwgtBu2LhHBDbCZT490jkyQ8CjUNHKutN3g@mail.gmail.com> <AM0PR08MB371658433A963F30E53D5B16FAEC0@AM0PR08MB3716.eurprd08.prod.outlook.com> <e7b36f1d-67da-e072-1d93-4e05808cf4f3@sit.fraunhofer.de> <AM0PR08MB3716E3D68398FC3BA4A08D4DFAEC0@AM0PR08MB3716.eurprd08.prod.outlook.com> <74f54d9a-9590-3a13-abb0-f88ce575f61d@sit.fraunhofer.de> <d7bea679-02be-d27e-b540-704325f8eeb8@aist.go.jp>
To: 塚本明 <akira.tsukamoto@aist.go.jp>
X-Mailer: Apple Mail (2.3608.60.0.2.5)
Archived-At: <https://mailarchive.ietf.org/arch/msg/teep/UVAcAKoAO8n3DaNwhF_t4QNnpVs>
Subject: Re: [Teep] JSON/JOSE vs. CBOR/COSE
X-BeenThere: teep@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: A Protocol for Dynamic Trusted Execution Environment Enablement <teep.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/teep>, <mailto:teep-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teep/>
List-Post: <mailto:teep@ietf.org>
List-Help: <mailto:teep-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/teep>, <mailto:teep-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Feb 2020 08:40:45 -0000

On 2020-02-25, at 09:37, 塚本明 <akira.tsukamoto@aist.go.jp> wrote:
> 
> Also, during the hackathon at Berlin, we did have a code to show the contents of
> teem messages in the sources but at the end we had to use WireShark to debug
> when we could not figure out why it is giving some of the parsing errors for received message,
> so having text representation in the binary packet helped the prototyping.

Wireshark has a CBOR dissector.
Maybe we should collect some information about how to best use tools like Wireshark for debugging and diagnostics.

Grüße, Carsten