Re: [Suit] self-describing format vs fixed/binary manifest structure

Michael Richardson <mcr+ietf@sandelman.ca> Fri, 14 December 2018 20:03 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 9916D1311EB for <suit@ietfa.amsl.com>; Fri, 14 Dec 2018 12:03:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 KiZsW62UB3e1 for <suit@ietfa.amsl.com>; Fri, 14 Dec 2018 12:02:59 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CD859130E2A for <suit@ietf.org>; Fri, 14 Dec 2018 12:02:59 -0800 (PST)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id E5AAC2008F; Fri, 14 Dec 2018 15:02:51 -0500 (EST)
Received: by sandelman.ca (Postfix, from userid 179) id E2597B90; Fri, 14 Dec 2018 15:02:57 -0500 (EST)
Received: from sandelman.ca (localhost [127.0.0.1]) by sandelman.ca (Postfix) with ESMTP id DF3F24B4; Fri, 14 Dec 2018 15:02:57 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Martin Pagel <Martin.Pagel@microsoft.com>
cc: "suit@ietf.org" <suit@ietf.org>, "dev-mcuboot@lists.runtime.co" <dev-mcuboot@lists.runtime.co>
In-Reply-To: <DM5PR21MB0698339BEFB704398BA8909F9DA10@DM5PR21MB0698.namprd21.prod.outlook.com>
References: <DM5PR21MB069822F40B3F5CC8DBD5F6C69DA70@DM5PR21MB0698.namprd21.prod.outlook.com> <9919.1544647801@localhost> <DM5PR21MB06986BEC8A8DA5AF9137404A9DA00@DM5PR21MB0698.namprd21.prod.outlook.com> <E76EA259-12C7-45CA-A4A2-C322C0B0A591@tzi.org> <DM5PR21MB06983D88A8F9E0499FBB13759DA10@DM5PR21MB0698.namprd21.prod.outlook.com> <10530.1544809544@localhost> <DM5PR21MB0698339BEFB704398BA8909F9DA10@DM5PR21MB0698.namprd21.prod.outlook.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Fri, 14 Dec 2018 15:02:57 -0500
Message-ID: <22202.1544817777@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/suit/h-ie8wM6dBOOnDGm0yQXfg8DI4g>
Subject: Re: [Suit] self-describing format vs fixed/binary manifest structure
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, 14 Dec 2018 20:03:02 -0000

Martin Pagel <Martin.Pagel@microsoft.com> wrote:
> I think the greatest value of the SUIT draft is the Architecture and
> Information Model documents as they define the rationale for a specific set
> of manifest fields. How you encode these fields is secondary and I believe
> it is more important that these fields can get easily loaded by the MCU
> rather than coming up with a portable/standard format. I only specified
> 64-bytes as an example, yes, 32-byte are enough for ECDSA. Same applies to
> thumbprint. Each manufacturer (or whoever develops the boot and
> installation software) would need to define the details of the manifest
> structure format it expects including byte alignment, crypto algorithms,
> keys etc.

If each manufacturer (of a chip? board? subsystem?) defines their own format,
then we effectively have no standard.

The value of a standard is that the rest of the infrastructure required can
be amortized over many kinds of devices.  Being able to audit all of the
images+manifests in a central point is of extreme value.

> I will address your notes on Security Considerations with my next revision.

Thank you.


--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-