[Suit] Re: Minor comments on draft-suit-manifest-34
Hannes Tschofenig <hannes.tschofenig@gmx.net> Mon, 30 March 2026 09:49 UTC
Return-Path: <hannes.tschofenig@gmx.net>
X-Original-To: suit@mail2.ietf.org
Delivered-To: suit@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 7389ED36127B for <suit@mail2.ietf.org>; Mon, 30 Mar 2026 02:49:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1774864192; bh=Hlo7G7s8FvW2wXZ0UbrEVd79LPbGvuBOnq9CWSZOnkk=; h=Date:Subject:To:References:From:In-Reply-To; b=pAf8Gqr0ConW65GIBlKBQtRzHTwQjCefJRAFXR8AoccZXSTK8iJ9n1RKpPdEuMq3B 7FAdL5q8paIXY3VKopVJ3Z93Qn5PiAg9qSJQ/Zi3yQrGyOLwbvDaV8m18AWrMxEBCV vrv4p90ls4Lq0xoSBTNQgSQom2HlyfN0rWBe09P0=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.795
X-Spam-Level:
X-Spam-Status: No, score=-2.795 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmx.net
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yVv_QnXb6uJB for <suit@mail2.ietf.org>; Mon, 30 Mar 2026 02:49:51 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id AEC2ED361269 for <suit@ietf.org>; Mon, 30 Mar 2026 02:49:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1774864184; x=1775468984; i=hannes.tschofenig@gmx.net; bh=Hlo7G7s8FvW2wXZ0UbrEVd79LPbGvuBOnq9CWSZOnkk=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=Q3rD3N8C7iZGibRILUiEV3zfpvHC2v2KMT9GOUVTp0QHKebq5tbJhKDNy+dHjIhZ +69PdmOiF059Gd++qe+PcasY/QBCfsbhIq2+fVZk1tjJ34LNmAaUiIKg885R+kg6F jZSh9uLOCQeNnvrQ1on6c31rNeBwVrYI72ExM45I2c3eCmAeu/1UGcWG9AT1P2LA1 FTtlGghm+NsDzCnOgW25p8AuxztmfPT1T9lN/USMVZN+aE31d+lU3q/dp3xXLP1hh ZzLntaWmSeFjuqMj6vUL0sCSH7hRwOhQAOs7YfURVdhsRHsqaNzmuC5e5EN9IZUbn 7hwXVRfHXjLGVl2K3w==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from client.hidden.invalid by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MkHMZ-1vf0ML1FMX-00mjPy; Mon, 30 Mar 2026 11:49:44 +0200
Message-ID: <dec27ab9-05a1-4313-956c-0498ca5a7ac7@gmx.net>
Date: Mon, 30 Mar 2026 11:49:43 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Koen Zandberg <koen=40bergzand.net@dmarc.ietf.org>, suit@ietf.org
References: <c883d149-d158-4507-b8dc-3bbd7de62262@bergzand.net>
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
In-Reply-To: <c883d149-d158-4507-b8dc-3bbd7de62262@bergzand.net>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:YN4EVTRybFd46lvzj/hoP2tFCTf/ngNQPauadl5f5l1EE3g5wp9 P8JLE1JBBD7ywjq1SRX/IYDQvGD8aZf+PbaFLorQ8fcpLEVYg+WXpz8+jFFur9O/QCSiEgG T9Uvl0UD1xgCoV0/Jb+KgDCRWJelgkPN64d01d9Eb3kHiW2UZbNStyYvj2BDh0JV5BG0uKq QYOpw2KSe3pKy5JTU2brg==
UI-OutboundReport: notjunk:1;M01:P0:F5JccnS9sEQ=;hsGaamJyp4zoogj0zhmyv5GsQoh EGcNecOYUCv+jF5GPFqWI4tc+3mQ4C7sAluwQM9sEgsjw1iiw3PAWelZX/NBdueATWp6xKEzN cjgYD/p3UFkotw5h17SU5L/YxJxkyxrZ5yKPytr4dCBysoVMeti4+0p7vf6LVC+cv5/Tr5mj1 pbfJ4Ve08jYY1xg3NSZL9cK/RX1wM7U0fGUXC7jRRSRHF6je5Qb1w3WmFy3IjKbGJWVjzoQY4 lGtzw+d2Biar0/caHmANqUEHAbF38/uA5ptB/jmymBFaw92xcWL7Uyptup+7VDPTf9nc/eepf 5TULfq7NMyfrfYiWHrnVOYbVHKYNRonc7IiQQ0ARz+RTQ5Kalz4m8A4yKCXCfEnY7ILTcf14v lYmKfLMJuysrHMi/pkQ+WNh5ze09nl9uBzFf0ck8e9DKWbHM7zq9od/luJ133+4LJWdWfqnAq ixH/dRNuMwm7y/Sio+uyiZG+VD8SqNzBNCyk8nEVehmcbgs+vhDhG/A1F1IW16okFeEdVJGzm Gfh1Uzg/vU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UdHKMUvXRHaFgJeJgGSc3EWrOKd9EU/i7w99C+IOuoXDX6+W4TA9ldP28phtQxkA 6+LIR37Tv906Cipbl7bnZYVpmSsWTCBYBETasg1wZWTm2MrPHOiktoN8lSTBdLa0h6Cc09ccC kRDqeLklZQm5mSAQOuglIarZid8BmFhch5SmS0h0Hl6KZBlGI1qndMefncgsx8AlHs4yKQHzB /oTnGrudpMCO3wvpJpjFsn4KawkzJNuNiG+d2AmN10fLEYDKTEz4Z10oJ2o9kh+GwK0EtJgQa jbi9Y45xrWeIZ9tbZGbFcFNkOUvxTDHk2utzDQoKzTPfkzKNljqpPBVRhPuKHOI5sZv5UGgun sEJ+xuLoDtoOKRZuEKmC9juPFgpIVtUdqZJ0m9PwmOeAvuDbYXNjOu2F/cyUvR6huAklBdFkL ERgoIHL1oBUrpvB4lxgNGlkmboTV0aK7sxVSOKKCUb2AroH8WA9GOrC5/BAjBY5um5AVm3nJS 86aY4L/11z5Vx0ypaIGA25u0MdEvtuAbu0Dw3ApDQnkbNtNBVDlaJ8DXqia+9BBGcaSP1+k0T 92bfvd4YiHek3C94DilQcB2WBRbOM4pB2C2HF2BqVVl7U5oeyFJLt6yztWzz3By8JbTsjI28i Rjf2yN+AZ+HP7/tGriSZWmvm64Aax6JpvaBOC+FeMmM9m8vuL8Zd1QiOuySUzsC4xa
Message-ID-Hash: EDBTD3ATZDLKPN3J5CUD5GXODQ6DET6K
X-Message-ID-Hash: EDBTD3ATZDLKPN3J5CUD5GXODQ6DET6K
X-MailFrom: hannes.tschofenig@gmx.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-suit.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Suit] Re: Minor comments on draft-suit-manifest-34
List-Id: Software Updates for Internet of Things <suit.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/suit/yMS-sgCBWeNROpJ_RcwrK4XTYQw>
List-Archive: <https://mailarchive.ietf.org/arch/browse/suit>
List-Help: <mailto:suit-request@ietf.org?subject=help>
List-Owner: <mailto:suit-owner@ietf.org>
List-Post: <mailto:suit@ietf.org>
List-Subscribe: <mailto:suit-join@ietf.org>
List-Unsubscribe: <mailto:suit-leave@ietf.org>
Hi Koen! Thanks for contributing another SUIT manifest parser. This is great news. Regarding your suggestions for further improving the draft. As you know, the document is already in the RFC Ed Queue state and only minor changes can be made at this point in time. I will check what clarifications can be made at this stage. Ciao Hannes Am 13.03.2026 um 13:30 schrieb Koen Zandberg: > Hi all, > > I've had the pleasure to create another constrained SUIT manifest > parser implementation[1], this time in Rust and with > draft-ietf-suit-manifest-34. Based on this implementation, I have a > few comments where the document could be clearer. I'm aware I'm late > to the party with the feedback here. > > Starting with a minor editorial nit: suit-parameter-content is used > with both suit-condition-check-content and suit-directive-write. > Section 8.4.8.9 only references Section 8.4.10.6 (copy) and not > Section 8.4.9.3 (check-content). Section 8.4.9.3 is missing a > reference back to the parameter similar to suit-directive-write. In > general I found these references between command and parameter very > helpful to match the parameter to the commands. > > Section 8.3 describes the SUIT_Authentication_Block as computed using > detached payload over a bstr-wrapped SUIT_Digest. I stumbled over this > in my implementation because RFC 9052, section 4.4[2] specifies the > payload as used in the Sig_structure also as bstr. Following these > instructions and passing the SUIT_Digest to a cose library as > bstr-wrapped results in a double bstr wrapping, once by my code and > once by the COSE implementation. I do not think this was the intent > here and the examples in the document correctly verify when the > SUIT_Digest is not extra bstr wrapped. Practically speaking, I think > this section could use some clarification and maybe an example > Sig_structure or MAC_structure to prevent confusion. > > One open question I still have is on the severable elements. What is > the procedure a SUIT manifest implementation must follow to remove a > severable element from the envelope? The text describes in detail how > to make elements severable, but does not seem to be clear on how to > remove the elements from the envelope. I see two ways: 1) remove the > key and the bstr content from the envelope, or 2) replace the bstr in > the envelope with a null. Option 2 feels a bit easier on constrained > implementations because the map itself does not have to be modified, > it is only a replace of the bstr with a null and a memmove to keep the > rest of the manifest attached. Option 1 should also be fine for > constrained implementation because the CBOR map marker should always > be only 1 byte, given the limited number of elements of the envelope. > (And should never trigger a memmove of almost the whole document). > > The last thing I noticed, where I'm not sure it is intentional or an > issue, is the lack of component slot for the source component. It is > possible to specify a component slot (via > suit-parameter-component-slot) for the slot within the current > component. But there doesn't exist a method to specify a slot for the > suit-parameter-source-component`. One use case I can imagine is to > encode a backup of the current content of a component slot to > (external) storage via a copy directive. I mainly want to bring this > to attention because I noticed it while writing my implementation, and > want to check if it's intentional or an oversight in the document. > > Best regards, > Koen Zandberg > > [1]: https://github.com/ariel-os/dress-up/ > [2]: https://www.rfc-editor.org/rfc/rfc9052#section-4.4 > > _______________________________________________ > Suit mailing list -- suit@ietf.org > To unsubscribe send an email to suit-leave@ietf.org
- [Suit] Minor comments on draft-suit-manifest-34 Koen Zandberg
- [Suit] Re: Minor comments on draft-suit-manifest-… Hannes Tschofenig
- [Suit] Re: Minor comments on draft-suit-manifest-… Hannes Tschofenig
- [Suit] Re: Minor comments on draft-suit-manifest-… Koen Zandberg
- [Suit] Re: Minor comments on draft-suit-manifest-… Deb Cooley