Re: [TLS] Quest for Unified Solution to TLS Renegotiation
David-Sarah Hopwood <david-sarah@jacaranda.org> Thu, 26 November 2009 05:35 UTC
Return-Path: <djhopwood@googlemail.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 AD4103A680F for <tls@core3.amsl.com>; Wed, 25 Nov 2009 21:35:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
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 Z5fkDhNhxV7T for <tls@core3.amsl.com>; Wed, 25 Nov 2009 21:35:24 -0800 (PST)
Received: from mail-ew0-f214.google.com (mail-ew0-f214.google.com [209.85.219.214]) by core3.amsl.com (Postfix) with ESMTP id 4D0283A6923 for <tls@ietf.org>; Wed, 25 Nov 2009 21:35:24 -0800 (PST)
Received: by ewy6 with SMTP id 6so439214ewy.29 for <tls@ietf.org>; Wed, 25 Nov 2009 21:35:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=ZC++eX7d0zDn23Tsq9NyQUouDpa3BxA9fzxfIHQ8a/8=; b=bxVOXR2t2ur2wewqVS3/AUaT6kMQv7noXXSzazOEp8MI1Jjs/0wjx0x/z9OB/NcJEq wtgau+xCtbL5MgzkF+cOQ3hDckzNINro+Ho7LgNGswJJMyFp8ctpGuHywnwDMcetr89U ztxNC5aDVH2Ui8/hVNMPPQPhwtrwR5n0hH8tg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=L1cYuSb5SXXLz0Fl35I4MIDCJF4E0hSxnzOkPq3fnCfUE75hn+q67KmNb6m5l+v8mu eNaaBwOCiH30CC940D5YoDfsX515e1obESF36XzXj1qFPtd9oUvr4Yb0qh2a9S8MN+jj ekXETnmGfKH8ph2I3yTETqdoBFi7mWzyaM1jg=
Received: by 10.213.100.168 with SMTP id y40mr4347611ebn.77.1259213713123; Wed, 25 Nov 2009 21:35:13 -0800 (PST)
Received: from ?192.168.0.2? (5adcc5d2.bb.sky.com [90.220.197.210]) by mx.google.com with ESMTPS id 16sm168635ewy.14.2009.11.25.21.35.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 25 Nov 2009 21:35:12 -0800 (PST)
Sender: David-Sarah Hopwood <djhopwood@googlemail.com>
Message-ID: <4B0E1399.8030303@jacaranda.org>
Date: Thu, 26 Nov 2009 05:35:21 +0000
From: David-Sarah Hopwood <david-sarah@jacaranda.org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: tls@ietf.org
References: <4B0D9B94.9080205@pobox.com> <20091125225408.42FB96C3288@kilo.networkresonance.com>
In-Reply-To: <20091125225408.42FB96C3288@kilo.networkresonance.com>
X-Enigmail-Version: 0.96.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Subject: Re: [TLS] Quest for Unified Solution to TLS Renegotiation
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: Thu, 26 Nov 2009 05:35:25 -0000
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Eric Rescorla wrote: > At Wed, 25 Nov 2009 13:03:16 -0800, > Michael D'Errico wrote: >> I think that it would be good to find a unified solution that >> everybody is happy with, and believe that this may be it: > > This was actually suggested by Bodo Moeller last week. > >> 1) Client-to-Server signalling can be done in either of >> two ways: >> >> A) an empty Secure_Renegotiation (SR) extension, or >> B) a "magic" cipher suite >> >> 2) Server-to-Client signal is always an empty SR extension > > I just sent a message suggesting 1 and almost 2. > >> 3) Incorporate previous verify_data into Finished calc. > > I'm not happy with this, actually. > > This requires breaking the current clean definition of handshake > hashes as the hash of all the handshake messages and simply adding > some synthetic message in the middle. I don't think this is anywhere > near as clean, as evidenced by the ongoing debate about whether to put > it the synthetic data in the front, the back, incorporate it into the > PRF, or chain the pre-existing handshake messages. [FWIW, I think I > prefer the last of these implicit versions.] > > By contrast, RI allows that part of the system (which is well > understood) to remain the same and in fact when RI is offered on the > first handshake, there is no change to the TLS core at all. It's all > just hashed into Finished as part of the ordinary TLS procedures, > and everything is in fact compliant TLS, which I think is desirable. This approach and RI have different security properties: because RI does not change the Finished computation, it relies on the recipient of the extension checking that its contents are correct. OTOH, I think it's only necessary for the previous verify_data to be sent once. So, how about sending that only in the ServerHello, i.e. 1) Client-to-Server signalling: MUST send a "magic" cipher suite MAY send an empty Secure_Renegotiation (SR) extension (and SHOULD do so if it is sending other extensions). 2) Server-to-Client signal MUST be a Secure_Renegotiation extension containing the previous client and server verify_data. A patched client MUST check this value. 3) No change to Finished computation. 4) A server that is doing a renegotiation MUST reject connections from clients that don't include the magic cipher suite. - -- David-Sarah Hopwood ⚥ http://davidsarah.livejournal.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREIAAYFAksOE5cACgkQWUc8YzyzqAdUdQD/TiKDPFoe+drbNkjUJvlHpSwA +KE98pvwswuhTaS6xasBAIC6+qQHRRKZ3ZJgf2j6LtE9JqhpFOMJqng73yFwB4tB =LRBo -----END PGP SIGNATURE-----
- [TLS] Quest for Unified Solution to TLS Renegotia… Michael D'Errico
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Marsh Ray
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Martin Rex
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Stefan Santesson
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Eric Rescorla
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Hovav Shacham
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Michael D'Errico
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Eric Rescorla
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Martin Rex
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Michael D'Errico
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Martin Rex
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Martin Rex
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Michael D'Errico
- Re: [TLS] Quest for Unified Solution to TLS Reneg… David-Sarah Hopwood
- Re: [TLS] Quest for Unified Solution to TLS Reneg… David-Sarah Hopwood
- Re: [TLS] Quest for Unified Solution to TLS Reneg… David-Sarah Hopwood
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Martin Rex
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Martin Rex
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Yoav Nir
- Re: [TLS] Quest for Unified Solution to TLS Reneg… David-Sarah Hopwood
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Martin Rex
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Blumenthal, Uri - 0662 - MITLL
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Blumenthal, Uri - 0662 - MITLL
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Martin Rex
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Blumenthal, Uri - 0662 - MITLL
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Marsh Ray
- Re: [TLS] Quest for Unified Solution to TLS Reneg… David-Sarah Hopwood
- Re: [TLS] Quest for Unified Solution to TLS Reneg… David-Sarah Hopwood
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Martin Rex
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Michael D'Errico
- Re: [TLS] Quest for Unified Solution to TLS Reneg… David-Sarah Hopwood
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Martin Rex
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Michael D'Errico
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Martin Rex
- Re: [TLS] Quest for Unified Solution to TLS Reneg… David-Sarah Hopwood
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Blumenthal, Uri - 0662 - MITLL
- Re: [TLS] Quest for Unified Solution to TLS Reneg… David-Sarah Hopwood
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Stephen Farrell
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Yoav Nir
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Nelson B Bolyard
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Nelson B Bolyard
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Blumenthal, Uri - 0662 - MITLL
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Martin Rex
- Re: [TLS] Quest for Unified Solution to TLS Reneg… David-Sarah Hopwood
- Re: [TLS] Quest for Unified Solution to TLS Reneg… David-Sarah Hopwood
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Kyle Hamilton
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Eric Rescorla
- Re: [TLS] Quest for Unified Solution to TLS Reneg… Blumenthal, Uri - 0662 - MITLL
- Re: [TLS] Quest for Unified Solution to TLS Reneg… David-Sarah Hopwood