Re: [Emu] John Scudder's No Objection on draft-ietf-emu-tls-eap-types-11: (with COMMENT)

Alan DeKok <aland@freeradius.org> Tue, 14 February 2023 22:11 UTC

Return-Path: <aland@freeradius.org>
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 B8515C14EB15; Tue, 14 Feb 2023 14:11:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 HKZfiydO8hfs; Tue, 14 Feb 2023 14:11:42 -0800 (PST)
Received: from mail.networkradius.com (mail.networkradius.com [62.210.147.122]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 61D9BC14EB18; Tue, 14 Feb 2023 14:11:40 -0800 (PST)
Received: from smtpclient.apple (135-23-95-173.cpe.pppoe.ca [135.23.95.173]) by mail.networkradius.com (Postfix) with ESMTPSA id A400452D; Tue, 14 Feb 2023 22:11:37 +0000 (UTC)
Authentication-Results: NetworkRADIUS; dmarc=fail (p=reject dis=none) header.from=freeradius.org
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
From: Alan DeKok <aland@freeradius.org>
In-Reply-To: <167640985268.60504.14345761192561097879@ietfa.amsl.com>
Date: Tue, 14 Feb 2023 17:11:36 -0500
Cc: The IESG <iesg@ietf.org>, draft-ietf-emu-tls-eap-types@ietf.org, emu-chairs@ietf.org, EMU WG <emu@ietf.org>, jsalowey@gmail.com
Content-Transfer-Encoding: quoted-printable
Message-Id: <B70BF937-1E48-4033-9AAE-7C8948DD8C1B@freeradius.org>
References: <167640985268.60504.14345761192561097879@ietfa.amsl.com>
To: John Scudder <jgs@juniper.net>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/emu/GP-eKwyBkCpiL8UfevR1O7zl5c0>
Subject: Re: [Emu] John Scudder's No Objection on draft-ietf-emu-tls-eap-types-11: (with COMMENT)
X-BeenThere: emu@ietf.org
X-Mailman-Version: 2.1.39
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, 14 Feb 2023 22:11:44 -0000

On Feb 14, 2023, at 4:24 PM, John Scudder via Datatracker <noreply@ietf.org> wrote:
> ### Section 3
> 
> ```
>   Earlier TLS versions did not always send application data along with
>   the Finished message.  It was then possible for implementations to
>   assume that a receipt of a Finished message also meant that there was
>   no application data available, and that another round trip was
>   required.
> ```
> 
> This doesn’t quite make sense to me as written. Do you mean that earlier TLS
> versions always did not send application data along with the Finished message?=
> Note the significant movement of the word "always". The way it’s written right
> now, "did not always" implies earlier TLS implementations "sometimes did" send
> application data along with the Finished message, and if that was the case, I
> don’t see how (non-buggy) implementations could make the assumption you note.

  I think it's "always" did not send...  I don't want to get into details of TLS, but the EAP applications using TLS definitely assumed that "Finished" meant "no application data".

  I think the simplest thing to do here is to just remove "always":

	Earlier TLS versions did not send application data along with the Finished message.

> ### Section 4
> 
> ```
>   As the packet flows for resumption are essentially identical across
>   all TLS-based EAP types, it is technically possible to authenticate
>   using EAP-TLS (Type 13), and then perform resumption using another
>   EAP type, just as EAP-TTLS (Type 21).
> ```
> 
> Is “just as” in the last line, supposed to be “such as“? If “just as“ is
> correct, I don’t understand what’s intended.

  Perhaps remove "just as":

	Instead, this definition allows us to simplify references to EAP Types, by using a logical "Type" instead of referring


> ### Section 6.1
> 
> ```
>   Similarly, when the inner authentication protocol indicates that
>   authentication has succeeded, then implementations SHOULD cause
>   authentication to succeed for the entire session.  There MAY be
>   additional protocol exchanges in order which could cause other
>   failures, so success is not required here.
> ```
> 
> That last sentence doesn’t make much sense to me. I am guessing what you mean
> is something like, “The reason success is not mandatory but only recommended in
> this case is that we cannot preclude that an inner protocol might have
> semantics such that authentication can succeed but the overall exchange still
> can fail.”

  It's left over bits from multiple edits.  Perhaps:

There MAY be
additional protocol exchanges which could still cause failure, so we
cannot mandate sending success on successful authentication.


> Feel free to use those words if they make sense, or not, but as the text stands
> I had difficulty so I suggest some kind of clarification. At a minimum, it
> appears to me that the words “in order” should be removed?

  Yes.

  Alan DeKok.