Re: [Iot-onboarding] what can pinned-domain-cert actually pin?

Eliot Lear <lear@cisco.com> Wed, 28 August 2019 06:24 UTC

Return-Path: <lear@cisco.com>
X-Original-To: iot-onboarding@ietfa.amsl.com
Delivered-To: iot-onboarding@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5D476120817 for <iot-onboarding@ietfa.amsl.com>; Tue, 27 Aug 2019 23:24:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 fdxi0VcfBesw for <iot-onboarding@ietfa.amsl.com>; Tue, 27 Aug 2019 23:24:46 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 512A7120853 for <iot-onboarding@ietf.org>; Tue, 27 Aug 2019 23:24:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2755; q=dns/txt; s=iport; t=1566973486; x=1568183086; h=from:message-id:mime-version:subject:date:in-reply-to:cc: to:references; bh=EI0tPssmsxLhkTRCC+QhBQic4BcsFD5koSD81HNETo0=; b=jQ4/+9BGs/HFkHJvICWFFFFDP/zBJO3I8uFwRhYYM3C6AcGa7B89R5Td U+AFWVfSX3IDps2x/xPMRq28WJOBn9v6LeykxOIKmcEn+ycTzMKQsHjNK Bo25G6c/en/NhdpdB4hTUIs7tjwPOejPBfMekENZlwvsnApP3DY4YsFdP c=;
X-Files: signature.asc : 488
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AKAABHHWZd/xbLJq1kGQEBAQEBAQEBAQEBAQcBAQEBAQGBVQIBAQEBAQsBgwRTMiqNHYd3JZkXgXsCBwEBAQkDAQEYCwwBAYFLgnQCgmk2Bw4CAwICAwEBBAEBAQIBBgRthS4MhUoBAQEDAQEBbAsFCwsYLicwBhODIgGBew8PrDyFSYRqCgaBNAGBUIo+gX+BEScME4JMPoJhAQGFHoImBIw2O4hBgS+VEgmCIIIkgRGRFxuNV4sAijOBWJZ+gw8CBAYFAhWBVwsmgVgzGggbFTsqAYJBPhIQFIpUhUE9AzCMXiuCJQEB
X-IronPort-AV: E=Sophos;i="5.64,440,1559520000"; d="asc'?scan'208";a="15983488"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 28 Aug 2019 06:24:43 +0000
Received: from [10.61.172.66] ([10.61.172.66]) by aer-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id x7S6OgdP023572 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 28 Aug 2019 06:24:43 GMT
From: Eliot Lear <lear@cisco.com>
Message-Id: <8A507C09-977B-4131-869D-6322BC88AAE0@cisco.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_836C138D-5159-4B7A-8708-A1070A193C09"; protocol="application/pgp-signature"; micalg="pgp-sha256"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Wed, 28 Aug 2019 08:24:41 +0200
In-Reply-To: <0100016cd4a702cb-9b455e5d-a265-4225-a0c4-ad63b1a7a160-000000@email.amazonses.com>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, iot-onboarding@ietf.org
To: Kent Watsen <kent+ietf@watsen.net>
References: <2693.1566923418@localhost> <0100016cd46359e7-8c844438-dc7a-45df-9868-ba0957bcc89f-000000@email.amazonses.com> <12738.1566933705@localhost> <0100016cd4a702cb-9b455e5d-a265-4225-a0c4-ad63b1a7a160-000000@email.amazonses.com>
X-Mailer: Apple Mail (2.3445.104.11)
X-Outbound-SMTP-Client: 10.61.172.66, [10.61.172.66]
X-Outbound-Node: aer-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/iot-onboarding/d_NsH3Nmr-Tt7WkeEoCXdHEpicQ>
Subject: Re: [Iot-onboarding] what can pinned-domain-cert actually pin?
X-BeenThere: iot-onboarding@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion of IoT onboarding mechanisms <iot-onboarding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/iot-onboarding>, <mailto:iot-onboarding-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/iot-onboarding/>
List-Post: <mailto:iot-onboarding@ietf.org>
List-Help: <mailto:iot-onboarding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/iot-onboarding>, <mailto:iot-onboarding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Aug 2019 06:24:48 -0000

This is worth some discussion tomorrow.  Should I add it to the agenda?

Eliot

> On 27 Aug 2019, at 21:56, Kent Watsen <kent+ietf@watsen.net> wrote:
> 
> 
> 
>> i.e. adding a layer of indirection solves the problem in the classic way.
> 
> Yep  ;)
> 
> 
>> When certificates, or when vouchers?
> 
> In this example, I meant certificates, but the same principle can apply to vouchers.  We only didn't discuss it because voucher-expiration was out-of-scope to SZTP, other than devices needing to ensure the voucher isn't expired, assuming a validity period is specified at all.
> 
> 
>> These organization-wide commerical CA certificates seem impossible to obtain
>> today.  At least, I haven't found a CA willing to sell that anymore, and I
>> would love to be told I'm wrong.
> 
> Figures.  Oh well, they'll be out of business soon enough...
> 
> 
>> A revision could change it from single item to an array of items.
> 
> Right, the simplest backward-compatible change would be:
> 
> OLD:
>    type binary;
> 
> NEW:
>    type union {
>       type binary;
>       type ct:trust-anchor-cert-cms;
>    }
> 
> 
>> That would be relatively easy to figure out in code, but I'm not entirely
>> sure I understand the use case.  Are these independant anchors, or are the
>> intended to be related.
> 
> It's just as I was saying before, to support cases where the pinned-domain-cert isn't a root CA, and the verifying software doesn't support partial-chain validation, hence external mechanisms have to supply the remainder of the chain.
> 
> 
> Kent
> 
> --
> Iot-onboarding mailing list
> Iot-onboarding@ietf.org
> https://www.ietf.org/mailman/listinfo/iot-onboarding