Re: [Suit] Wording for integrated payload size

Russ Housley <> Fri, 06 December 2019 20:32 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 4867D12006D for <>; Fri, 6 Dec 2019 12:32:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id M10r9gHBoCOj for <>; Fri, 6 Dec 2019 12:32:43 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 37EE212006B for <>; Fri, 6 Dec 2019 12:32:43 -0800 (PST)
Received: from localhost (localhost []) by (Postfix) with ESMTP id ADB66300B0B for <>; Fri, 6 Dec 2019 15:32:41 -0500 (EST)
X-Virus-Scanned: amavisd-new at
Received: from ([]) by localhost ( []) (amavisd-new, port 10026) with ESMTP id gIFBIJy6ZSd4 for <>; Fri, 6 Dec 2019 15:32:40 -0500 (EST)
Received: from a860b60074bd.fios-router.home ( []) by (Postfix) with ESMTPSA id 2CB99300AE0; Fri, 6 Dec 2019 15:32:40 -0500 (EST)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Russ Housley <>
In-Reply-To: <>
Date: Fri, 6 Dec 2019 15:32:40 -0500
Cc: suit <>
Content-Transfer-Encoding: quoted-printable
Message-Id: <>
References: <>
To: Brendan Moran <>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <>
Subject: Re: [Suit] Wording for integrated payload size
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Software Updates for Internet of Things <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 06 Dec 2019 20:32:45 -0000


I agree with the approach that you are taking here, but I am not sure that every implementation will perform the checks in that order.  They all need to be checked, but as long as they are all checked before the firmware is installed, then the implementation should be considered conformant.  I think the following would be better:

....   If the manifest is too large to fit in RAM, then it must be processed modularly, which includes evaluating delegation chains, validating the security container, processing the actual manifest, and verifying the integrated payload. ...


> On Dec 6, 2019, at 9:18 AM, Brendan Moran <> wrote:
> To finalise the information model, we need to address the issue raised at ietf106: how big can an integrated payload be? The suggestion made at the meeting was that no specific requirement should be made, but that the information model needed some text to explain the tradeoffs in size of payload. Here is my proposal for that text.
> Best Regards,
> Brendan
> When an integrated payload is provided, this increases the size of the manifest. Manifest size can cause several processing and storage concerns that require careful consideration. The payload can prevent the whole manifest from being contained in a single network packet, which can cause fragmentation and the loss of portions of the manifest in lossy networks. This causes the need for reassembly and retransmission logic. If the manifest is too large to fit in RAM, then it must be processed modularly; first evaluating delegation chains, then the security container, then processing the actual manifest, which includes verifying the integrated payload. While the manifest has been organised to enable this type of processing, it creates additional complexity in the parser. If the manifest is stored to nonvolatile storage prior to processing, the integrated payload may cause the manifest to exceed the available storage. Because the manifest is received prior to validation of applicability, 
> authority, or correctness, integrated payloads cause the recipient to expend network bandwidth and energy that may not be required if the manifest is discarded and these costs vary with the size of the integrated payload.
> 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