[TLS] Entirely omitting context in draft-ietf-tls-extractor

Eric Rescorla <ekr@networkresonance.com> Sun, 21 February 2010 23:29 UTC

Return-Path: <ekr@networkresonance.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0A14D28C200 for <tls@core3.amsl.com>; Sun, 21 Feb 2010 15:29:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.018
X-Spam-Level:
X-Spam-Status: No, score=0.018 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_COM=0.553, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X4G9VWqzLBAf for <tls@core3.amsl.com>; Sun, 21 Feb 2010 15:29:43 -0800 (PST)
Received: from kilo.networkresonance.com (74-95-2-169-SFBA.hfc.comcastbusiness.net [74.95.2.169]) by core3.amsl.com (Postfix) with ESMTP id 4CD483A8366 for <tls@ietf.org>; Sun, 21 Feb 2010 15:29:43 -0800 (PST)
Received: from kilo.local (localhost [127.0.0.1]) by kilo.networkresonance.com (Postfix) with ESMTP id 54D806EB9B5 for <tls@ietf.org>; Sun, 21 Feb 2010 15:35:03 -0800 (PST)
Date: Sun, 21 Feb 2010 15:35:03 -0800
From: Eric Rescorla <ekr@networkresonance.com>
To: tls@ietf.org
User-Agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/22.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20100221233503.54D806EB9B5@kilo.networkresonance.com>
Subject: [TLS] Entirely omitting context in draft-ietf-tls-extractor
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Feb 2010 23:29:44 -0000

During LC, we received a comment from Jouni Malinen that unconditionally
including the context in the PRF created an unnecesssary incompatibility
with exporter-type mechanisms in EAP-TLS and EAP-TTLS which could otherwise
be retconned into being extractor usages. In order to address this, I
propose changing the text to read:


  If no context is provided, it then computes:

         PRF(SecurityParameters.master_secret, label,
             SecurityParameters.client_random +
             SecurityParameters.server_random
             )[length]

  If the context is provided, it computes::

         PRF(SecurityParameters.master_secret, label,
             SecurityParameters.client_random +
             SecurityParameters.server_random +
             context_value_length + context_value
             )[length]

  Where PRF is the TLS PRF in use for the session.  The output is a
  pseudorandom bit string of length bytes generated from the
  master_secret. (This construction allows for interoperability
  with older exporter-type constructions which do not
  use context values, e.g., [RFC5281]).

Any objections?

-Ekr