Re: [Suit] Proposal for changes to draft-ietf-suit-manifest

Brendan Moran <Brendan.Moran@arm.com> Fri, 01 November 2019 08:53 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 DB2C212011A for <suit@ietfa.amsl.com>; Fri, 1 Nov 2019 01:53:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 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, 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 header.b=ZkFzC4Hu; dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=armh.onmicrosoft.com header.b=D72Vgw7s
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 42zNZc7Rs6sD for <suit@ietfa.amsl.com>; Fri, 1 Nov 2019 01:53:38 -0700 (PDT)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03on062e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe09::62e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E2616120103 for <suit@ietf.org>; Fri, 1 Nov 2019 01:53:37 -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=ONSgx7/uHuucvaYpTqtrZLPrL51ywhAQy7WLXeWjkPM=; b=ZkFzC4Hut11nLpo6NhsWVFQm+1KzgLwUJr5Wgk1k71F1PL5pyTQ3/KwUB4ye9nt9aSo8JXP/wefA1zSWDz0Q0HR5wtOh+OKzLHQn2FZJYmrb0l8GQU1M51V/LgMryi+ZBbwKBkFYCGpNuzNvaC4XO80ZA8FPDC1isprNqoXrPoo=
Received: from HE1PR0802CA0015.eurprd08.prod.outlook.com (2603:10a6:3:bd::25) by AM6PR08MB4248.eurprd08.prod.outlook.com (2603:10a6:20b:b5::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.25; Fri, 1 Nov 2019 08:53:35 +0000
Received: from DB5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::209) by HE1PR0802CA0015.outlook.office365.com (2603:10a6:3:bd::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.17 via Frontend Transport; Fri, 1 Nov 2019 08:53:35 +0000
Authentication-Results: spf=fail (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; ietf.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;ietf.org; dmarc=none action=none header.from=arm.com;
Received-SPF: Fail (protection.outlook.com: domain of arm.com does not designate 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com;
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT060.mail.protection.outlook.com (10.152.21.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.20 via Frontend Transport; Fri, 1 Nov 2019 08:53:34 +0000
Received: ("Tessian outbound 3fba803f6da3:v33"); Fri, 01 Nov 2019 08:53:34 +0000
X-CheckRecipientChecked: true
X-CR-MTA-CID: 1716bbd8f9db0d0c
X-CR-MTA-TID: 64aa7808
Received: from fa8f0e832684.1 (cr-mta-lb-1.cr-mta-net [104.47.12.51]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 4B2EDF52-A7C7-4708-9465-52AE33E3DD59.1; Fri, 01 Nov 2019 08:53:29 +0000
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04lp2051.outbound.protection.outlook.com [104.47.12.51]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id fa8f0e832684.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 01 Nov 2019 08:53:29 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ICleNs5RAl+QxIuEq/go4cg+kh16B2/9xFx+ZIIhXe+wWcSDoKjgGL1IYRzSaCzU4hOUGZeppdqUm0ku48RFrEAj8L3n8Z6/F+ki0Anp/6gLPlQTupQdrAae1wZHKAueIiQVmSb6RXoP4c+FKvf630SyftvvMunUY6gjLdmnfmANT/ELh1bj+B/Kf7QoUCTzdF8C2M5AzIwhTJfL9aObFBMABwrQr8Mf/gf1Y1EG6c/MtRN0YdBCRvF/4HvwenE/qn1NoT0+EYwPsDhHZoIAM7jLdKfgX0/GE4pLbVtyF9oTrasIzJp+NbZixqp2MGZOKjojyrG9GIIj6TMUisdLyg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=q/t30MNH/Iug8W/xIx0ZcB+eBjWKq1ts+AUFQCAe5QQ=; b=QL+iUvM4OpPt9ivSWor5DKcLGmDZaBS7QUnp7usYf5UgJMaemPvwJ424CbywbdnWXueYwN0FRqFEZAXbwGNYEeUoKme59R+EOC7JevG5+8JGzUKbnUSjiSBQKt8KW32/r9VvK72OnEL79t1ryvWKqEgCdJVGOl0rSeuOS/hEq/73niPKN94gSQoGadCFkLYKIxXG6cR9P+p9EZUZEbmCtgcsKET2pWy9E4E9EbRZSvqGnjWp+2nsuXOWLHABjfqrLEKY0o/MC8roF3m9MmmZSApCi+SRevEnIaOiJpi/rmLOdbvMNcT1dHu6CU7dujZusVWpLOL3EO83lInhUIbfWA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
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=q/t30MNH/Iug8W/xIx0ZcB+eBjWKq1ts+AUFQCAe5QQ=; b=D72Vgw7sgguNZHEKbYslM58bK4s3jztlvmXNgxTMdLGSyjwSwaxQxRHA0iwCEIZNu9cPGTOgTZSoANoTgskYrBr6UPO+xbcklQPr7yJLrlH2SiurlrPyj3pict1aQWsFNIIx5cIJT2dTG2sV9+MpqdPxG+xRnpKljp4zNjfrc8Y=
Received: from DB6PR0801MB1879.eurprd08.prod.outlook.com (10.168.84.137) by DB6PR0801MB1928.eurprd08.prod.outlook.com (10.168.83.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.17; Fri, 1 Nov 2019 08:53:28 +0000
Received: from DB6PR0801MB1879.eurprd08.prod.outlook.com ([fe80::81c3:481c:2371:9637]) by DB6PR0801MB1879.eurprd08.prod.outlook.com ([fe80::81c3:481c:2371:9637%9]) with mapi id 15.20.2387.031; Fri, 1 Nov 2019 08:53:28 +0000
From: Brendan Moran <Brendan.Moran@arm.com>
To: suit <suit@ietf.org>
Thread-Topic: [Suit] Proposal for changes to draft-ietf-suit-manifest
Thread-Index: AQHVj/XC8g2ysEwj4UW3AecNBtNdM6d2A7uA
Date: Fri, 01 Nov 2019 08:53:27 +0000
Message-ID: <93973A53-7F17-4036-9D71-18DBDA5DB659@arm.com>
References: <AB2DD875-A7DD-4809-80FF-5FB9AADFA177@arm.com>
In-Reply-To: <AB2DD875-A7DD-4809-80FF-5FB9AADFA177@arm.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3594.4.19)
Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Brendan.Moran@arm.com;
x-originating-ip: [80.2.20.237]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-HT: Tenant
X-MS-Office365-Filtering-Correlation-Id: bb996729-e92d-4e72-0ea0-08d75ea8fa9e
X-MS-TrafficTypeDiagnostic: DB6PR0801MB1928:|AM6PR08MB4248:
X-MS-Exchange-PUrlCount: 2
X-Microsoft-Antispam-PRVS: <AM6PR08MB424859210A7EBA2152B7383CEA620@AM6PR08MB4248.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:10000;
x-forefront-prvs: 020877E0CB
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(136003)(346002)(366004)(39860400002)(199004)(189003)(40434004)(6486002)(76176011)(99286004)(229853002)(486006)(102836004)(476003)(6506007)(55236004)(53546011)(2616005)(446003)(71200400001)(7736002)(71190400001)(966005)(26005)(66066001)(86362001)(305945005)(478600001)(14454004)(186003)(81166006)(81156014)(11346002)(6916009)(8936002)(8676002)(6116002)(3846002)(256004)(25786009)(14444005)(50226002)(5024004)(5660300002)(66446008)(64756008)(66556008)(66476007)(36756003)(66946007)(76116006)(91956017)(316002)(33656002)(6246003)(6436002)(6306002)(2906002)(6512007); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB1928; 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-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: 9FeCNywHde1ptY9Mcd4txK+7rTzKu6AvNsG8IQdaNQDoMKD+icWgP19R96UBPOG11874Gjld7HksjphEL7rXNpgC8N/TBuDvQS85CnGJaKr09YfQEi0yVhlYWDEpRyQiklh9My6jECn45cbHUTj5KHIuiop/6PPlh1++zvZk0hshawW7HJPAgGUG7N5ORtWf9Z7MTk+FlxObBzzM9Wernj+cY36bNnH+w4SqqqfoZzW+aOc+ceDz+set+NO+AAEcJwMr1TG2WDfM79dJa0PK+R2ZgrZ9/oXYnb6f4NpGNu3TG5JCxkawZIKXZuVq0d94dXgvm+e4rDQGlDRG8z/diVNnWFZHCm3s8MEK3h+mC1VsEOXS82V8wdwhvye7iDlU3qZbV9I+F+//uhyeX8CL9nyrvwngfnC9eOfGhW4+z6IZ5biGDsNPoViTz710Y931gz6XppQz88cOGoL4SvUQSzeq48lic2Rm/nMRoESVSVc=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <C7E34753A2A05D46A3FD80E3907822AB@eurprd08.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1928
Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Brendan.Moran@arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT060.eop-EUR03.prod.protection.outlook.com
X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(396003)(136003)(39860400002)(1110001)(339900001)(40434004)(199004)(189003)(14454004)(70206006)(99286004)(22756006)(86362001)(186003)(76176011)(2486003)(70586007)(36756003)(5660300002)(446003)(53546011)(436003)(6506007)(6916009)(102836004)(2906002)(6116002)(3846002)(23676004)(11346002)(76130400001)(2616005)(486006)(126002)(476003)(26005)(336012)(26826003)(478600001)(7736002)(14444005)(5024004)(25786009)(50466002)(966005)(305945005)(105606002)(66066001)(33656002)(229853002)(6246003)(356004)(316002)(6512007)(81166006)(50226002)(8936002)(6306002)(81156014)(47776003)(6486002)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB4248; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Fail; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1;
X-MS-Office365-Filtering-Correlation-Id-Prvs: 642c1870-0ebe-4fd2-6a59-08d75ea8f693
X-Forefront-PRVS: 020877E0CB
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: mDrQQIwpoq0EaLPrJ7zzVlZ/ZZMHyNSi06DOTqrKSV4o5zI2riQD78Cgt4gXcNBEYgmmECO2Z6KzIbwEMd/BZ0m593MXKvVxzpfsegijmCX4XD84s25jh8jWz+nSwdmPgQyIpnD4/gsB8qI1xPVSqWMvEVlDo0eIczZtMz3k+yx+Ay2y8nX6DtnO22WhupNQqptu8rUK5ZsKF6iHBFalbM7pCRrMXaQxKoBcykRRkn2JGOMd30ipjRXCU69y6XTcQ6Ne34D6RmL37eusMHcKzNbzTNZLPxTN0D7aZdCJGfL/jtMyI+2Z/3T5MBhT3lhQI7DO6b5IpRNG0yupXsnzf4rPxT/9UfMWaUoDQhQf5DQLaBOHm9PsaLcfWcSGuyFOYeLVirBd7vOqq4vfACXw9cy9m42zw9pcBYuELMeYCS91F43ocV1Mqt5N2meIrqrhxkJrvLHY/FqNPtL1Imz1I7JV00yFSb+Dt2igvTNzRwU=
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2019 08:53:34.7863 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: bb996729-e92d-4e72-0ea0-08d75ea8fa9e
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4248
Archived-At: <https://mailarchive.ietf.org/arch/msg/suit/dy_xecbMd1z9NXO0xZHOmKLD-mM>
Subject: Re: [Suit] Proposal for changes to draft-ietf-suit-manifest
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: Fri, 01 Nov 2019 08:53:42 -0000

I have published a pull-request that has this proposed structure.

https://github.com/suit-wg/manifest-spec/pull/1

Best Regards,
Brendan

> On 31 Oct 2019, at 14:16, Brendan Moran <Brendan.Moran@arm.com> wrote:
>
> I would like to propose a set of changes to draft-ietf-suit-manifest for the 02 version.  This set of changes has no effect on the encoding and is purely organisational for the draft, though it introduces new text. This new organisation would have approximately the following layout:
>
>   1.  Introduction
>   2.  Conventions and Terminology
>   3.  Overview
>       3.1.  How to use this document
>       3.2.  Background
>             3.2.1.  Landscape
>             3.2.2.  Update Workflow Model
>             3.2.3.  SUIT Manifest goals
>             3.2.4.  SUIT manifest design summary
>   4.  Interpreter Behaviour
>       4.1.  Interpreter Setup
>       4.2.  Required Checks
>       4.3.  Interpreter fundamental properties
>       4.4.  Abstract Machine Description
>             4.4.1.  Parameters
>             4.4.2.  Commands
>             4.4.3.  Command Behaviour
>       4.5.  Serialized Processing Interpreter
>   5.  Creating Manifests
>       5.1.  Manifest Source Material
>       5.2.  Use Case Templates
>   6.  Manifest Structure
>   7.  Dependency processing
>   8.  Access Control Lists
>   9.  SUIT digest container
>   10.  Creating conditional sequences
>   11.  Full CDDL
>   12.  Examples
>
> Sections 3, 4, 5 are new. 3 contains mostly existing content with a new “how to use this document” section. Section 4 describes the behaviour of a manifest interpreter. Section 4 could give rise to a set of test vectors for manifest interpreters so that we can ensure correctness. Section 5 specifies what a manifest compiler needs to do.
>
> I would also like feedback from the working group on the possibility of removing the examples section and placing that in a separate informative draft.
>
> Best Regards,
> 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.
> _______________________________________________
> Suit mailing list
> Suit@ietf.org
> https://www.ietf.org/mailman/listinfo/suit

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.