Re: [TLS] Application Data payload

Martin Thomson <> Mon, 06 March 2017 22:52 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id EB4B1129A69 for <>; Mon, 6 Mar 2017 14:52:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id NYCGvUKM5l49 for <>; Mon, 6 Mar 2017 14:52:39 -0800 (PST)
Received: from ( [IPv6:2607:f8b0:400d:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id D9E22129547 for <>; Mon, 6 Mar 2017 14:52:38 -0800 (PST)
Received: by with SMTP id p64so61547482qke.1 for <>; Mon, 06 Mar 2017 14:52:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5yJzGqlS0R/Z82Jrkr++DpqSWddQWoDr6g6LZabqzWY=; b=Hu61EhvM9GGnbc3j1Xvn5y1ZD7PUuz5N9uHoJVTQ/6+c5r6yJeqNrp+SEozWw6jkOm Jx/EvJE3spx3N2nM4+m+PIJ06cKnQr2rAFcNQSQzA1s2Xwl5tk/9b/QZVMpM4kBhNBWS jTcrGEPkFqufAfmraMhWWi+KOmW573mi4aXk9kINlUi+LdunoHq3BqlLLAjN1CtqAFR4 Zu29bjU+BOu/lNhj6v5eOxD1BbP3OOo37E0iLzmPajgJ26P/JX7cDJRdZgYfN+8jnKOy 1XQZltDJD1lmbYGf7NYkT6jziglQEM1eGBBwjRrP8sm1oPyGM77QpOf+c/GZR/hNY7IK 0rzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5yJzGqlS0R/Z82Jrkr++DpqSWddQWoDr6g6LZabqzWY=; b=OM4lqXJoK/ob/6R42vNhFq+1653tmy0b/WSZWzc4Zu/lEafSclV7FLt5io04Qf5MmT OhyJW4ZUBzUpi9BSKx/+LJ166/2aNogycC+21dG25xFt0iJy13PjPc2gLAhwWSA86Q85 vfYiCXph6u54dsMTgYMYv0R3wN8GRJnQleytxYDTHuDuc45o/JuSGNOaFPicbReVZzRF 7I7dXsCoGbjuDFZRQ39AmfRnJ0UtU0s+abd30wcRjLhuYbpLNEjPXQk0EK+WaWYYBYMz FqSYTVOqze+NSU+lyy5fmRXsLrypeZJwx/XZ1GSVJM79tH2Ln3N+7O4gtqkywagpM5wl wXcQ==
X-Gm-Message-State: AMke39kPQ7M5o9KjrlKMEqhtWdWnfqxvDNzmUOgZIN8BuKdJo1gAou2Ncwk6o/2SI2gqiz2ih8vK4gLLdxvHEA==
X-Received: by with SMTP id s91mr19453568qtd.143.1488840758028; Mon, 06 Mar 2017 14:52:38 -0800 (PST)
MIME-Version: 1.0
Received: by with HTTP; Mon, 6 Mar 2017 14:52:37 -0800 (PST)
In-Reply-To: <>
References: <> <> <>
From: Martin Thomson <>
Date: Tue, 07 Mar 2017 09:52:37 +1100
Message-ID: <>
To: David Benjamin <>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <>
Cc: Filippo Valsorda <>, "" <>
Subject: Re: [TLS] Application Data payload
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." <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 06 Mar 2017 22:52:40 -0000

On 7 March 2017 at 08:43, David Benjamin <> wrote:
> To clarify, our interpretation of the spec was that it is the encrypted
> data, not unencrypted data.

Well, clearly we disagree.  To be clear, I don't mind much if it's the
encrypted data, though we'd need to also agree if the count included
the authentication tag (yes, probably) and the record header (I don't

You appear to be conflating two things:

1. The amount of data that a server might have to hold on to when it
accepts 0-RTT.  The original reason Filippo suggested this feature was
so that it would be possible for their servers to hold 0-RTT data
until the handshake was complete.

2. Records that do nothing other than waste server time.  Into this
category we can place records with only padding or very little actual
data, extra key updates, CertificateRequest, and - the one you
highlight here - early data that is ignored.

My interpretation was that the first the only thing that needed tight
bounds, the second could be quite fuzzy and could come down to things
like current server load and DoS mitigation strategies.

We really need to agree on the right answer here.