[TLS] Replacing HelloRetryRequest in TLS 1.3?

Dave Garrett <davemgarrett@gmail.com> Thu, 26 November 2015 23:03 UTC

Return-Path: <davemgarrett@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 0453F1B2C5D for <tls@ietfa.amsl.com>; Thu, 26 Nov 2015 15:03:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, 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 jZCvoGk3Qnow for <tls@ietfa.amsl.com>; Thu, 26 Nov 2015 15:03:32 -0800 (PST)
Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::22d]) (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 ABC851B2CBE for <tls@ietf.org>; Thu, 26 Nov 2015 15:03:32 -0800 (PST)
Received: by qgec40 with SMTP id c40so62603030qge.2 for <tls@ietf.org>; Thu, 26 Nov 2015 15:03:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=n4kVqvtKkD3MKUwSdnPRnt4l8aB4Fh98jU5IF35cAa4=; b=KrVQ8bwdxUU0g6bsf4/1WsST0QJZ20gvwQehWvmtyQUGevWwparMyFcJfJ/CWr7e8f vNqOpEREVAvnxF6nXTvKhTe0mXAjYSg43UMA6wVqOesqRpxAymzmWJwp3jUc5HUY8Vg6 4RdkOuuJOMkPH2P1p7XibU/jjySWoRR4BzG0+nwo5Ryyytr1naTYz/81U9aXgFFuRQyw DZnIRm5I5fGnlqXcg0gpFOO2wyBPrFr07IxEfyX6QeqAWyniNyhouvNKPktBiZVNJG2S KJaMd/e/bOQni+aj6C16yo8XypK6mQmkla4/04lvWQow+aBO6xY0qOQzlZJBh5IDFj/I 6Dug==
X-Received: by 10.140.94.243 with SMTP id g106mr50563652qge.57.1448579011845; Thu, 26 Nov 2015 15:03:31 -0800 (PST)
Received: from dave-laptop.localnet (pool-72-94-152-197.phlapa.fios.verizon.net. [72.94.152.197]) by smtp.gmail.com with ESMTPSA id h11sm4236726qge.43.2015.11.26.15.03.31 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 26 Nov 2015 15:03:31 -0800 (PST)
From: Dave Garrett <davemgarrett@gmail.com>
To: tls@ietf.org, Eric Rescorla <ekr@rtfm.com>
Date: Thu, 26 Nov 2015 18:03:30 -0500
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
MIME-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <201511261803.30599.davemgarrett@gmail.com>
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/ZMkHqgH-ITPuGDHpuyeASDAErfk>
Subject: [TLS] Replacing HelloRetryRequest in TLS 1.3?
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: Thu, 26 Nov 2015 23:03:34 -0000

HelloRetryRequest is annoying. Is there any way we can replace it with something? I know our options are limited, here. We can't mandate offers for everything, not just due to constrained environments, but also because post-quantum keys could get too big.

The main thing that comes to mind would be to provide a way for a server to respond to a client with a ServerConfiguration, but not a hello, and put group support in there (maybe a whole supported_groups extension). Clients that don't provide the needed key would get a config and a fatal alert telling it that it needs to use a supported group from that config. The client could then retry as it does now or do 0-RTT with early data, which could cut an RTT out of the current flow. (This is similar to the QUIC way of doing things.)


Dave