Re: [Mud] how to increase trust in MUD URL

Michael Richardson <mcr+ietf@sandelman.ca> Wed, 22 January 2020 17:21 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: mud@ietfa.amsl.com
Delivered-To: mud@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2028E12021C for <mud@ietfa.amsl.com>; Wed, 22 Jan 2020 09:21:33 -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_HELO_NONE=0.001, SPF_PASS=-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 22qGNdnE-cki for <mud@ietfa.amsl.com>; Wed, 22 Jan 2020 09:21:30 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 17368120108 for <mud@ietf.org>; Wed, 22 Jan 2020 09:21:29 -0800 (PST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 2D6403897E; Wed, 22 Jan 2020 12:20:56 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 96210C69; Wed, 22 Jan 2020 12:21:27 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
cc: mud@ietf.org
In-Reply-To: <9b50e4ca-d516-3f3b-5992-1695f8147d18@sit.fraunhofer.de>
References: <157918044299.26236.8163535356477976451.idtracker@ietfa.amsl.com> <CAFpG3gehp98VB2RpL6LenRJsV=RRQ=1jCTX7mcrmd27pzkYqfg@mail.gmail.com> <CAFpG3gek8qrHjN5LNQUrRrS9+zFuVQQ4y+XorRrr5xySs2fP1g@mail.gmail.com> <20570.1579314460@localhost> <30267.1579654985@localhost> <9b50e4ca-d516-3f3b-5992-1695f8147d18@sit.fraunhofer.de>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 25.1.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: Wed, 22 Jan 2020 12:21:27 -0500
Message-ID: <30626.1579713687@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mud/jUn5HkWCsLHhrPI7MwyHFkKnGqA>
Subject: Re: [Mud] how to increase trust in MUD URL
X-BeenThere: mud@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion of Manufacturer Ussage Descriptions <mud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mud>, <mailto:mud-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mud/>
List-Post: <mailto:mud@ietf.org>
List-Help: <mailto:mud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mud>, <mailto:mud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jan 2020 17:21:33 -0000

Henk Birkholz <henk.birkholz@sit.fraunhofer.de> wrote:
    > On 22.01.20 02:03, Michael Richardson wrote:
    >> But, updating the URL in IDevID is difficult to do. Quite reasonably it might
    >> be impossible without a device recall.  The IDevID version is much easier to
    >> invest trust into.  And it clearly links back to the manufacturer.

    > This is one of the biggest issues that came to my mind ad-hoc. Is changing
    > the URI really an option? I would assume this type of encapsulation is
    > trustworthy, I think.

Changing the URI in an IDevID is not, in my opinion, feasible.
While I can imagine ways for an IDevID to be renewed online, I would prefer
that it be buried so deep into the TPM that it can't be changed in the field.

    > On 22.01.20 02:03, Michael Richardson wrote:
    >> If a vendor is going to put very specific information relating to TLS
    >> libraries into a MUD file, then it is going to be critical that any updates
    >> to the firmware (such as BUG FIXES) result in updates to the MUD TLS profile.

    > Hm. I always assumed that either a MUD file or the parameters to a MUD URI
    > would take care of "versions" or "composition" of the requester (so the
    > requester appends information about that in the URI). Is that not how other
    > people think about it? The idea of a canonical composition of the segments in
    > the URI did not fly IIRC (due to rfc7320 I assume).

Yes, so I assume that the MUD URL will depend upon the firmware version.
In  draft-richardson-opsawg-mud-acceptable-urls-00 I am proposing something
like:
    IDevID MUD URL https://www.example.com/mud/frobits/modelT/base.json
    DHCP MUD URL   https://www.example.com/mud/frobits/modelT/build1176.json

The base.json -> build1176.json transition is either *implicit*, only the
last part can change.  Or we introduce a mud-base-url attribute to the
base.json file.

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