Re: [Suit] Integrated Payload Keys

Russ Housley <housley@vigilsec.com> Thu, 22 July 2021 14:37 UTC

Return-Path: <housley@vigilsec.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 24C303A48A5 for <suit@ietfa.amsl.com>; Thu, 22 Jul 2021 07:37:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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 p_suHHuNlvMH for <suit@ietfa.amsl.com>; Thu, 22 Jul 2021 07:37:54 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ECA7B3A18BB for <suit@ietf.org>; Thu, 22 Jul 2021 07:37:53 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 5AF91300BFA for <suit@ietf.org>; Thu, 22 Jul 2021 10:37:53 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AtXzRNay6Qdv for <suit@ietf.org>; Thu, 22 Jul 2021 10:37:51 -0400 (EDT)
Received: from a860b60074bd.fios-router.home (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id 4CA06300BF3; Thu, 22 Jul 2021 10:37:51 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Message-Id: <53D38950-F615-4B51-8B95-AB6C912ECEE2@vigilsec.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_9EDEF285-870D-45CB-B74D-BE135EBA3578"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
Date: Thu, 22 Jul 2021 10:37:50 -0400
In-Reply-To: <C4CC4C3F-2CFF-48ED-B668-786FF447F577@arm.com>
Cc: suit <suit@ietf.org>
To: Brendan Moran <Brendan.Moran@arm.com>
References: <C4CC4C3F-2CFF-48ED-B668-786FF447F577@arm.com>
X-Mailer: Apple Mail (2.3445.104.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/suit/F3UTmFnst0cTHmXIwmx8Qddka2o>
Subject: Re: [Suit] Integrated Payload Keys
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, 22 Jul 2021 14:37:58 -0000

I like the avoidance of possible conflict with a future extension.

Russ

> On Jul 22, 2021, at 7:00 AM, Brendan Moran <Brendan.Moran@arm.com> wrote:
> 
> I have been discussing the use of integrated payloads and dependencies more.  The current form of the draft requires that a URI Reference is converted into a numeric key in order to index a payload or dependency in the envelope. If we were to permit string keys in the envelope, we could eliminate this conversion.
> 
> For 1-character URI References, this would require 0-1 additional bytes per integrated payload/dependency: the keys permitted are key < 0 or key > 23. This has always borne the risk that it would intersect with future extensions. However, if we use string keys for integrated payloads and dependencies, we eliminate that risk and eliminate string->int conversions on the recipient device.
> 
> What does the WG think of allowing string keys in the SUIT_Envelope?
> 
> 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