Re: [Teep] Call for adoption of draft-thaler-teep-otrp-over-http

"faibish, sorin" <Faibish.Sorin@dell.com> Wed, 29 May 2019 15:00 UTC

Return-Path: <Faibish.Sorin@dell.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 22216120151 for <teep@ietfa.amsl.com>; Wed, 29 May 2019 08:00:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.709
X-Spam-Level:
X-Spam-Status: No, score=-2.709 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=dell.com header.b=gJEUyZ0B; dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=emc.com header.b=XJiU+Fuu
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 XO_aQN2QVeyv for <teep@ietfa.amsl.com>; Wed, 29 May 2019 07:59:58 -0700 (PDT)
Received: from mx0a-00154904.pphosted.com (mx0a-00154904.pphosted.com [148.163.133.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1B8F2120140 for <teep@ietf.org>; Wed, 29 May 2019 07:59:58 -0700 (PDT)
Received: from pps.filterd (m0170389.ppops.net [127.0.0.1]) by mx0a-00154904.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4TEtRbn012536; Wed, 29 May 2019 10:59:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=smtpout1; bh=CAJvHFNZFip1YErfovNeNWA170OhT54RhPy4wowyPls=; b=gJEUyZ0BaGkrnz6CRu/dDOA1mcWGscNxNU/16KuefO4vEGU7M3syXPg0ERl0kKP/HWtU 2i7bpz1ZDg49cWgcK3jLPWQSaKmxurP966ebewPUMG9MlgpRVcyC7/BHXUrBYepeI76J p3Ydo8mGa57QZu7kemM710TVK2DdmICuqycydxy2dnlKQA3JoaWzwBQr0fwhGIAxsVWQ bXW6YM6NwMXjz7c9GENvjbRZB7LNrR8t+eonl2+qu4dv6TAYHxecGGcBJott5TGmBpwU RSC/yqeAJ43kKgfYkzcwiTlof17ZsfmVhlO6mVX6LdVIGrRBu8zIWnMEtceGn/pnQEbP 9A==
Received: from mx0a-00154901.pphosted.com (mx0a-00154901.pphosted.com [67.231.149.39]) by mx0a-00154904.pphosted.com with ESMTP id 2ssqkssayy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 May 2019 10:59:52 -0400
Received: from pps.filterd (m0134746.ppops.net [127.0.0.1]) by mx0a-00154901.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4TEqfVP063566; Wed, 29 May 2019 10:59:52 -0400
Received: from mailuogwdur.emc.com (mailuogwdur.emc.com [128.221.224.79]) by mx0a-00154901.pphosted.com with ESMTP id 2ssuttgk3u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 May 2019 10:59:51 -0400
Received: from maildlpprd55.lss.emc.com (maildlpprd55.lss.emc.com [10.106.48.159]) by mailuogwprd51.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id x4TExhB2004711 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 29 May 2019 10:59:50 -0400
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com x4TExhB2004711
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1559141990; bh=/8KBdAR+6Q0M4awaEQK8kgKv9Rs=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=XJiU+FuuPU5lHIx3ou8FzP0Ea6jiY2VTEhZcW+1cZT9/q+2v4S9NAOUNOrH2383a1 wld24mN9GtNBCCIp+kNLT8KJKV/PIBuoaV8GGeP7KNvCjuFe9fn9QRIVGx2hkc3WHu VKGlXS9DYh4WFb8NZu0+Pg4IFLhSfPwS6M+eq7Dk=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com x4TExhB2004711
Received: from mailusrhubprd53.lss.emc.com (mailusrhubprd53.lss.emc.com [10.106.48.18]) by maildlpprd55.lss.emc.com (RSA Interceptor); Wed, 29 May 2019 10:59:23 -0400
Received: from MXHUB320.corp.emc.com (MXHUB320.corp.emc.com [10.146.3.98]) by mailusrhubprd53.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id x4TExTpC011845 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=FAIL); Wed, 29 May 2019 10:59:29 -0400
Received: from MX304CL01.corp.emc.com ([fe80::2d21:ebf8:dc15:2b07]) by MXHUB320.corp.emc.com ([10.146.3.98]) with mapi id 14.03.0439.000; Wed, 29 May 2019 10:59:29 -0400
From: "faibish, sorin" <Faibish.Sorin@dell.com>
To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>, Dave Thaler <dthaler=40microsoft.com@dmarc.ietf.org>, Anders Rundgren <anders.rundgren.net@gmail.com>, "Nancy Cam-Winget (ncamwing)" <ncamwing@cisco.com>, "teep@ietf.org" <teep@ietf.org>
Thread-Topic: [Teep] Call for adoption of draft-thaler-teep-otrp-over-http
Thread-Index: AQHVFOGEwUKGBoO0w0ufhIS/wg0a4KaASWUAgADbnoCAAUuHAP//wqTQ
Date: Wed, 29 May 2019 14:59:28 +0000
Message-ID: <2313358402DBCC4DB2F2DC03CB08BBFE01AAF6C5@MX304CL01.corp.emc.com>
References: <B57377C9-72EC-45C4-B5C2-9A6443B8C073@cisco.com> <246ce79a-75a6-4e4d-d76a-2b54eb71cf75@gmail.com> <BN6PR21MB0497781C059E34E015875C55A31E0@BN6PR21MB0497.namprd21.prod.outlook.com> <VI1PR08MB5360C0AFED2E8DDA94734016FA1F0@VI1PR08MB5360.eurprd08.prod.outlook.com>
In-Reply-To: <VI1PR08MB5360C0AFED2E8DDA94734016FA1F0@VI1PR08MB5360.eurprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.238.78.133]
Content-Type: multipart/alternative; boundary="_000_2313358402DBCC4DB2F2DC03CB08BBFE01AAF6C5MX304CL01corpem_"
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd53.lss.emc.com
X-RSA-Classifications: public
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-29_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905290099
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905290099
Archived-At: <https://mailarchive.ietf.org/arch/msg/teep/uymbjcSspIqBWlP9ARBxC2Fxrvk>
Subject: Re: [Teep] Call for adoption of draft-thaler-teep-otrp-over-http
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: Wed, 29 May 2019 15:00:01 -0000

Based on our IoT customer base we currently know that JSON is the only one used today. That said I agree with Hannes that we should consider CBOR as well but I think we can adopt the draft as it is and maybe later add CBOR support. I am looking mainly at the industrial markets we serve many use JSON but I am looking from the storage users perspective so I cannot attest that they don’t use neither. In summary I will adopt the draft as it is. Thanks

./Sorin

From: TEEP <teep-bounces@ietf.org> On Behalf Of Hannes Tschofenig
Sent: Wednesday, May 29, 2019 10:35 AM
To: Dave Thaler; Anders Rundgren; Nancy Cam-Winget (ncamwing); teep@ietf.org
Subject: Re: [Teep] Call for adoption of draft-thaler-teep-otrp-over-http


[EXTERNAL EMAIL]

  *   The IoT market has adopted CBOR rather than JSON.



  *   That’s a bit overstated, “IoT” is very broad and hence there are _many_ IoT “markets”, and many of them have not adopted CBOR. For example, if you look in industrial IoT, the dominant protocol is OPC UA, which uses neither CBOR nor JSON. In consumer IoT like in devices on shelves now, I think you will find that JSON is far more deployed than CBOR is (e.g., Hue light bulbs and many other IoT devices use JSON-over-HTTP). It is true that some of the IoT market has adopted CBOR.  For example, OCF adopted CBOR, but OCF has very little actual deployment today.



I agree with Dave here. I think it is fair to say that the JWT has been implement and deployed by the Web community. Particularly in the OAuth context it is widely deployed.



CBOR has been suggested for IoT-related specifications but CBOR, COSE and CWT is definitely not widely implement and even less widely used.



The question I wonder is whether the current deployment status matters in our case and I don’t think it has any relationship to the call for adoption of draft-thaler-teep-otrp-over-http.

When the initial version of OTrP was written there was the assumption that the encoding of the protocol in JSON would be more convenient for Web developers given that the main deployment use case was for mobile phones and tablets.



Now, there is of course the question whether Web developers should be exposed to the details and the encoding of the OTrP protocol itself. I think that’s an important question. Afterall, we are trying to make the life of developers simpler with this work.



Since the formation of the TEEP group we have also added other use cases extending our original goals for OTrP. This makes me believe that it is worthwhile to look into a CBOR-based encoding as well. I also would like to take advance of ongoing working work in SUIT & RATS.



Ciao
Hannes


IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.