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

<Pasi.Eronen@nokia.com> Mon, 22 February 2010 18:05 UTC

Return-Path: <Pasi.Eronen@nokia.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 6AC6528C367 for <tls@core3.amsl.com>; Mon, 22 Feb 2010 10:05:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.104
X-Spam-Level:
X-Spam-Status: No, score=-6.104 tagged_above=-999 required=5 tests=[AWL=-0.105, BAYES_00=-2.599, J_CHICKENPOX_23=0.6, RCVD_IN_DNSWL_MED=-4]
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 eFKyQbVU6G5P for <tls@core3.amsl.com>; Mon, 22 Feb 2010 10:05:21 -0800 (PST)
Received: from mgw-mx03.nokia.com (smtp.nokia.com [192.100.122.230]) by core3.amsl.com (Postfix) with ESMTP id 11DCE28C364 for <tls@ietf.org>; Mon, 22 Feb 2010 10:05:17 -0800 (PST)
Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o1MI6nhZ006874; Mon, 22 Feb 2010 20:07:13 +0200
Received: from vaebh102.NOE.Nokia.com ([10.160.244.23]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 22 Feb 2010 20:06:31 +0200
Received: from vaebh101.NOE.Nokia.com ([10.160.244.22]) by vaebh102.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 22 Feb 2010 20:06:26 +0200
Received: from smtp.mgd.nokia.com ([65.54.30.8]) by vaebh101.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 22 Feb 2010 20:06:21 +0200
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-04.mgdnok.nokia.com ([65.54.30.8]) with mapi; Mon, 22 Feb 2010 19:06:20 +0100
From: Pasi.Eronen@nokia.com
To: ekr@networkresonance.com, tls@ietf.org
Date: Mon, 22 Feb 2010 19:06:19 +0100
Thread-Topic: [TLS] Entirely omitting context in draft-ietf-tls-extractor
Thread-Index: AcqzThmv6xL5Zq3QTWKzysbB324lBAAmnMnw
Message-ID: <808FD6E27AD4884E94820BC333B2DB775847D1E3C4@NOK-EUMSG-01.mgdnok.nokia.com>
References: <20100221233503.54D806EB9B5@kilo.networkresonance.com>
In-Reply-To: <20100221233503.54D806EB9B5@kilo.networkresonance.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 22 Feb 2010 18:06:21.0956 (UTC) FILETIME=[BD622C40:01CAB3E9]
X-Nokia-AV: Clean
Subject: Re: [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: Mon, 22 Feb 2010 18:05:22 -0000

Not wearing any hats: This could potentially simplify TLS library 
APIs a bit (no need to provide special cases for EAP-TLS/EAP-TTLS).  
And since we require that one label can't be a prefix of any other 
label, this seems safe, too. So no objections from me as individual.

Wearing AD hat: I'll wait for a week or so to see if there are
objections before OK'ing this change with the RFC editor.

Best regards,
Pasi

> -----Original Message-----
> From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of
> ext Eric Rescorla
> Sent: 22 February, 2010 01:35
> To: tls@ietf.org
> Subject: [TLS] Entirely omitting context in draft-ietf-tls-extractor
> 
> 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
> 
> 
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls