[Suit] Meeting Minutes - 21 June 2018
Hannes Tschofenig <Hannes.Tschofenig@arm.com> Thu, 21 June 2018 13:06 UTC
Return-Path: <Hannes.Tschofenig@arm.com>
X-Original-To: suit@ietfa.amsl.com
Delivered-To: suit@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C00FD130E43 for <suit@ietfa.amsl.com>; Thu, 21 Jun 2018 06:06:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=armh.onmicrosoft.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 iUJnuUffmYxr for <suit@ietfa.amsl.com>; Thu, 21 Jun 2018 06:06:51 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0081.outbound.protection.outlook.com [104.47.0.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 72F62130DC7 for <suit@ietf.org>; Thu, 21 Jun 2018 06:06:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jAQHBRkjt+U+ULSb1cKxEo77eglKc+QuL0X1LMz7unQ=; b=gGnpTqJVLhxIn31XN4BWy+EzDwTjuKpovrpAz5uXNDjMWyuqtkxRAJ33gOEiKA0vPzUV+BCHNhYlcfjUoFP71E2tqExR3HwEYgneGeaY+W9AWNBt8mwjtipwQje+HAi/RVackaVe7rjFGmLVi42yN5pL210ggE/jnJNuo7jNueg=
Received: from VI1PR0801MB2112.eurprd08.prod.outlook.com (10.173.75.16) by VI1PR0801MB1808.eurprd08.prod.outlook.com (10.168.67.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.884.19; Thu, 21 Jun 2018 13:06:47 +0000
Received: from VI1PR0801MB2112.eurprd08.prod.outlook.com ([fe80::d1df:1498:96ec:6b35]) by VI1PR0801MB2112.eurprd08.prod.outlook.com ([fe80::d1df:1498:96ec:6b35%4]) with mapi id 15.20.0863.016; Thu, 21 Jun 2018 13:06:47 +0000
From: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
To: suit <suit@ietf.org>
Thread-Topic: Meeting Minutes - 21 June 2018
Thread-Index: AdQJYI6AUTg0T7GQTuuSMsS5SYswlg==
Date: Thu, 21 Jun 2018 13:06:46 +0000
Message-ID: <VI1PR0801MB211215A6C669CFFAE3477D6EFA760@VI1PR0801MB2112.eurprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Hannes.Tschofenig@arm.com;
x-originating-ip: [217.140.96.140]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR0801MB1808; 7:aO5fZwYIVRN8Tl8uhektZS6j3//xKz4tMaQ9PmzIAXhhufGyTBgmqyUTZyDERF44/RbrQijx2/MR7fPfpV5PAF9CkCvZVH6BmsEutNhb4wzR4KyKwsekpWhgYIyVdi2MpPUJk3T7M1EAYFT4TtUVabElLkQ+Wj/KEq9DqoaBlgczATBmUcZFTXkCE7RLkg1xTxOmZfpgj2VIrdOGwp4Ug1HxDBl27PoPxK26iTUiXzswHDvByk41nemuLuw98Hsb
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 26b8bad7-7d76-4bdd-dd2e-08d5d777d85c
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:(258095267146985); BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR0801MB1808;
x-ms-traffictypediagnostic: VI1PR0801MB1808:
x-microsoft-antispam-prvs: <VI1PR0801MB1808AFC1693A1075370CF93CFA760@VI1PR0801MB1808.eurprd08.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(158342451672863)(166708455590820)(192374486261705)(258095267146985)(788757137089)(261952635957900)(21748063052155);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:VI1PR0801MB1808; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0801MB1808;
x-forefront-prvs: 07106EF9B9
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(366004)(346002)(39860400002)(376002)(396003)(40434004)(199004)(189003)(186003)(966005)(14454004)(5250100002)(7696005)(99286004)(5890100001)(26005)(97736004)(8936002)(6436002)(106356001)(3280700002)(6916009)(102836004)(72206003)(86362001)(59450400001)(6506007)(476003)(66066001)(486006)(25786009)(9686003)(33656002)(7736002)(74316002)(8676002)(68736007)(81156014)(316002)(3660700001)(478600001)(81166006)(6116002)(790700001)(53936002)(3846002)(2900100001)(6306002)(54896002)(2906002)(5660300001)(105586002)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0801MB1808; H:VI1PR0801MB2112.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: 2MDaes3LJI4xNzDccJPm++DMUv7Sm+uEl/NkUyN9t54FDITfyyjLsHzWZUlNOEUErM++AIduVJ3WOC7cGvz+CiJJseIz6JMtZuYoVQ7lCb+RN8+aTQJCtVaJRDihqmgD84jBx02eHRACqbBya2sxzNfM+ZBvWuydZYCVlQtznfTG+CXo7qy5RUS5ddtGRqfgjbSLtQpSjK7eLVtY/hEwXpoYsrYV3lM8J06Qi7IHY77CzS5wndPKYt57nOTNdH35SDAhwm3JUCETxOL/wNkuFw6lesvHiv7h4ZNHjRtYsOxxX6B62ReaBmnPLXxRciWdNb6IXTM2MjbiqPTp5HxhrQ==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_VI1PR0801MB211215A6C669CFFAE3477D6EFA760VI1PR0801MB2112_"
MIME-Version: 1.0
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 26b8bad7-7d76-4bdd-dd2e-08d5d777d85c
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2018 13:06:47.2246 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1808
Archived-At: <https://mailarchive.ietf.org/arch/msg/suit/E0WrTrVCMnl4q6hUhO9AcBpM3gI>
Subject: [Suit] Meeting Minutes - 21 June 2018
X-BeenThere: suit@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Software Updates for Internet of Things <suit.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/suit>, <mailto:suit-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/suit/>
List-Post: <mailto:suit@ietf.org>
List-Help: <mailto:suit-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/suit>, <mailto:suit-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jun 2018 13:06:55 -0000
Participants: * Carsten Bormann * Brendan Moran * David Brown * Markus Gueller * Hannes Tschofenig * Frank Audun Kvamtrø * Øyvind Rønningstad * Michael Richardson Notes: Brendan goes through the current draft: https://github.com/suit-wg/information-model/tree/v01 MFUS7: Brendan explained the use case for preventing devices from unpacking. Frank & Øyvind: Anything that can be done prior to starting the process is super convenient for implementations. We can foresee that some implementations will select only a few encoding methods, including some of the encryption mechanisms. If we can stop the downloading and the parsing by just parsing the format. The question is only at what stage this should be enforced. Brendan: This can be enforced at various stages. There will be a service component, a management system. If you go through a management system then that system should query the device for capabilities and it should ensure that it communicates that info to the system that provides the update. The device will have to again make the check. There would be a multi-stage process. Frank & Øyvind: In the resource information we have a way to change what the source is (based on the digest). Hence, you can use a local server rather than a cloud server. Could the negotiation be taken over by a third party? Brendan: If you can fully trust a third party then I don't see a reason why not. Regarding the data structure I haven't thought about how and whether at all they would be impacted. Has anyone looked at how a third party does the validation check? Nobody in the group has. Brendan speculates about the possible implications in terms of a new manifest or a manifest that is counter-signed. This assumes that public key crypto is used. David: Do you have some examples where this Frank & Øyvind: It could be an external chip that does the decryption. Brendan: Are we talking about one-device operations? Brendan: One of the discussion that has come up are "primary and secondary" devices. This is where the storage identifier came from. Hannes: We need to update the architecture document to explain the primary/secondary verification. David: There are various deployment use cases today, which we could capture. David brings up an example: http://www.cypress.com/products/32-bit-arm-cortex-m4-psoc-6 In this case Flash and RAM is shared between the two processors. One processor is generic and the second processor is used for security functionality. For the update the security processor would be involved and it would write to memory to update the software of the application processor. David agreed to produce a short write-up. Note for MRSR7: Indicate what was done, indicate trust level or provability. Brendan argues that it would be have a solution that just uses another manifest since it keeps the manifest parsing simpler. Frank & Øyvind: I see the possibility to offload payload processing to other systems so that the manifest does not really know what is being conveyed. David: We are going to discuss the MCU Boot info Brendan: The manifest contains information that is not necessarily needed by a bootloader. David: The installation step is part of the bootloader: 1) Do I replace the old with the new firmware image? 2) Can I boot the new image? Brendan: If it also does installation then it has to have more information Frank & Øyvind: I hope that the MCU Boot can be parsed in a simpler manner. David: We want to mitigate complexity. The bootloader has to make the determination about two images and it has to boot them together then it has to have more complex logic. Do we extend our manifest or do we make MCU Boot understand the SUIT manifest? David will post info about the conference call to the SUIT mailing list. Frank & Øyvind: As long as you can be agnostic about the payload then you can have a way to bridge into a different system. Brendan: I think we will see bootloaders that understand SUIT but also those that do not understand them because the SUIT functionality is handled at a higher layer. In addition we will also see that bootloaders that will launch second stage bootloaders that are networking capable and understand manifests. MFUR8: Frank & Øyvind: In our email we elaborated on this topic. We would cover this scenario with storage identifiers. Brendan: This use case came from discussion at the Hackathon. Someone wanted to be able to replace versions A, B, and D but not version C. They wanted to target different types of devices but with a single manifest. David: Do we know the bounds on the complexity of the rules (e.g., nested Boolean evaluation)? Brendan: I am scared of the complexity. I prefer "match all" style comparisons only. It appears that this does not address all requirements. The approach that makes most sense is to add special conditions on a case-by-case basis. Brendan: You ship 4 different device versions - A, B, C, and D. Later you discover that there is a flaw on versions A, B, and D. You ship an update that applies to these three versions but you skip the update of version C. The idea was to provide a "match-any" list (in addition to the current "match-all" list). Markus: We brought this functionality up. It came from our legacy versions and we have been trying to map this into SUIT. Previously the manifest didn't had a version identification at all. The only other possibility was to include a list of cryptographic hashes but this takes up some space in the manifest (depending on the number of devices). Another option would be a firmware version list. As Brendan said it could be a separate condition; alternatively it would be a proprietary vendor condition. Brendan: The great thing about these conditions is that they don't cost you something if you don't want to use them. Brendan: The question is whether all conditions are mandatory to implement. Markus: I hope not Brendan: Then, any condition that is not understood leads to an update failure. David: That's also my understanding. Michael: Whether all these conditions will be written by the manufacturer vs. written by operators. The manufacturer has to provide some description of what is being implemented. David: This affects the previous use case. The processing engine needs to know what features are available in a later stage. Brendan: This requires a capability negotiation with the bootloader. David: The trust is still determined by the bootloader in our case. We don't trust the application. Brendan: The application is trusted that the bootloader is capable of verifying the manifest. Hannes: There are different trust models on who verifies the manifest. For example, one can image a case where an update service verifies the manifest and then lets the bootloader just jump to the received image vs. having the bootloader verify the manifest itself. Carsten: We should be explicit about the threat model we use. Brendan: We need to make this more explicit. (It is essentially a question about where the 'ends' in the end-to-end security is. ) Frank & Øyvind: We could have an array of all the versions that are supported then this would fit into the existing design. This would not be difficult to do. There are two different concepts here: First, the version concept. Second, there would be the new matching criteria. I believe you only need to support one of the two in order to satisfy the use case. Brendan, you have been looking into the match-any concept rather than the other one. Brendan: I think it makes sense to use the existing conditions and then for any given condition that already exists then you can provide it with an array and then you can match any. This would be added to the existing type definition. I am concerned about the complexity. Markus: We didn't want to create more manifest. Brendan: I prefer a product of sums than an arbitrary complex Boolean condition. I assume the complexity will be low in most cases. Frank & Øyvind: How about a separate condition that contains an array of conditions? (with the exception of not containing itself) Brendan: If we got for a product of sum and all conditions contain lists then it would simplify the schema. Frank & Øyvind: I am fine with that. Carsten: I think we can decide that later. We can for now have it as an array. 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.
- [Suit] Meeting Minutes - 21 June 2018 Hannes Tschofenig