[Teep] Transport Protocol

Dave Thaler <dthaler@microsoft.com> Thu, 02 November 2017 00:52 UTC

Return-Path: <dthaler@microsoft.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 6366913946F for <teep@ietfa.amsl.com>; Wed, 1 Nov 2017 17:52:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.02
X-Spam-Level:
X-Spam-Status: No, score=-2.02 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 6yEi9y-G1Atl for <teep@ietfa.amsl.com>; Wed, 1 Nov 2017 17:52:29 -0700 (PDT)
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0126.outbound.protection.outlook.com [104.47.33.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F1C7D1386A1 for <teep@ietf.org>; Wed, 1 Nov 2017 17:52:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=a/0OjARmNYr4mp2/in4DkylYxwwKh6stAsoeQ0gIOi8=; b=ZfobDwQoFVoEnUXPC9K3RtFC9H+FrQpPiSnKp8/qGG0upu+V25Zd/aKowxXVnv0pq0qyuCTYpdhLFTfgORd7bmQfwUUwVc4vv3BB7oUUN/kHH0Ywr/f69N7/jbrfQoM3DBT1oaAVUbrdHnJbe9Nd/ScUI3t0bk9A1M0+h/E/srw=
Received: from CY4PR21MB0856.namprd21.prod.outlook.com (10.173.192.145) by CY4PR21MB0471.namprd21.prod.outlook.com (10.172.121.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.218.2; Thu, 2 Nov 2017 00:52:27 +0000
Received: from CY4PR21MB0856.namprd21.prod.outlook.com ([10.173.192.145]) by CY4PR21MB0856.namprd21.prod.outlook.com ([10.173.192.145]) with mapi id 15.20.0218.004; Thu, 2 Nov 2017 00:52:27 +0000
From: Dave Thaler <dthaler@microsoft.com>
To: "teep@ietf.org" <teep@ietf.org>
Thread-Topic: Transport Protocol
Thread-Index: AdNTc/cpI1w7NN5kSdeI/9LBOiUlew==
Date: Thu, 02 Nov 2017 00:52:27 +0000
Message-ID: <CY4PR21MB0856F853925AA8D7DFA75147A35C0@CY4PR21MB0856.namprd21.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [167.220.1.216]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; CY4PR21MB0471; 6:XWOTWInQut/H4OUN+aWhTISip461ya7ff07a5o6xnFxUiyKdYH39o6AU4A6SnnhnOlCeh/HjRrhtjQRmoNpq9SQE8MAfZl8bG4U6A7KfQXoTF3+T0GX7t9JUeEapAs7l1CVFFWRQK60OsZi1AG4CE+FDrf+HsWCTr82nUEyrlsv+F+/KXVGWLcmpaVg2PzD4+eMfKnZ1vERkkgUjAtx2K3rFts5qqcrcOidcE/9sO3MV8refnS9vbI84wt+AbhYSZ1S4/54mWapgDVnhjKIG9w5bhj8fWQfqmg8zHM18c+rnG+do4CrLEDkK0zU+OnUAz0N9+XUBlCiVMx+9sGU17LBL5MeVk6fTsWdx0Mq+B5g=; 5:NDuCRyQm0IsMJ7CqayFXwnpTRMI/lvvnq4GaqCfmAW/KBt/jCtzDo/uJo+ZN0jHhzJZSGLpjC06QDoE8KyaqPz6masBQdU5OSLAmyOxpKgG5v7n65iU1BvDbbETtcunyXCS7S7Hd1pwLQAXT5eBQ+cMjB49kcWwE3UR08bfw9FA=; 24:/K7LKVmw1C7zOU0amBHhQdWNKuSMi6Mop0a9TawoJPMBQOGPJIHO6uPTJIoSelranLCV5ApTtZkIkA0S6xJrEWufoJcewOOGXHmi5f9FBjA=; 7:HBLFK1dCi0YTCT0Jqe6DkDw2yLfmHU63Zf+jF8T2hZOv0w20fZcSH28oJCL+dmA0VfknKaE0skTRGDdFbfewoNHfRa/s0lxRSl/F/81FH/hwDFE3V5xTUJV1wY5meuRoNvOf1XD8b2Vk7tdzmB9WZODZeQCgW92/iPCpvOcaYZThzcR8MFAc2X/LgCaDQJtycQbv8vSbW2Yfow0E9hr5NoDNF3TjSQ7TksN/xBf1SKxZYFXFztw0unr+Je6LXJ+T
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 30e9026f-c4e0-4bf2-a86c-08d5218bfd12
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(4534020)(4602075)(2017052603238); SRVR:CY4PR21MB0471;
x-ms-traffictypediagnostic: CY4PR21MB0471:
x-exchange-antispam-report-test: UriScan:(43050042349365)(21748063052155)(17755550239193);
x-microsoft-antispam-prvs: <CY4PR21MB0471A3143E75A885D48434BFA35C0@CY4PR21MB0471.namprd21.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(61425038)(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231020)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(61426038)(61427038)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123555025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR21MB0471; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR21MB0471;
x-forefront-prvs: 047999FF16
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(39860400002)(47760400005)(199003)(189002)(3905003)(8990500004)(1730700003)(478600001)(53936002)(53546010)(7696004)(10290500003)(606006)(7116003)(81156014)(7736002)(81166006)(236005)(86362001)(6506006)(6306002)(74316002)(8936002)(9686003)(99286004)(77096006)(6116002)(790700001)(6916009)(3480700004)(3846002)(86612001)(54896002)(55016002)(189998001)(966005)(8676002)(102836003)(68736007)(101416001)(5630700001)(2501003)(50986999)(10090500001)(2900100001)(3660700001)(66066001)(54356999)(6436002)(97736004)(221733001)(5640700003)(316002)(22452003)(33656002)(105586002)(106356001)(5660300001)(2351001)(25786009)(14454004)(2906002)(3280700002)(12290500005)(15398625002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0471; H:CY4PR21MB0856.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=dthaler@microsoft.com;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_CY4PR21MB0856F853925AA8D7DFA75147A35C0CY4PR21MB0856namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 30e9026f-c4e0-4bf2-a86c-08d5218bfd12
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2017 00:52:27.1728 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0471
Archived-At: <https://mailarchive.ietf.org/arch/msg/teep/x38iwqx9aANBue9BifrLjRvKCGM>
Subject: [Teep] Transport Protocol
X-BeenThere: teep@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 02 Nov 2017 00:52:31 -0000

As promised when I posted my review, I am starting several email threads for discussions on specific technical topics.
This is one of them.


Section 1:
> This specification defines message payloads exchanged between devices

> and a TSM but does not mandate a specific transport.


Section 5:
> The communication method of OTrP Messages between a TSM and TEE in a
> device is left to TSM providers for maximal interoperability.

I disagree, the lack of any spec for a transport results in lack of maximal interoperability.
The TSM and the TEE may be from different vendors as the draft nicely explains earlier.
So bindings to one or more transport protocol (the thing that carries the JSON messages inside it) must be standardized.
Otherwise, in my view there's little value in standardizing the payload formats.

Such a transport protocol binding might be in the same spec or in a different spec, but either way
I think specifying at least one is mandatory.

Dave

From: Dave Thaler
Sent: Saturday, September 23, 2017 12:24 PM
To: 'teep@ietf.org' <teep@ietf.org>
Subject: Review of draft-pei-opentrustprotocol-04

I've finally made it through a detailed review of draft-pei-opentrustprotocol-04 and my marked up copy is at
https://www.microsoft.com/en-us/research/wp-content/uploads/2017/05/draft-pei-opentrustprotocol-04.pdf

I have lots of editorial fixes throughout, and a number of technical comments/questions/issues.

I'll start separate email threads for some of them over the next several days.

Dave