Re: [TLS] I-D Action: draft-ietf-tls-ticketrequests-01.txt

"Christopher Wood" <caw@heapingbits.net> Sat, 08 June 2019 13:33 UTC

Return-Path: <caw@heapingbits.net>
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 97E231200B2 for <tls@ietfa.amsl.com>; Sat, 8 Jun 2019 06:33:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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=heapingbits.net header.b=K3iPqPqI; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=UfJ6oqLQ
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 Xb8IXHy1VOyJ for <tls@ietfa.amsl.com>; Sat, 8 Jun 2019 06:33:35 -0700 (PDT)
Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3A77B120086 for <tls@ietf.org>; Sat, 8 Jun 2019 06:33:35 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 5AFD93E8; Sat, 8 Jun 2019 09:33:34 -0400 (EDT)
Received: from imap4 ([10.202.2.54]) by compute6.internal (MEProxy); Sat, 08 Jun 2019 09:33:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heapingbits.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm1; bh=n5xocF5A5GPq1MxYDo8w1ADbyvEDoQG mCA/HiRTWuVI=; b=K3iPqPqITBY3pEeurd4JjrBThwXpLgLo14TVahSVW1ufs5/ QbhM6rPiAcXMfHj9Pmt/A9HrYj7tznC6KEgv2fLb2pH5RXxpfCjhPnoUw1TPhWeg 9AQ8/k/7Vyth63Lp9j23KQPnkYNe25NQsSziE5Vqb071w1pR0r+gzCLLShCjFvrv MqTmGqPa2m1jVnZkRek6YAL9iyQV5NdjUbnLqTYM4/ZhkPPTi9G8C2bxXkygQvTT bZS9y7aJahoKc/XuQT6P3T3Ii7UJguBLPODY8iQeKLZ0lp4j+GHwYaYxQ8zmY9YZ AMoAWwN6gopzYkKiZep23w8nME6VB4ApgOXxDsw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=n5xocF 5A5GPq1MxYDo8w1ADbyvEDoQGmCA/HiRTWuVI=; b=UfJ6oqLQSxTatjE/lwxNmF prUrKaDSPJxNAwkvPOj62MGSYYexHZJP/g8KHiEmnYqBa75lP7phwsLphQXzBXa1 ALDgMvRHP+7aEO8ZnfUNlSxZBBye7XYhJIYKTwnR2QjhCztiQ6lKm9wqN/UoVao6 ZuI3HdLQdg9WffI1lsUcE9cDnanLs/kG0qpkOEJevzLdhmpiEI/dlqGwmyV58Tq9 JP+LgZWY4AFrt+7e+DWZnaVTYikvwn0S+mhYq9MOxRyHpVqFmD5lZnu55Hb+dHPw PycazripzZZ9n4SQwydhkLOT/solstK9zllGK6g77Rq3wmoSnryMywtGYF+WHyvw ==
X-ME-Sender: <xms:Lbn7XJVGRgT0LazWixznH7SRuZC21vCXZK7PxsddtN2arifUA3mBzg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudegkedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdevhhhr ihhsthhophhhvghrucghohhougdfuceotggrfieshhgvrghpihhnghgsihhtshdrnhgvth eqnecuffhomhgrihhnpehivghtfhdrohhrghenucfrrghrrghmpehmrghilhhfrhhomhep tggrfieshhgvrghpihhnghgsihhtshdrnhgvthenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:Lbn7XA9iukqe8tYH9wgeSSYrv12lTFxJSJqSGwp1tn87Rolhz0SOFw> <xmx:Lbn7XK8-F6zN8alfyqSVGwdL49m3r2CyiiE_ibnjEyzuQglrPkbxaQ> <xmx:Lbn7XITGzp77lf1vdfxxrMtf73NK5Gqit2UPUTxoxkGCUe1EqIV6Wg> <xmx:Lbn7XGvuLS3iHriYdC8y0WPQFZAKTUEeiNduuOE_V8ZeIKI4FdwqXg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0EAB83C00A0; Sat, 8 Jun 2019 09:33:33 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.6-663-gf46ad30-fmstable-20190607v1
Mime-Version: 1.0
Message-Id: <be82d082-afb2-4a22-9383-5529e25ea48a@www.fastmail.com>
In-Reply-To: <15449143.JsO9XSn2Py@pintsize.usersys.redhat.com>
References: <155986484588.1958.9325131777362231683@ietfa.amsl.com> <15449143.JsO9XSn2Py@pintsize.usersys.redhat.com>
Date: Sat, 08 Jun 2019 06:33:31 -0700
From: Christopher Wood <caw@heapingbits.net>
To: Hubert Kario <hkario@redhat.com>, "TLS@ietf.org" <tls@ietf.org>, David Schinazi <dschinazi.ietf@gmail.com>
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/LlBeesgleWi3sm6uAyyJMAzB4y8>
Subject: Re: [TLS] I-D Action: draft-ietf-tls-ticketrequests-01.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.29
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, 08 Jun 2019 13:33:38 -0000

Thanks for the comments, Hubert! Please see inline below.

On Fri, Jun 7, 2019, at 4:37 AM, Hubert Kario wrote:
> On Friday, 7 June 2019 01:47:25 CEST internet-drafts@ietf.org wrote:
> > There are also htmlized versions available at:
> > https://tools.ietf.org/html/draft-ietf-tls-ticketrequests-01
> 
> > clients without server-side, per-client state. Servers vend an
> 
> > number of tickets vended per connection. Second, clients do not have
> 
> > NewSessionTicket messages to vend. This extension is only applicable
> 
> > such services to vend tickets to clients to use for accelerated
> 
> > A supporting server MAY vend TicketRequestContents.count
> 
> > tickets they are willing to vend to clients. Thus, the number of
> 
> typos: send, sended

Good catch -- will fix.

> I think that the use cases should list a situation in which the client does 
> not expect to perform session resume, so it can inform the server of that by 
> sending the value 0.

Good suggestion! We can certainly add this. 

> The draft does not state what is the expected behaviour with tickets in 
> relation to post-handshake authentication.

As the extension is merely a hint to servers when deciding how many tickets to vend, I think this is out of scope for the document.

> The draft does not state if the extension is negotiated once per session or 
> its values should be reused for resumed sessions.

It's intended to be once per session, and we'll add that.

> The draft does not state how the extension interacts with Hello Retry Request 
> handshake. Can it be dropped/added/changed in 2nd CH message? What is expected 
> to happen when client does change it?

Also a good catch. Like other extensions that are not affected by the possibly updated ClientHello, it must not change. We need to specify the server side behavior, too.

> > Servers that support ticket requests MUST NOT echo "ticket_request"
> > in the EncryptedExtensions.
> 
> It's not spelled out what the client is expected to do when server does 
> violate this expectation. I'd say it should abort with unsupported_extension.

That seems reasonable to me.

Thanks again for the comments. We'll incorporate them into a next revision ASAP.

Best,
Chris (no hat)