Re: [TLS] Fresh results

Fabrice Gautier <fabrice.gautier@gmail.com> Sat, 05 December 2015 05:16 UTC

Return-Path: <fabrice.gautier@gmail.com>
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 807691A002A for <tls@ietfa.amsl.com>; Fri, 4 Dec 2015 21:16:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.3
X-Spam-Level:
X-Spam-Status: No, score=0.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, MANGLED_BACK=2.3, SPF_PASS=-0.001] autolearn=no
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 YRj1LNhpAMiQ for <tls@ietfa.amsl.com>; Fri, 4 Dec 2015 21:16:01 -0800 (PST)
Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E93F31A0029 for <tls@ietf.org>; Fri, 4 Dec 2015 21:16:00 -0800 (PST)
Received: by pacwq6 with SMTP id wq6so19509540pac.1 for <tls@ietf.org>; Fri, 04 Dec 2015 21:16:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QV2iOWLaa2tj9QKjZt4OKZsSpDbiZjjJqFaPKiit4MQ=; b=aXzgWIp9pLL9p8HCLsyp1OnF/UOSZMSN0I2/SFFEgOSdcRMCHXSqmSf8tDRxnrKMhp 8heHnr/jFeGw3rWdi2ovC+NvsoK7sYqmXgdYWTr6GNGb0z9xvElIg2C8NHYIKKagRjLA WSr6s85XlIjAlCoJfRscXvnXjaLPcqNG3ek0FRq1ZNKzn28YnFjCLAWQMEgj7/A3KLhb 2EnVeEjlBwu3CQWQUrFjzywkvyaWGgUcEXPluhwZZedKIYIWz++LoOCpOHunf+QAHWMJ +E5q9SoO5W1tTCSxpWjyYFAYFwE62brKYWIFm+d2kblQTGs06v/ZADkR8S4vNoNaehsR 01Cw==
X-Received: by 10.67.5.98 with SMTP id cl2mr26988187pad.157.1449292560212; Fri, 04 Dec 2015 21:16:00 -0800 (PST)
Received: from [10.0.1.7] (c-50-136-214-180.hsd1.ca.comcast.net. [50.136.214.180]) by smtp.gmail.com with ESMTPSA id n16sm20353435pfa.53.2015.12.04.21.15.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Dec 2015 21:15:59 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (1.0)
From: Fabrice Gautier <fabrice.gautier@gmail.com>
X-Mailer: iPhone Mail (13A340)
In-Reply-To: <1819508.BiWZzO1XF0@pintsize.usersys.redhat.com>
Date: Fri, 04 Dec 2015 21:20:45 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <F1444D2E-765F-4668-9FC2-A72D95C29F3E@gmail.com>
References: <CACsn0cm41VD40tiwR-sO9piPu01rRkoWKPwHWCKcr5Z9id8kDg@mail.gmail.com> <CACsn0ckkqhmH82P=NOaRF9J+EYBf=4HwfaBXKMvkp2QGdmnqNA@mail.gmail.com> <20151204005208.5b9aad75@pc1> <1819508.BiWZzO1XF0@pintsize.usersys.redhat.com>
To: Hubert Kario <hkario@redhat.com>
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/gKjGpRfgaBOizTBv75-Y1IOHcFA>
Cc: tls@ietf.org
Subject: Re: [TLS] Fresh results
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: <https://mailarchive.ietf.org/arch/browse/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, 05 Dec 2015 05:16:02 -0000

> On Dec 4, 2015, at 10:11, Hubert Kario <hkario@redhat.com> wrote:
> 
>> On Friday 04 December 2015 00:52:08 Hanno Böck wrote:
>> On Thu, 3 Dec 2015 18:45:14 -0500
>> 
>> Watson Ladd <watsonbladd@gmail.com> wrote:
>>>> On Tue, Dec 1, 2015 at 3:02 PM, Hanno Böck <hanno@hboeck.de> wrote:
>>>> So as long as you make sure you implement all the proper
>>>> countermeasures against that you should be fine. (Granted: This is
>>>> tricky, as has been shown by previous results, even the OpenSSL
>>>> implementation was lacking proper countermeasures not that long
>>>> ago,
>>>> but it's not impossible)
>>> 
>>> Can you describe the complete set of required countermeasures, and
>>> prove they work comprehensively? What if the code is running on
>>> shared hosting, where much better timing attacks are possible?
>>> What's shocking is that this has been going on for well over a
>>> decade: the right solution is to use robust key exchanges, and yet
>>> despite knowing that this is possible, we've decided to throw patch
>>> onto patch on top of a fundamentally broken idea. There is no fix
>>> for PKCS 1.5 encryption, just dirty hacks rooted in accidents of
>>> TLS.
>> 
>> No disagreement here.
>> 
>> The thing is, we have a bunch of difficult options to choose from:
>> 
>> * Fully deprecate RSA key exchange.
>> The compatibility costs of this one are high. They are even higher
>> considering the fact that chrome wants to deprecate dhe and use rsa as
>> their fallback for hosts not doing ecdhe. ecdhe implementations
>> weren't widespred until quite recently. A lot of patent foo has e.g.
>> stopped some linux distros from shipping it.
> 
> Then maybe Chrome should reconsider.
> 
> I think we're overstating the compatibility costs.
> 
> very few widely deployed implementations (with the exception of the long 
> deprecated Windows XP) lack support for DHE_RSA *and* ECDHE_RSA at the 
> same time

The main issue with DHE_RSA is that there are still too many servers which will use short DHE group (<1024 bits). When connecting to those servers, using RSA is (presumably) safer.

From a compatibility aspect it's much simpler and safer to just disable DHE completely than to try to enforce a DHE limit, which would require a fallback connection to RSA.


-- Fabrice. 


> -- 
> Regards,
> Hubert Kario
> Senior Quality Engineer, QE BaseOS Security team
> Web: www.cz.redhat.com
> Red Hat Czech s.r.o., Purkyňova 99/71, 612 45, Brno, Czech Republic
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls