Re: [TLS] New drafts: adding input to the TLS master secret

Simon Josefsson <simon@josefsson.org> Tue, 02 February 2010 19:27 UTC

Return-Path: <simon@josefsson.org>
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 070DA3A68D0 for <tls@core3.amsl.com>; Tue, 2 Feb 2010 11:27:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.407
X-Spam-Level:
X-Spam-Status: No, score=-1.407 tagged_above=-999 required=5 tests=[AWL=-0.808, BAYES_00=-2.599, SARE_RAND_1=2]
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 CiQvpJZoPP2y for <tls@core3.amsl.com>; Tue, 2 Feb 2010 11:27:26 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id EFE503A68C3 for <tls@ietf.org>; Tue, 2 Feb 2010 11:27:25 -0800 (PST)
Received: from mocca (c80-216-24-99.bredband.comhem.se [80.216.24.99]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o12JS0LY025486 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 2 Feb 2010 20:28:02 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Paul Hoffman <paul.hoffman@vpnc.org>
References: <p0624089bc78922bdaddd@[10.20.30.158]> <87fx5jk8vp.fsf@mocca.josefsson.org> <p06240813c78e116da3f6@[75.101.18.87]>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:100202:tls@ietf.org::W7vTeI4niZyeINuu:REn5
X-Hashcash: 1:22:100202:paul.hoffman@vpnc.org::fQl4EGC2nLk5lpZs:IRzm
Date: Tue, 02 Feb 2010 20:28:00 +0100
In-Reply-To: <p06240813c78e116da3f6@[75.101.18.87]> (Paul Hoffman's message of "Tue\, 2 Feb 2010 09\:38\:11 -0800")
Message-ID: <871vh3igjj.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Virus-Scanned: clamav-milter 0.95.3 at yxa-v
X-Virus-Status: Clean
Cc: tls@ietf.org
Subject: Re: [TLS] New drafts: adding input to the TLS master secret
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: Tue, 02 Feb 2010 19:27:27 -0000

Paul Hoffman <paul.hoffman@vpnc.org> writes:

>>There is one thing in draft-hoffman-tls-additional-random-ext-00.txt
>>that bothers me: There is no requirement that additional random data is
>>generated using cryptographic principles.  This means the extension can
>>be used as a general-purpose extension mechanism to exchange data that
>>has meaning to, for example, some middle-ware that sits between the
>>client and server.
>>
>>Is this the intention?  I'm assuming no, and that the
>>additional_random_value actually are intended to be, well, just an
>>additional random value.
>
> Correct. That's why the document says:
>    The recipient of an additional_random extension MUST NOT try to parse
>    the additional_random_value.

I noticed that, but as I (perhaps incorrectly) interpreted "recipient"
to mean "client or server", I was left with an uncertainty whether or
not the extension was intended for transporting data (e.g.,
authorization information) intended for middle-ware.

>>Therefor, I would suggest that a new requirement is added:
>>
>>   The client and server MUST generate the additional_random_value data
>>   using a secure random number generator.  [RANDOM] provides guidance
>>   on the generation of random values.
>>...
>>   [RANDOM]   Eastlake, D., 3rd, Schiller, J., and S. Crocker,
>>              "Randomness Requirements for Security", BCP 106, RFC 4086,
>>              June 2005.
>
> This is a great addition, thanks. It will be in the -01.

That solves my issues with two documents, and I support their
publication.

Thanks,
Simon