Re: [Acme] Use cases / trust model for device certs

Rifaat Shekh-Yusef <rifaat.ietf@gmail.com> Wed, 17 April 2019 19:37 UTC

Return-Path: <rifaat.ietf@gmail.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7EF4812051B for <acme@ietfa.amsl.com>; Wed, 17 Apr 2019 12:37:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 BXIGK79NBtia for <acme@ietfa.amsl.com>; Wed, 17 Apr 2019 12:37:38 -0700 (PDT)
Received: from mail-it1-x132.google.com (mail-it1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 317911204AE for <acme@ietf.org>; Wed, 17 Apr 2019 12:37:38 -0700 (PDT)
Received: by mail-it1-x132.google.com with SMTP id x132so6713071itf.2 for <acme@ietf.org>; Wed, 17 Apr 2019 12:37:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ui9a4+hNn2XU9+5lhSgd52m5HxLGE/a6uLC6R8vHAQM=; b=HQLC3uL36qOJePlSItRBMsBFuqcqxu6z/CdS+It4d+mAn+xH8Mha1ndGovug0uDl+t BnZeuumMir6NrluGeN1h2sRrn3Sste+Z2v9xeBS9/n7pCIxLhQEOeiffRSgh8UJ3Ystx nN633QJ6QPtS/dDSRTdjlEe2hxYQwABJz7+CNQm5DBvB+YnGxfnUbepQv6pNU+Hyv5Lg 2tABqGPGP0nvvR62y+LORt/VDA2O8hcKs8YaIICgByAH7Y0ICX2ONrjOQKDJ5o7pMmve KU0MkZXPzgAeghCUHPjIu08Xqge1gVsbEAE3trD1ceQuBlpbfoCm3He1EcCnz7QR+51c byMA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ui9a4+hNn2XU9+5lhSgd52m5HxLGE/a6uLC6R8vHAQM=; b=oDNmcQCzD267yZnSZ6wbwh/txH+9NZ9d6TOFhLRTEuyfSZso10bbzDCZh2haWjyVF0 cZdXYJyoMqUUDNNN0Jr/oprPpljpAmstXFsaEzr9q6o7ALYYOE0DGTw4b7dQgl0kQWtc ej2VrhoRWd9DJJ93dCaF2Uo9uCczcYkMiz1HlcLS6hwblQypHAqlSr1GBaa7u0yaprXG 8yYleZVTxrBlqxAKg9a95+APtzdDS+6+A3HgSOgJ9vdhmSgOfaQRoA0TGYLK5/qMX10W h5eStrfcBRQ4PcN7utud78FpxhKw9tHvXdjDfJDbHRX5GkpmclduLx5xB6nkD9mAzRqb yZlA==
X-Gm-Message-State: APjAAAXteyGtDcZ8SeIpUx0vrZIdTfY39WTKpOBv41/Qlmo+qPvB0+mL qlmarKkpa6KK3/SbBSgjN4Yzf4JZPGBpVj1i7fpjywxObo0=
X-Google-Smtp-Source: APXvYqxFP8xLwUc435VOuEEHiacj02a2AJjJ9AtuuUuaSItxW+WcnXlLm43taeBoLpYoZhhIJMj3G/VnCxr6j4uEKws=
X-Received: by 2002:a02:cd02:: with SMTP id g2mr61012617jaq.70.1555529857504; Wed, 17 Apr 2019 12:37:37 -0700 (PDT)
MIME-Version: 1.0
References: <CAL02cgT1hY_wm8d0zpa3hpx926B3_of+=cnDEwikMHS90gVyjw@mail.gmail.com>
In-Reply-To: <CAL02cgT1hY_wm8d0zpa3hpx926B3_of+=cnDEwikMHS90gVyjw@mail.gmail.com>
From: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
Date: Wed, 17 Apr 2019 15:37:26 -0400
Message-ID: <CAGL6ep+8MiQNj1e6HGTeVownaS1nfn-TUjCa3aafRPeZ02AdiQ@mail.gmail.com>
To: Richard Barnes <rlb@ipv.sx>
Cc: IETF ACME <acme@ietf.org>, Owen Friel <ofriel@cisco.com>
Content-Type: multipart/alternative; boundary="0000000000009819c30586bf04c5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/_IR_Vshy9qtcwrbQyHAOnuHKcks>
Subject: Re: [Acme] Use cases / trust model for device certs
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Automated Certificate Management Environment <acme.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/acme>, <mailto:acme-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/acme/>
List-Post: <mailto:acme@ietf.org>
List-Help: <mailto:acme-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/acme>, <mailto:acme-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Apr 2019 19:37:41 -0000

Hi Richard,

I was not aware of the ANIMA work before the meeting in Prague, so I will
definitely look into that in details.

One use case that I have in mind is a way to make sure that a specific
device can only be used by a specific party.
If you rely on RP to request identities for the device, then any party that
has a valid ACME account can use any device.
For example, if party A purchased a device from the vendor, and party B
gets a hold of that device, then there
is nothing that prevents party B from getting a valid ACME certificate for
that device.

If instead you reply on a token from the Device Authority, then the CA will
only issue a certificate to a specific party and specific device.

Regards,
 Rifaat


On Wed, Apr 17, 2019 at 1:09 PM Richard Barnes <rlb@ipv.sx> wrote:

> Hey Rifaat,
>
> Owen and I were chatting about ACME and device certs this morning, and it
> seemed like it might be useful to rekindle discussion on the topic here on
> the ACME list.
>
> I'd like to push a little more on the trust model here.  Just to establish
> some terminology:
>
> - Device: Uses certificates to authenticate identifiers
> - Vendor: Makes the device that will get the end certificate
> - Customer: Buys the device from the vendor and operates it
> - CA: Validates identifiers and issues certificates
> - Relying Party: Uses certificates to verify authentication for identifiers
> - Device Identity: MAC address or similar
>
> In the flows Owen and I have been discussing (more based on ANIMA/BRSKI),
> the model is basically broken in two, with the customer in the middle:
>
> 1. The customer validates devices' device identity as part of the ANIMA
> flow, based on the customer trusting the vendor, and assigns the device a
> domain name
> 2. The customer uses ACME to issue domain name certificates (the CA is
> unaware of the device identity)
>
> That all pretty much just works with BRSKI and ACME as they are today.
> But it presumes that the RP is authenticating the device by domain name, as
> is prevalent in most uses of TLS today.
>
> In contrast, it seems like your draft presumes that the RP needs to know
> the device identity; it's not satisfied by a domain name alone.  Can you
> elaborate a bit more on what scenarios you have in mind for this?  If all
> you care about is the customer tracking things, then the model above is
> sufficient; the customer can simply assign domain names that encode the
> device identity however it likes.
>
> Thanks,
> --Richard
>