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

David Brown <david.brown@linaro.org> Thu, 02 May 2019 21:50 UTC

Return-Path: <david.brown@linaro.org>
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 3A6F7120608 for <suit@ietfa.amsl.com>; Thu, 2 May 2019 14:50:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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 (2048-bit key) header.d=linaro.org
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 KXg6hg6VA82Q for <suit@ietfa.amsl.com>; Thu, 2 May 2019 14:50:38 -0700 (PDT)
Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 30194120277 for <suit@ietf.org>; Thu, 2 May 2019 14:50:38 -0700 (PDT)
Received: by mail-qt1-x831.google.com with SMTP id y42so4539462qtk.6 for <suit@ietf.org>; Thu, 02 May 2019 14:50:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jIOvGob7EN1hTJ05amzIM3q51w5azoTRzu3MWjNQUMM=; b=fkQZ2u3XbMNNpdxGGtGMIMQENdBAWuYnxv6Kbmh+U4KOv/b/XXfJSnmQoAmyRT6X/8 trcWqU1OfKpKD/HniTog5W6V9NnpTyG3Y41Wapve6pK4wIQ4VakltX0wXFpt4+nq5csu MHoLOeOoM/bV51j4KID0qVtizsGvFHOnr+LzE00rm+/Rxc9hwSMZsSfgsEyb9mKvcpXz PUq10tjGGT6L8lJgKLBIT6bz5H558HYH0/ypaJ2YT61Zi3qgu5rdSeue5HsqafP/0kWC QA19aex4adZUEWeP2ttzDc4kX8nR1W0qAJrUgIqtrJUfzxrHsO867Zh0zoSFPNnvgkXA E1Ng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=jIOvGob7EN1hTJ05amzIM3q51w5azoTRzu3MWjNQUMM=; b=MbTSbIso3W3XzNrF4w8V/37RJTdnwWl+OkuZ7aFQ4hqptOhbCShFIp8bm+BrwnD3uV XVhxv66hzvM39/bkuRYQPfA+exDNjSzXzfxQtfSJz+R0BvfpBcsXfGHQ7hMEGeZMZoQZ qkh/3laHoFLhsMtuf8O2GsvOFkz7vklM8dcChtd4ls+DKzScHXgudshQU+8pOiJMVh6Z LsaKrdj88EJUnfrQMpnuCaej7cYaU98xwLvLLquIodN6WoUxGQbZ9qxTHhRBvq/1ui6+ zwt4cs4hEvoQ6BBBl/I7dUIXdT57ytLi2OpbeJiV39A3olt/IunzH1y7tjzYkayzuLIX dS0A==
X-Gm-Message-State: APjAAAVbpf1WDv9hB6FMghu93XzjZpSMJKUuI1qrc7spC6+RE5OiUVem nuf6QLmaUpjNCDqP8T0ePSi5SfsGaGnHjA==
X-Google-Smtp-Source: APXvYqztKGquc9nFByxP9N++qFKleMJmgE/KuxI2u0fEy5Saj3HC9daPW4IoqIKGP6w6TDDCBHDtDw==
X-Received: by 2002:ac8:743:: with SMTP id k3mr2327327qth.207.1556833837221; Thu, 02 May 2019 14:50:37 -0700 (PDT)
Received: from davidb.org (cn-co-b07400e8c3-142422-1.tingfiber.com. [64.98.48.55]) by smtp.gmail.com with ESMTPSA id 67sm181942qtc.29.2019.05.02.14.50.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 14:50:36 -0700 (PDT)
Date: Thu, 2 May 2019 15:50:33 -0600
From: David Brown <david.brown@linaro.org>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Brendan Moran <Brendan.Moran@arm.com>, "suit@ietf.org" <suit@ietf.org>
Message-ID: <20190502215033.GA15664@davidb.org>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <26593.1555003055@localhost>
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/suit/RxPEqV0qwo0zHeK_CNVhvqQl3pM>
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: Thu, 02 May 2019 21:50:40 -0000

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.

David