Re: [TLS] Encrypt-then-MAC again (was Re: padding bug)

Watson Ladd <watsonbladd@gmail.com> Sat, 30 November 2013 18:02 UTC

Return-Path: <watsonbladd@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 E7D1C1AE120 for <tls@ietfa.amsl.com>; Sat, 30 Nov 2013 10:02:39 -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 Fwdj9CkxFXiI for <tls@ietfa.amsl.com>; Sat, 30 Nov 2013 10:02:38 -0800 (PST)
Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) by ietfa.amsl.com (Postfix) with ESMTP id 56A501AD73E for <tls@ietf.org>; Sat, 30 Nov 2013 10:02:38 -0800 (PST)
Received: by mail-wi0-f181.google.com with SMTP id hq4so3186518wib.14 for <tls@ietf.org>; Sat, 30 Nov 2013 10:02:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=j9J3L5z4wGHYxYBh4jqZSxRJ+ymO3fQpPiEi6MV4Ics=; b=Afzm4lIRbkuLzqhldHL/ZC8iwKdYesYqXqpp7hAXqe0tgYZm1yChwU5wlHmcLApaWN z02mJJblR0kxsLFNPujD+9HTfTsGruDI880h4VpEliYIDqMpFAFAo/WoanXkgFx6ViLS o37dL50lAXa0QznNznM6h+8zuF1i7WZSaEcZkbVNmrmFbh+dmhpGMM136yEykzeEBDx6 NMQ+co8gBejc0k/Iq0ANGJkDGFZD56TgCQrGK9e1JtcDqHj8HBVo93uWfGgfljao2yZf btsOZp99PZAroO7HH9w5wPT8MIek9ZVgm+5kCkZvHBA8WWY12UooLqDwAxPojn1hQCOf bNDg==
MIME-Version: 1.0
X-Received: by 10.194.122.99 with SMTP id lr3mr45065505wjb.21.1385834556318; Sat, 30 Nov 2013 10:02:36 -0800 (PST)
Received: by 10.194.242.131 with HTTP; Sat, 30 Nov 2013 10:02:36 -0800 (PST)
In-Reply-To: <CALR0uiLgqeF_87THr98rgFvXrLsmiUO2Q9p+LGLxiHa==5AmCQ@mail.gmail.com>
References: <1385826600.11639.25.camel@aspire.lan> <CEBFC33E.10954%kenny.paterson@rhul.ac.uk> <CALR0uiLgqeF_87THr98rgFvXrLsmiUO2Q9p+LGLxiHa==5AmCQ@mail.gmail.com>
Date: Sat, 30 Nov 2013 10:02:36 -0800
Message-ID: <CACsn0cnyGGiWynEb7LTrxnbsO53Z=8RtbdftD0T29n_80T8sWw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Alfredo Pironti <alfredo@pironti.eu>
Content-Type: text/plain; charset="UTF-8"
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Encrypt-then-MAC again (was Re: padding bug)
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: <http://www.ietf.org/mail-archive/web/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, 30 Nov 2013 18:02:40 -0000

On Sat, Nov 30, 2013 at 9:58 AM, Alfredo Pironti <alfredo@pironti.eu> wrote:
> Hi Kenny,
>
>> But, at the risk of repeating myself, I very much prefer the simplicity
>> and robustness of an Encrypt-then-MAC construction.
>
> I agree with you. Indeed, Encrypt-then-MAC and (or within) AEAD are
> the only two cipher modes I'd like to see in TLS 1.3.
You do realize EtM is an AEAD if properly designed?
>
> In practice however, we witness the disastrous experience in widely
> deploying any change which is not a small patch to TLS1.0. So I'm
> afraid that to get something deployed in reasonable times we may have
> to get content with such a patch, like pad-MAC-Encrypt, that makes
> more robust (if not provably secure) what we already have.
How is pad-MAC-Encrypt less of a change then Encrypt then MAC?
We still can't kill RC4, which is a *configuration change*.
Patches aren't getting deployed even if painless, so arguing about the
ease of deployment is a red herring.
>
> Alfredo



-- 
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin