Re: [TLS] [SUSPECTED URL!]Re: Requiring that (EC)DHE public values be fresh

Adam Langley <agl@imperialviolet.org> Mon, 02 January 2017 20:57 UTC

Return-Path: <alangley@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0BF051295D4 for <tls@ietfa.amsl.com>; Mon, 2 Jan 2017 12:57:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 HY2a70dVN2i7 for <tls@ietfa.amsl.com>; Mon, 2 Jan 2017 12:57:06 -0800 (PST)
Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (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 7A6DB129443 for <tls@ietf.org>; Mon, 2 Jan 2017 12:57:06 -0800 (PST)
Received: by mail-io0-x232.google.com with SMTP id h133so181531565ioe.3 for <tls@ietf.org>; Mon, 02 Jan 2017 12:57:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=j2HkM2dX5RfS84XXwpdarXf8hgY8bxw3xrVzSTQIKnU=; b=U33L8RuLRIdtt+BukVaJgMudlhhc9adMHsVQBTHKFNLhGJeMKJQxo+HGj1gKKo7dpJ 5R5fJmv7j3CFbsPYfYNF1A4Lf3LvuXuDvtSnWhXhQ+BLS1QIQvzYzD5NcWrKPiRlS2dy JKvdScPKCO3/QLGnItFzD3h1ud37beDVJrqv0tGI3aZJY0tuF+mWSjUdVnbBHwCPLAVB op7TaUFsuzCpaQwkKNY2iIj+cPG0fIkM7Tow/MXo9NYrXJeahwUp6Xzfro9vKSuF8I51 NrAQqCoMCxTMwK+xMYojDMPDTmSV9m+VA+/kQOreCWcgNdSh+ncH/f5lUyQCHmf3Ecyf GOSA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=j2HkM2dX5RfS84XXwpdarXf8hgY8bxw3xrVzSTQIKnU=; b=Xek9ySIj1ysSsVIfv7tQ58QToFe0SR60DZJCcbLhzlk6qPVX4zuzECz/EbPZIW3p4g PQcJKp9zMLg5nRTpedKHVBdeKQRlI8HSDeqyakcuiQWpIeYN1uRN1OOwLgYp+ni0INtV wbzbpVL57/Eu3EV5lROD9QgOaFV4zpbeYscj6GZ51n7k0G8NghyOq2SCUDrG1JYdVQJ8 UhJJe0lWRnII8md/J956GprV9a7kA+DGnzCqiK2yw2M9THi+7fC/hfPFIDckH98fCfNQ p+8dcawqunR4ziXH4gyAbH11+qMk6YHQZzcmBPbgpQnLIqtgKSxnSqosy7A4wtb0FIzj TvvA==
X-Gm-Message-State: AIkVDXJAyofjQnDqYL9ufdNfrKsOGEgiGbj9cNtUe+j0CONL8FfozzfTIDVc9AhG7wYJaw4gzDBmeiSFxk5SlA==
X-Received: by 10.107.154.206 with SMTP id c197mr47513947ioe.97.1483390625735; Mon, 02 Jan 2017 12:57:05 -0800 (PST)
MIME-Version: 1.0
Sender: alangley@gmail.com
Received: by 10.36.27.136 with HTTP; Mon, 2 Jan 2017 12:57:05 -0800 (PST)
In-Reply-To: <071A0098-8E03-4DCB-AA3F-4AD9424C9493@gmail.com>
References: <CAMfhd9Urd1DWF9yhMdhvx1AcKyB4-E7Qy+tzqz_-1RpXR+Wp1w@mail.gmail.com> <CAFewVt44xm3rgm=n8PpEcqbTvC-Ei2EvoJciL=+m2UnQ-fUm2A@mail.gmail.com> <CAMfhd9Xq4RA6XBqLZtsbWSnMk4SnvZLC9V3_gCH-FzyVBMg4xg@mail.gmail.com> <CADi0yUPSkBhyuX7utW1tsVkkbDc6YgBLie41qWPwbo+X6CpuZA@mail.gmail.com> <1483330131409.25713@cs.auckland.ac.nz> <5542029D-293A-44F5-9A11-62F5C47A4BA5@gmail.com> <CABcZeBOa7rNSX-bZgQ4HS02XX0c_bMMfTMPfpmtxyq7DrnpmuA@mail.gmail.com> <071A0098-8E03-4DCB-AA3F-4AD9424C9493@gmail.com>
From: Adam Langley <agl@imperialviolet.org>
Date: Mon, 02 Jan 2017 12:57:05 -0800
X-Google-Sender-Auth: rEI9jtYQcdqzscOmOmUBAAyz8j8
Message-ID: <CAMfhd9VgvMneT--VqgZ2VnwkbHuorE+ZMoYx_UnSu2QkPLaNmg@mail.gmail.com>
To: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/6Jxhloh-wkndDHGLORx0KI__3ns>
Cc: "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [TLS] [SUSPECTED URL!]Re: Requiring that (EC)DHE public values be fresh
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 02 Jan 2017 20:57:08 -0000

On Mon, Jan 2, 2017 at 11:43 AM, Yoav Nir <ynir.ietf@gmail.com> wrote:
> I’m assuming that the server generates private keys and saves them to a file
> along with the time period that they were used, and another machine in a
> different part of the network records traffic. It’s not so much that the
> clocks need to be accurate, as that they need to be synchronized, and there
> will still be some misalignment because of (variable) latency.
>
> I guess we are making guesses about systems that haven’t been written yet.

Addressing a few messages in one:

I didn't intend that this MUST NOT just be a "MUST NOT (but we know
you will)". I agree they're pretty useless. Rather I want this to be
checked in some clients and in tools like SSLLabs. I have some faith
that such measures will work to push an ecosystem towards correctness.

I don't expect that those who want to intercept TLS connections will
see a MUST NOT and go do something else. Rather I think they should
understand that TLS isn't supposed to be intercepted and, if they want
to do that, then they're going to be breaking the spec in places. I
think they're going to do that no matter what we do so I want to
ensure that these "interceptable" implementations don't inadvertently
proliferate. (Because if everything Just Works when you accidentally
copy such a config to your frontend server, then it'll happen.)


Cheers

AGL