Re: [Emu] jovergar review of draft-dekok-emu-tls-eap-types-02

Alan DeKok <aland@deployingradius.com> Wed, 29 July 2020 21:05 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 B00283A0F04 for <emu@ietfa.amsl.com>; Wed, 29 Jul 2020 14:05:06 -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 bY4Tzkqjs1XK for <emu@ietfa.amsl.com>; Wed, 29 Jul 2020 14:05:00 -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 1D2B23A0F08 for <emu@ietf.org>; Wed, 29 Jul 2020 14:04:44 -0700 (PDT)
Received: from [192.168.46.130] (24-52-251-6.cable.teksavvy.com [24.52.251.6]) by mail.networkradius.com (Postfix) with ESMTPSA id 1117B24B; Wed, 29 Jul 2020 21:04:42 +0000 (UTC)
Authentication-Results: NetworkRADIUS; dmarc=none (p=none dis=none) header.from=deployingradius.com
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
From: Alan DeKok <aland@deployingradius.com>
In-Reply-To: <CH2PR21MB13812FAA89097AE25F72186DD18B0@CH2PR21MB1381.namprd21.prod.outlook.com>
Date: Wed, 29 Jul 2020 17:04:41 -0400
Cc: EMU WG <emu@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A2282FE8-BCC8-475F-B03A-A5378F1A901F@deployingradius.com>
References: <CH2PR21MB13812FAA89097AE25F72186DD18B0@CH2PR21MB1381.namprd21.prod.outlook.com>
To: Jorge Vergara <jovergar=40microsoft.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/emu/k2ZCG-3_btMIRrJKZcIj6hdrHR4>
Subject: Re: [Emu] jovergar review of draft-dekok-emu-tls-eap-types-02
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: Wed, 29 Jul 2020 21:05:09 -0000

  I've posted a new revision of the document which should address all of your comments.  Thanks again for the detailed review.

> On Jun 2, 2020, at 3:29 AM, Jorge Vergara <jovergar=40microsoft.com@dmarc.ietf.org> wrote:
> 
> Hi all,
>  
> I’ve attempted/completed a prototype implementation of EAP-TLS, PEAP, EAP-TTLS, and TEAP clients using TLS 1.3. EAP-TLS went smoothly so this boils down to a review of the subject line document which addresses the rest of the EAP types. I am not necessarily an expert on all of TLS 1.3 so some of my issues may just be a lack of understanding – please point this out if so.
>  
> I had the following questions/issues that may need to be addressed in this document:
>  
> 	• PEAP Key Material when crypto binding is used. When PEAP uses crypto binding, it uses a different key material calculation that consumes inner method key material. This is not addressed in this document. If we fallback to what is currently defined, we end up with PEAP’s definition of PRF+, which despite the name is hardcoded to SHA1. Since it’s hard-coded to SHA1 and doesn’t technically depend on the TLS-PRF, it technically could continue to be used. But, is there a desire to update this key material calculation as well to use the TLS-Exporter as with the rest of the calculations?  If not, I believe it’s still worth a mention, since I see it being a point of confusion.
>  
> 	• TTLS Implicit Challenge. The TLS-PRF is currently used to calculate the implicit challenge for CHAP, MS-CHAP, and MS-CHAP-V2 (non-EAP). This isn’t currently covered in the document. In TTLS, differing amounts of challenge material are needed based on whether CHAP, MS-CHAP, or MS-CHAP-V2 is being used. It’s probably sufficient to define one exporter of a suitable length for all three and truncate to the amount needed.
> 
> 	• TEAP Compound MAC. The TEAP Compound MAC is currently defined in terms of the “MAC function negotiated in TLS 1.2.” If TEAP is to remain in this document, I believe this should be clarified. Here my familiarity with TLS 1.3 becomes an issue as I am not sure whether this is a simple wording update or if the calculation needs to be re-defined. (as an aside, I am in favor of TEAP in this document but understand if the consensus is to separate it)
> 
> 	• TEAP Inner Method Session Key. When an inner authentication method supports exporting an EMSK, the definition of the IMSK relies on the TLS-PRF and so needs to be adjusted. 
> 
> 	• Section 5 of this document is out of date with the EAP-TLS document. It mentions that an empty application record is used to indicate negotiation has finished – this is now a size 1 0x00 application record.
> 
> 	• Section 5 further mentions that methods which use inner tunnel methods should instead begin their inner tunnel negotiation by sending type specific application data. The inner tunnel is optional for PEAP, EAP-TTLS, and TEAP, especially if resumption is used.. So it’s not clear to me how to indicate negotiation has finished in these methods. I believe the 0x00 octet from EAP-TLS is needed here as well.
>  
> I appreciate the effort gone into this thus far. I believe the adjustments needed are fairly simple and after the above issues are solved I could complete my prototypes.
>  
> Thanks,
> Jorge Vergara
> _______________________________________________
> Emu mailing list
> Emu@ietf.org
> https://www.ietf.org/mailman/listinfo/emu