Re: [Suit] Introducing draft-moran-suit-manifest-04

Brendan Moran <Brendan.Moran@arm.com> Mon, 17 June 2019 08:37 UTC

Return-Path: <Brendan.Moran@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 E238F12009E for <suit@ietfa.amsl.com>; Mon, 17 Jun 2019 01:37:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 C8xPu5dQ1uBM for <suit@ietfa.amsl.com>; Mon, 17 Jun 2019 01:37:52 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80049.outbound.protection.outlook.com [40.107.8.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB87F120091 for <suit@ietf.org>; Mon, 17 Jun 2019 01:37:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=53HtSBtxZQUzMSWZH9RFreFfSG5gtBImvBhONIGJ4AU=; b=KsrBEb6L/rAcHgqjTDgoJ1jbmNNmSqakCH/S4z8kPRc8epduvOUsTF6EyWSJA5GinCcvkpLEcqaXrTDAE9VwPiHXvxtr36CgpeeP22XedjbzxjZ0e+AGrDmGRkfANn5rnvK8GuUo55de/SN38zz+couwsqz3tgyhPi/+gbYCsRI=
Received: from DB6PR0801MB1879.eurprd08.prod.outlook.com (10.168.84.137) by DB6PR0801MB1671.eurprd08.prod.outlook.com (10.169.227.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.11; Mon, 17 Jun 2019 08:37:48 +0000
Received: from DB6PR0801MB1879.eurprd08.prod.outlook.com ([fe80::2450:8832:f217:9327]) by DB6PR0801MB1879.eurprd08.prod.outlook.com ([fe80::2450:8832:f217:9327%4]) with mapi id 15.20.1987.014; Mon, 17 Jun 2019 08:37:48 +0000
From: Brendan Moran <Brendan.Moran@arm.com>
To: David Brown <david.brown@linaro.org>
CC: Michael Richardson <mcr+ietf@sandelman.ca>, "suit@ietf.org" <suit@ietf.org>
Thread-Topic: [Suit] Introducing draft-moran-suit-manifest-04
Thread-Index: AQHU2L81a2mzuoq9DkiQC46t4fwGyKYM6E0AgAltG4CAAaVnAIAfaJuAgCFNOYCAR22/gA==
Date: Mon, 17 Jun 2019 08:37:48 +0000
Message-ID: <061EC56F-5882-4D89-B367-5A7D51C72899@arm.com>
References: <16EC7DB9-1649-4A86-A370-F77CB03305AC@arm.com> <20190315163402.GA25574@davidb.org> <59F62162-578C-4975-A25B-EC261A7F4F7D@arm.com> <20190322173908.GA17361@davidb.org> <26593.1555003055@localhost> <20190502215033.GA15664@davidb.org>
In-Reply-To: <20190502215033.GA15664@davidb.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3445.102.3)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Brendan.Moran@arm.com;
x-originating-ip: [217.140.106.54]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2515039e-dc26-4445-c1f8-08d6f2ff13bd
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DB6PR0801MB1671;
x-ms-traffictypediagnostic: DB6PR0801MB1671:
x-microsoft-antispam-prvs: <DB6PR0801MB1671BDA9F52AD885B8430E35EAEB0@DB6PR0801MB1671.eurprd08.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 0071BFA85B
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(136003)(39850400004)(396003)(376002)(199004)(189003)(40434004)(14444005)(66946007)(478600001)(446003)(11346002)(6512007)(6246003)(4326008)(66556008)(64756008)(66446008)(66476007)(14454004)(68736007)(66066001)(50226002)(6486002)(5660300002)(6916009)(102836004)(86362001)(476003)(2616005)(26005)(6506007)(53936002)(36756003)(53546011)(72206003)(486006)(33656002)(316002)(256004)(5024004)(81156014)(186003)(3846002)(7736002)(305945005)(76176011)(6116002)(81166006)(25786009)(229853002)(6436002)(91956017)(76116006)(2906002)(8936002)(73956011)(54906003)(99286004)(8676002)(57306001)(71190400001)(71200400001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB1671; H:DB6PR0801MB1879.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-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 0Cq+mWWFM8LNE825fC3Y5sFrGoBglTR9lcV9WibQkD75GIwphyMOCriLA9S3DVf1+3pPKEVOECON5pxob2AtZRjNujahBnRMS8Xmew1DxS+9BvQmiHjJOt68U148Ik+MagXqF1/SHPyMsXgtTi77+wWTPMg7nve4QmoGzKAdiIdwbj3xk5sru0+LwoRAH27+DZRb9g4wG9DebiEP3Z3qhwwOYbT/7YFylGledYos3Wq00+Ko2TM5tPo65Mf45MWxXbZ9gNMuNA6H/Vb/kleQFCoGcpDNuVVZVM9uym63Ej3OKCbrzhygjMPsgyGfgiwmJo8RF21XcsLRTi/fI9fz3WvwjneNNnawZkp+YiCkVNxtb1M/A0cZ+Jjh3Y7x2Z1Myfi2dH74a63ZnfETnlU27BisSBjifiDUaC6RHj96nLE=
Content-Type: text/plain; charset="us-ascii"
Content-ID: <88C4AACAB61C5C40A5763CC55DEBAE54@eurprd08.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2515039e-dc26-4445-c1f8-08d6f2ff13bd
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2019 08:37:48.0328 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Brendan.Moran@arm.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1671
Archived-At: <https://mailarchive.ietf.org/arch/msg/suit/NRhDY7huloFvDBJIGs4MemjHXPE>
Subject: Re: [Suit] Introducing draft-moran-suit-manifest-04
X-BeenThere: suit@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 17 Jun 2019 08:37:55 -0000

> On 2 May 2019, at 22:50, David Brown <david.brown@linaro.org> wrote:
>
> On Thu, Apr 11, 2019 at 01:17:35PM -0400, Michael Richardson wrote:
>
>> Very nice animation.
>> It really seems like the swap operation does by MCUboot ought to be below the
>> level of the manifest instructions.
>>
>>   > One difficulty I see following steps in the manifest is that the code
>>   > currently maintains state out-of-band from the manifest.  The current
>>   > state is:
>>
>> That suggests to me that maybe we need to make the state explicit in the
>> information model associated with the manifest.
>
> Although, I think if the swap operation itself is "below" the scope of
> the manifest, perhaps the state it keeps is also below that.

I agree. There should be a swap operation and it should be responsible for its own state.

Brendan
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.