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

"Konda, Tirumaleswar Reddy" <TirumaleswarReddy_Konda@McAfee.com> Tue, 03 March 2020 07:07 UTC

Return-Path: <tirumaleswarreddy_konda@mcafee.com>
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 E7E2F3A1A02 for <teep@ietfa.amsl.com>; Mon, 2 Mar 2020 23:07:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mcafee.com
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 yI4K8HJ0mqTH for <teep@ietfa.amsl.com>; Mon, 2 Mar 2020 23:07:14 -0800 (PST)
Received: from us-smtp-delivery-140.mimecast.com (us-smtp-delivery-140.mimecast.com [216.205.24.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2DD3A3A19E5 for <teep@ietf.org>; Mon, 2 Mar 2020 23:07:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mcafee.com; s=mimecast20190606; t=1583219232; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RIjHDGt+YFRa1XFtady6/Gw+QX76GW/HskT9dDmY+fU=; b=hDXXTShRqfKFA+QH41rvQgwYo3UiMLDKuVasdY6iX1x4hz9Sw3eUK3TF5rKl42XVzOvHvj mURf85qaGpE1lQW3BecjDDh8enB5GoZnBXf0T44LalYAMUsydp2CSbyRaXdg6s4HLblnag To8mdJMUBQcKPDJciPUuCCjcJI21gwE=
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2105.outbound.protection.outlook.com [104.47.70.105]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-183-EH7vplclOqmsY22Jia8CjA-1; Tue, 03 Mar 2020 02:07:11 -0500
X-MC-Unique: EH7vplclOqmsY22Jia8CjA-1
Received: from CY4PR1601MB1254.namprd16.prod.outlook.com (2603:10b6:903:d4::12) by CY4PR1601MB1175.namprd16.prod.outlook.com (2603:10b6:903:ce::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.18; Tue, 3 Mar 2020 07:07:07 +0000
Received: from CY4PR1601MB1254.namprd16.prod.outlook.com ([fe80::a48c:a975:ccfa:8d29]) by CY4PR1601MB1254.namprd16.prod.outlook.com ([fe80::a48c:a975:ccfa:8d29%4]) with mapi id 15.20.2772.019; Tue, 3 Mar 2020 07:07:07 +0000
From: "Konda, Tirumaleswar Reddy" <TirumaleswarReddy_Konda@McAfee.com>
To: 塚本明 <akira.tsukamoto@aist.go.jp>, Carsten Bormann <cabo@tzi.org>
CC: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, Hannes Tschofenig <Hannes.Tschofenig@arm.com>, Nicolae Paladi <nicolae.paladi@ri.se>, teep <teep@ietf.org>, Mingliang Pei <mingliang.pei=40broadcom.com@dmarc.ietf.org>
Thread-Topic: [Teep] JSON/JOSE vs. CBOR/COSE
Thread-Index: AdXn1SQGDdHEa7ViTNKpyKZllFqBSgAJI/6AAAYjxoAAIjYkoAAAP/GAAJ2aBNgAAGTOgAAAZXoAAACMhIAAACiIgAAnk3MAAAAcw4AAAEvYAAFcWmeQ
Date: Tue, 03 Mar 2020 07:07:07 +0000
Message-ID: <CY4PR1601MB125493EEC14F12FEA57798EAEAE40@CY4PR1601MB1254.namprd16.prod.outlook.com>
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> <B64A63CA-9312-44B8-80BF-7CBD08B9790F@tzi.org> <7fa30370-85bf-a83c-5588-8f8d8826f72f@aist.go.jp>
In-Reply-To: <7fa30370-85bf-a83c-5588-8f8d8826f72f@aist.go.jp>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.4.0.45
dlp-reaction: timeout-no-action
x-originating-ip: [49.37.206.212]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0fd4b33f-99aa-4955-bac3-08d7bf417c29
x-ms-traffictypediagnostic: CY4PR1601MB1175:
x-microsoft-antispam-prvs: <CY4PR1601MB117543593A2346949494ABCFEAE40@CY4PR1601MB1175.namprd16.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-forefront-prvs: 03319F6FEF
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(39860400002)(346002)(376002)(136003)(396003)(189003)(199004)(32952001)(8936002)(81166006)(5660300002)(81156014)(53546011)(54906003)(26005)(7696005)(8676002)(6506007)(316002)(186003)(110136005)(2906002)(86362001)(66946007)(66476007)(66556008)(64756008)(66446008)(52536014)(4326008)(33656002)(76116006)(55016002)(478600001)(9686003)(71200400001)(85282002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1601MB1175; H:CY4PR1601MB1254.namprd16.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 4PL/7kAs11PtR6QkF3PLzq+hVkLW5nL/qg8cVDvkoFwCrdY9i99w0TKwQsfEzbygNPSnPKbW4n0yEiJd+xSW3XLWchsTkVxT3GD8/uSyll6AZhrm9cPH67cW7DTDBb7DvO7ctyHwSWjHDc4cmQ1vjIOOMP4T5On3puZ/OcbqhENNaOZdPmw/svh2TVDoc60/0lkXL7+FYZSeycOru0nuf1GKvzzKc2rC2lsJEtK5OMRY2MyMvi3aehicEMCYdy3tT2VK3GAcAuqJ+RlhphH727wEsWzY2biCB7NcPyYe1+cfH3H3UsxhzBnN2+i0t61H1yoSwx1TXLSzQL0xb2cJzZgZKdJOIVgfWwVTVEis9yFVljhYPnli9ImBWfpJ1faj7mtmzIobFtEYRMNkpAVN/J4scsa3i5fEd1O7DM/Fg8acuZM8TWYQHiSpClc8DU9HFIa+zc42w/UFTLjiIlCLLOLoLM1HSRfEAWgsqArHWHbbNOMzoQ8Qt0Purt/7DV1mfoKI8VZlw52PRWJI0uTsJQ==
x-ms-exchange-antispam-messagedata: GI6Z+AyfWdMd5TKrYCdkECH07d2WmffXnNVH6pn2gYq+3J2F1CJrryQbyQHx6yvAP3PF97rtaTpsdvZgVyq1A71sXv2ZdhAr5V0qzNNuG+knTnGez3iLWTkuSGWMVbhIFXXX7R5TDZYgXl5Nd8HjCw==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: mcafee.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0fd4b33f-99aa-4955-bac3-08d7bf417c29
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2020 07:07:07.1184 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4943e38c-6dd4-428c-886d-24932bc2d5de
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: qfiy7oamEeHV8BLihlsQtLVHk4MmiRiLyCOi81VYNghqvhHMYPs8YN6LKwlzbIcsPbsvks22qaH6NHRGin3Z+EDFFDg5zqeP1GVOR7ooXGbkzDwFGsFixKbX0IkISLJQ
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1601MB1175
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: mcafee.com
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/teep/7QLewe79knddLFhsA7fQSPdVan4>
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, 03 Mar 2020 07:07:24 -0000

We see consensus to go with CBOR/COSE and CBOR diagnostic notation for debugging purpose. I believe the issue is closed.

Cheers,
-Tiru

> -----Original Message-----
> From: 塚本明 <akira.tsukamoto@aist.go.jp>
> Sent: Tuesday, February 25, 2020 2:19 PM
> To: Carsten Bormann <cabo@tzi.org>
> 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>
> Subject: Re: [Teep] JSON/JOSE vs. CBOR/COSE
> 
> CAUTION: External email. Do not click links or open attachments unless you
> recognize the sender and know the content is safe.
> 
> 
> On 2020/02/25 17:40, Carsten Bormann wrote:
> > 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.
> 
> Wow, I did not know the Wireshark has a CBOR dissector. It seems to be a
> good topic at the next hackathon.
> 
> -Akira
>