Re: [TLS] draft-rescorla-tls13-new-flows-01 - Thoughts post-meeting

Michael StJohns <msj@nthpermutation.com> Mon, 17 March 2014 14:42 UTC

Return-Path: <msj@nthpermutation.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 108E11A0400 for <tls@ietfa.amsl.com>; Mon, 17 Mar 2014 07:42:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] 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 Y6uyGnW0D7WK for <tls@ietfa.amsl.com>; Mon, 17 Mar 2014 07:42:04 -0700 (PDT)
Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by ietfa.amsl.com (Postfix) with ESMTP id A3F691A02DF for <tls@ietf.org>; Mon, 17 Mar 2014 07:42:04 -0700 (PDT)
Received: by mail-ee0-f47.google.com with SMTP id b15so4217970eek.34 for <tls@ietf.org>; Mon, 17 Mar 2014 07:41:56 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Dmjvdynzn/9JVZkZapZPJdT7mi50yzcZNimvPENfDOo=; b=nC3fDLlvfr2RGiMvbFZWJ5KCgbKQZ2SfeaUFO/v9A8NMRe8P4qSKfnx19Hs/Pv34b3 mFstt9Ww9a6KiAGeDLqAc8OGy/URuMOhOhM6mEVJO7LpJsS+0o8A5xnzE05SUNF+I3ZR Xd6a99u6Z7HEsGeJXkNP/3bKt6KMUqmAJrs4UgmZLHms1XkSXa08NWNo7rDI/6XyUN1U EqyEhkCUXlwdVXlO+PLiv6X0EW0k/LWCi6tH67/a65dn9OsvkuWwnC6tb9t9foHi26YL iMW7V6q+3Tlzu10RAwSJsMQEKcPxOinqlT49ViHkeLsqER80UtdlBEIXTU4wYjMUayQq j2FQ==
X-Gm-Message-State: ALoCoQnqiTveDzn26qkvP7rSj/0IiHHlkVL39ofRf9koZ9LhwfqTX/q419d/KkvCTa0N8tKdOXAF
X-Received: by 10.15.54.137 with SMTP id t9mr24090312eew.39.1395067316300; Mon, 17 Mar 2014 07:41:56 -0700 (PDT)
Received: from [192.168.1.105] (c-68-34-113-195.hsd1.md.comcast.net. [68.34.113.195]) by mx.google.com with ESMTPSA id q44sm39952903eez.1.2014.03.17.07.41.54 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Mar 2014 07:41:55 -0700 (PDT)
Message-ID: <532709B1.6030800@nthpermutation.com>
Date: Mon, 17 Mar 2014 10:41:53 -0400
From: Michael StJohns <msj@nthpermutation.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Tom Ritter <tom@ritter.vg>
References: <5325DDA0.9030006@nthpermutation.com> <CA+cU71mzCBMgEAtb1aamHUnP0kx1Ngu9NoCXV0ODQ8P2nVkO0Q@mail.gmail.com>
In-Reply-To: <CA+cU71mzCBMgEAtb1aamHUnP0kx1Ngu9NoCXV0ODQ8P2nVkO0Q@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/tls/uVuya3s1BOG_XVVIaxIoBsR0sgI
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] draft-rescorla-tls13-new-flows-01 - Thoughts post-meeting
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: Mon, 17 Mar 2014 14:42:07 -0000

On 3/16/2014 9:43 PM, Tom Ritter wrote:
> On 16 March 2014 10:21, Michael StJohns <msj@nthpermutation.com> wrote:
>> During the TLS meeting EKR talked about encrypting most of the protocol
>> negotiation, and noted that the primary use case for that was the SNI.
> What about protecting the certificate sent by the server?
> What about protecting supported ciphersuites and extensions listed -
> taking steps towards protecting what user agent is being used?
> What about client certificates - protecting identity of the client?
> What about extensions? SRP Data, Client/Server Auth data, Padding?
Sorry - I should have put it like this (which AFAIK reflects the F2F 
discussion):

SNI is the only one of these that needs to be sent upfront - the rest 
can be done (albeit expensively) at later stages of the negotiation.

> If we had this before, the DHE exchange would be protected and we
> wouldn't be exposing 1024 DH all over the place.

I don't actually understand this point.  You're saying because the DH 
negotiation is encrypted under a key negotiated by a previous DH 
negotiation, then 1024 bit DH would be safe?

>
> If we spend all our time focusing on trying to protect individual
> components, we'll find arguments against any of them.  I'd much rather
> start from the perspective of protecting everything and address
> problems on an individual basis.  When building a cryptographic
> protocol you don't choose the smallest security margin you can think
> of for the application.

All of this is motherhood I agree with except with "protecting 
everything" because TANSTAAFL - there ain't no such thing as a free 
lunch - everything costs and sometimes provides little benefit.  But 1) 
what problem is this trying to solve?  2) How much cost is involved - on 
the client side and on the server side?  3) How much does this increase 
the attackers work factor?   These are all question I look at before 
deciding to move forward with a solution.

I'm unclear that we've agreed on the problem we're trying to solve (or 
problems), (And encrypt everything is not the problem, its the tool).

Mike

>
> -tom