Re: [Acme] Fwd: New Version Notification for draft-sweet-iot-acme-04.txt
Michael Sweet <msweet@msweet.org> Sun, 20 August 2023 00:27 UTC
Return-Path: <msweet@msweet.org>
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 DBDF4C14CE42 for <acme@ietfa.amsl.com>; Sat, 19 Aug 2023 17:27:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=msweet.org
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YKgbBFzJJz1Q for <acme@ietfa.amsl.com>; Sat, 19 Aug 2023 17:27:01 -0700 (PDT)
Received: from mail.msweet.org (mail.msweet.org [173.255.209.91]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 769D9C14CE30 for <acme@ietf.org>; Sat, 19 Aug 2023 17:27:01 -0700 (PDT)
Received: from smtpclient.apple (cbl-66-186-76-47.vianet.ca [66.186.76.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.msweet.org (Postfix) with ESMTPSA id ACE68803A4; Sun, 20 Aug 2023 00:27:00 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.msweet.org ACE68803A4
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=msweet.org; s=default; t=1692491221; bh=JT24gWMXn8qblGBreOFjrUBqh0UMVf5oLfzhb1x87g4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=nDkOvg8iiSfR+Co4nMVJ84O0I7PpWEqRYDvEfT+a9ipkrB0hkFKJaKsIUdroZ+E7m /Jj1JEYxu9i6rfilmZl0TqqEzDrsU9EcT3g+KdvXsAjoDzc8TQLzWkszz23to/+XSS /u+S9BNuuASib73wgbaFWCwVDY6cEzqpvUVyg1Ls=
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\))
From: Michael Sweet <msweet@msweet.org>
In-Reply-To: <006b01d9c565$35b148c0$a113da40$@sebbe.eu>
Date: Sat, 19 Aug 2023 20:26:48 -0400
Cc: Mailing List <acme@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <AC76D563-CF73-435F-AAA1-4EF478BA85DF@msweet.org>
References: <169099211414.11957.13218136675686326535@ietfa.amsl.com> <C33D08FE-DB2A-4319-9FCD-45B6C2379D55@msweet.org> <CAOG=JU+Mp5SrP2mxeG==tRd+b9LLw3+KU3YcA7Dkx4yuk_G6Bg@mail.gmail.com> <006b01d9c565$35b148c0$a113da40$@sebbe.eu>
To: Sebastian Nielsen <sebastian=40sebbe.eu@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3731.700.6)
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/GoLn_-8pU3szh17-xvUyio24v_Y>
Subject: Re: [Acme] Fwd: New Version Notification for draft-sweet-iot-acme-04.txt
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.39
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: Sun, 20 Aug 2023 00:27:05 -0000
Sebastian, > On Aug 2, 2023, at 1:17 PM, Sebastian Nielsen <sebastian=40sebbe.eu@dmarc.ietf.org> wrote: > > 7) Validity of certificates: https://www.ietf.org/archive/id/draft-sweet-iot-acme-04.html#name-iot-device-certificates > >> I disagree with short validity. > If the certificate is restricted to local domain names only, I suggest allowing validity up to 10 years. My concern is that mDNS hostnames are not that stable, so long-lived certs will need to be revoked whenever the hostname changes, and that revocation record needs to be kept at least until the original cert expired... > HOWEVER, if local certificates should be accepted by browsers as root, THEN there must be a mechanism, similar to DNS Rebinding protection, that prohibits an external site (that are not an RFC1918-IP or local resources) or a resource received externally (for example an email) from hyperlinking or redirecting to a .local resource, an private, loopback or local IP, or a mDNS resource. This would prevent OAuth redirections from working, for example, so I'm not sure we can issue a blanket ban on redirections from an external site to an internal one. The concern with DNS Rebinding attacks is that an external FQDN points at a local address in order to work around browser "same site" security mechanisms, not that a redirection/link goes to a local hostname or address. > In the same thing, I see that reuse of key material, mentioned in 4.11 is no problem, as long as key material is NEVER reused along multiple devices (eDellSupport and such). > If key material is reused among the same user only (same local network), I see no risks. The concern with key re-use (say when renewing a cert) is that if the private key is ever compromised then all of the certs using that key are compromised. Given that EC key pairs are relatively cheap to produce (compared to large RSA key pairs), why not always create a fresh pair? > 4.9 and 3.3 solves any issues that may exist with attacks, since each root certificate will only recongnize whatever exist on the very same local network. > Since the device SHOULD regenerate certificate (4.5) when a “factory reset” is done, a device which changes owner (through selling on marketplace as used product) will not pose a security risk. > There could be good to impose a rule, that a IoT device, should, on each power up: > Set a flag “NeverConnected = true” > Do power up connection. > If a connection to a network for which it owns a certificate is found, then: > “NeverConnected” should be set to false. > IF a pairing of a new user is done to the device, AND the pairing is not done through a existing user (Pairing done with a button or similar) – AND “NeverConnected” is set to true, then it should do an automatic factory reset, or require a factory reset. It would be useful to talk more about this in a future draft; an IoT device *could* keep track of multiple networks (for "roaming" between different networks) but it would be important for it to treat a new network as such... That said, this mechanism is meant to be automatic so no user pairing is happening specifically, just the IoT device "pairing" with the local ACME server. ________________________ Michael Sweet
- Re: [Acme] Fwd: New Version Notification for draf… Amir Omidi
- [Acme] Fwd: New Version Notification for draft-sw… Michael Sweet
- Re: [Acme] Fwd: New Version Notification for draf… Sebastian Nielsen
- Re: [Acme] Fwd: New Version Notification for draf… Amir Omidi
- Re: [Acme] Fwd: New Version Notification for draf… Sebastian Nielsen
- Re: [Acme] [Iotops] Fwd: New Version Notification… Michael Sweet
- Re: [Acme] Fwd: New Version Notification for draf… Michael Sweet
- Re: [Acme] Fwd: New Version Notification for draf… Carl Wallace
- Re: [Acme] New Version Notification for draft-swe… Michael Sweet