Re: [TLS] RFC 7919 on Negotiated Finite Field Diffie-Hellman Ephemeral Parameters for Transport Layer Security (TLS)

Benjamin Kaduk <bkaduk@akamai.com> Tue, 16 August 2016 20:34 UTC

Return-Path: <bkaduk@akamai.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 5AFE312D5BF for <tls@ietfa.amsl.com>; Tue, 16 Aug 2016 13:34:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.967
X-Spam-Level:
X-Spam-Status: No, score=-3.967 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.247, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 h317VF_3MyOy for <tls@ietfa.amsl.com>; Tue, 16 Aug 2016 13:34:37 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (prod-mail-xrelay07.akamai.com [23.79.238.175]) by ietfa.amsl.com (Postfix) with ESMTP id 798E512D769 for <tls@ietf.org>; Tue, 16 Aug 2016 13:34:37 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 0FDF7433403; Tue, 16 Aug 2016 20:34:37 +0000 (GMT)
Received: from prod-mail-relay11.akamai.com (prod-mail-relay11.akamai.com [172.27.118.250]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id ECC33433402; Tue, 16 Aug 2016 20:34:36 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1471379676; bh=6jmsQYVhq3DEYDNDtVVmfPnkKmld6pArUAxGQYokVBY=; l=2283; h=To:References:From:Date:In-Reply-To:From; b=xfwNCY/2S3E7DiRU4LHCYgphqYLOMToRo7iGjBMKXFJpJGU78xTx5MrteMIdmRG+o u/wqE6Q0EeXXwTn50X1PW4cH04PbIkIkAHz9w0fHLe9mmrs2UbXMZz5VIf8a8hf3MF 8TCPLz2TdkAyRqGucknAERobqJF5CgepyqLkT5Vc=
Received: from [172.19.0.25] (bos-lpczi.kendall.corp.akamai.com [172.19.0.25]) by prod-mail-relay11.akamai.com (Postfix) with ESMTP id B5EA11FC88; Tue, 16 Aug 2016 20:34:36 +0000 (GMT)
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>, "tls@ietf.org" <tls@ietf.org>
References: <9A043F3CF02CD34C8E74AC1594475C73F4CF009C@uxcn10-5.UoA.auckland.ac.nz>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <0131e121-4a96-6c9f-0c28-fea0519adad4@akamai.com>
Date: Tue, 16 Aug 2016 15:34:36 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4CF009C@uxcn10-5.UoA.auckland.ac.nz>
Content-Type: multipart/alternative; boundary="------------9FB078B366ACADCE622395EB"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/F-XVRB4PtgbzEh2d14mal1xca7M>
Subject: Re: [TLS] RFC 7919 on Negotiated Finite Field Diffie-Hellman Ephemeral Parameters for Transport Layer Security (TLS)
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: Tue, 16 Aug 2016 20:34:49 -0000

On 08/16/2016 05:44 AM, Peter Gutmann wrote:
> As far as I can see what this text is saying is that if the client can't guess
> in advance which PFS suite/group the server knows about, the server must
> disable use of PFS.  In other words instead of saying "give me a PFS suite,
> preferably with this group", it's saying "give me a PFS suite with exactly
> this group and if you can't do that, don't do PFS".  This seems like a pretty
> awful way to handle things.
>

Recall that the "perfect" part depends on both sides doing what they're
supposed to.  And if the server wants to behave badly and is doing a
not-named group, it can send something that is not prime, or has small
subgroups, etc. -- not all clients will check, so the client is
definitely not guaranteed forward secrecy.

-Ben