Re: [Emu] Short review of draft-friel-tls-eap-dpp-01

Alan DeKok <aland@deployingradius.com> Tue, 27 July 2021 17:50 UTC

Return-Path: <aland@deployingradius.com>
X-Original-To: emu@ietfa.amsl.com
Delivered-To: emu@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 245913A0E00 for <emu@ietfa.amsl.com>; Tue, 27 Jul 2021 10:50:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 mL6yD30m9oJI for <emu@ietfa.amsl.com>; Tue, 27 Jul 2021 10:50:52 -0700 (PDT)
Received: from mail.networkradius.com (mail.networkradius.com [62.210.147.122]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 774793A0DEE for <emu@ietf.org>; Tue, 27 Jul 2021 10:50:52 -0700 (PDT)
Received: from [192.168.46.129] (24-52-251-6.cable.teksavvy.com [24.52.251.6]) by mail.networkradius.com (Postfix) with ESMTPSA id E2C2533D; Tue, 27 Jul 2021 17:50:49 +0000 (UTC)
Authentication-Results: NetworkRADIUS; dmarc=none (p=none dis=none) header.from=deployingradius.com
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Alan DeKok <aland@deployingradius.com>
In-Reply-To: <MW3PR11MB47467A3A2E47F9723E2CFEC8DBE99@MW3PR11MB4746.namprd11.prod.outlook.com>
Date: Tue, 27 Jul 2021 13:50:47 -0400
Cc: EMU WG <emu@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <E02A3731-EBB8-40B6-84DB-A99CA473DFAA@deployingradius.com>
References: <1FE63FE4-4B23-4E0C-AF06-1372D6DA8869@deployingradius.com> <MW3PR11MB47467A3A2E47F9723E2CFEC8DBE99@MW3PR11MB4746.namprd11.prod.outlook.com>
To: "Owen Friel (ofriel)" <ofriel@cisco.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/emu/TWPtp7_Jbl7SzcVy3ahMo7ZJj2E>
Subject: Re: [Emu] Short review of draft-friel-tls-eap-dpp-01
X-BeenThere: emu@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "EAP Methods Update \(EMU\)" <emu.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/emu>, <mailto:emu-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/emu/>
List-Post: <mailto:emu@ietf.org>
List-Help: <mailto:emu-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/emu>, <mailto:emu-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jul 2021 17:51:07 -0000

On Jul 27, 2021, at 1:23 PM, Owen Friel (ofriel) <ofriel@cisco.com> wrote:
> [ofriel] the goal here is to push the provisioning info (e.g. CA roots, peer identity certs) inside TEAP using existing TEAP mechanisms e.g. Trusted Server Root, PKCS#7 TLVs.

  That presumes everyone uses TEAP, all of the time.  This is likely to not be the case for a while, if ever.

  TEAP also has the issue of bootstrapping.  RFC 7170 Section 3.8.3 described an unauthenticated provisioning mode, but suggests that Phase 2 still has mutual authentication.  It's not clear how the parties can identify each other in that case.  The document appears to be silent on the topic.

  This draft solves that issue, among others.

  For example, what about the use-case of Eduroam?  10,000 students show up to a university which uses a private CA.  Assuming that all of the devices support TEAP, they are still unable to perform "mutual authentication, and TEAP becomes ToFU.   Similarly, DPP may work, but that requires creation and distribution of new keys

  In contrast, the user work flow here is "connect to Eduroam, log in with your username and password".  It really can't get simpler than that.

  The first stage of this proposal requires no changes to existing supplicants.  A simple client-side utility can perform the requisite actions, and configure the supplicant.  Running code is available:

https://networkradius.github.io/automatic-eap/

  The core of the work is a ~300 line Python script.  OS vendors could ship this today.  Network administrators could add a few records to DNS/WWW.  Getting EAP connectivity then becomes trivial.  It requires minimal coordination, and minimal new software.

> We are trying to avoid wheel reinvention. The novel bit here is the mutual authentication in the TLS stack based on the already defined Wi-Fi Alliance DPP bootstrap key.

  The spec doesn't require (or use) DPP bootstrapping.

  This draft is different from a number of related issues in that it solves a different problem, and in a different way:

* it leverages web PKI to bootstrap TLS-based EAP methods

* it does provisioning over standard internet protocols, instead of extending the supplicant.

  I think both of the above are useful.  Using EAP as a generic transport layer for provisioning seems like a poor choice.

  Alan DeKok.