Re: [TLS] I-D Action: draft-ietf-tls-negotiated-ff-dhe-02.txt

Ilari Liusvaara <ilari.liusvaara@elisanet.fi> Sat, 25 October 2014 20:16 UTC

Return-Path: <ilari.liusvaara@elisanet.fi>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B0421A6F6B for <tls@ietfa.amsl.com>; Sat, 25 Oct 2014 13:16:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DHmfYjd3wI_F for <tls@ietfa.amsl.com>; Sat, 25 Oct 2014 13:16:46 -0700 (PDT)
Received: from emh03.mail.saunalahti.fi (emh03.mail.saunalahti.fi [62.142.5.109]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 617C81A6F3D for <tls@ietf.org>; Sat, 25 Oct 2014 13:16:45 -0700 (PDT)
Received: from LK-Perkele-VII (a88-112-44-140.elisa-laajakaista.fi [88.112.44.140]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id 9285B1887A1; Sat, 25 Oct 2014 23:16:42 +0300 (EEST)
Date: Sat, 25 Oct 2014 23:16:42 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Watson Ladd <watsonbladd@gmail.com>
Message-ID: <20141025201642.GA7408@LK-Perkele-VII>
References: <20141011044948.27553.93984.idtracker@ietfa.amsl.com> <5438B82B.6090600@fifthhorseman.net> <544BD3BF.9030702@streamsec.se> <1682594903.63043.1414266713793.JavaMail.zimbra@redhat.com> <CACsn0ckWj2Jb65JN3mpABe0hC=ao3Bi7qQgUJYkUgzG9giAn8Q@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <CACsn0ckWj2Jb65JN3mpABe0hC=ao3Bi7qQgUJYkUgzG9giAn8Q@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Archived-At: http://mailarchive.ietf.org/arch/msg/tls/XPbP-TYu95M8BFeJRhIrP1r5MyE
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] I-D Action: draft-ietf-tls-negotiated-ff-dhe-02.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
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/options/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: Sat, 25 Oct 2014 20:16:48 -0000

On Sat, Oct 25, 2014 at 12:55:58PM -0700, Watson Ladd wrote:
> On Sat, Oct 25, 2014 at 12:51 PM, Nikos Mavrogiannopoulos
> <nmav@redhat.com> wrote:
>
> > 3. There are known attacks against the current ServerKeyExchange format which
> > remain applicable if we go this path (a sufficiently long DH serverkeyexchange
> > message can be parsed as an ECDH serverkeyexchage).
> 
> And 4: session_hash solves the same problem if I understand the
> elements of it correctly, and we need it anyway because of this
> ambiguity in parsing mentioned above. So do we even need this draft?

AFAIK, no, it won't, at least not completely.

(TLS 1.3 has this problem fixed, even without session_hash[1]).


[1] Without session_hash TLS 1.3 is broken in other ways without DH
order check (and one can't rely on endpoints to perform such check
even if it is feasible, so session_hash is a good idea there too).


-Ilari