Re: [Cfrg] Help with the use of contexts

Adam Langley <agl@imperialviolet.org> Tue, 17 January 2017 16:12 UTC

Return-Path: <alangley@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2A1CA129553 for <cfrg@ietfa.amsl.com>; Tue, 17 Jan 2017 08:12:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, 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=gmail.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 vWQdCciiWfpY for <cfrg@ietfa.amsl.com>; Tue, 17 Jan 2017 08:12:18 -0800 (PST)
Received: from mail-io0-x241.google.com (mail-io0-x241.google.com [IPv6:2607:f8b0:4001:c06::241]) (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 6C747129547 for <cfrg@irtf.org>; Tue, 17 Jan 2017 08:12:18 -0800 (PST)
Received: by mail-io0-x241.google.com with SMTP id m98so16218877iod.2 for <cfrg@irtf.org>; Tue, 17 Jan 2017 08:12:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=xqOohKL1toadTVnQ0WnEH74MQ/YE6ZOBZzG8bAIyMU0=; b=X0ng7Rsbtl+ddf4ydQcqLqIc6FK9uxzyVJKXjtBRHN+NMk5Bmha+y/ztZNczf6A3rU /ayTypu5yXugGIi/i4uysfyzOGlA1jKwGuOFYRKBy8yHrVzMLjAR46HGNNwgL5XVQrpH yIRuzt8yX8/XFOMdTcyDb5pkPBpoJuTWmyFNI9tPtiMPS6wbTeY4lsGPcvx0cCiuunoZ knMUavluQEz4R5koFyhUMWRpMBNLzc3TZufB+oWn+fwCJpG0GLPBEyklIJKD+iChbiSn ikQvfVgLmuxtUq9XQzUgvPvGkfirzu8x7JhxGhMH8nd9rp0B3Vt7xn8jsF/ztSaQZ8Ci devQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=xqOohKL1toadTVnQ0WnEH74MQ/YE6ZOBZzG8bAIyMU0=; b=eEupult71eZHN/KFzXS4rmTwYmFSidqQ3zBRa1gGCiZUTgKviqFTS0YqiO1A31u9TK WSnKMjJtD6jl/6sonG0a0OXoWvlpHqqvdW1yw6i4eBFOvn7Mb7Zia96hap8yzwlKdsrr gI3JftQ47cyOJyRkFRWdCrKevn2UHnum9zynflHDNUByavg4MRkutuCiovecu9GjTD3R 1RrmZY4MOm+Mxqny4mJwtLJd7aPZD+5soXNR7lHu98btx7AITp1hma31zFx2errUySaO YI+mvLuTokVkLz2cRQZaLaRtZEELuvd9gAKgEGKHQT73Ei1G95dqKhS29I7oaq5hvu1C hPgw==
X-Gm-Message-State: AIkVDXLc07xsQI/JMIkOeBzwNkTDL05dyDp25uyDYb2e5zauwL+sT0Ltrj4+gSsl3P06Y56gfgiU05mpbX1bkg==
X-Received: by 10.107.9.141 with SMTP id 13mr43360879ioj.24.1484669537476; Tue, 17 Jan 2017 08:12:17 -0800 (PST)
MIME-Version: 1.0
Sender: alangley@gmail.com
Received: by 10.36.27.136 with HTTP; Tue, 17 Jan 2017 08:12:16 -0800 (PST)
In-Reply-To: <235ec588-9358-eeb1-9fa2-202409854afc@gmail.com>
References: <mailman.133.1484592340.4842.cfrg@irtf.org> <235ec588-9358-eeb1-9fa2-202409854afc@gmail.com>
From: Adam Langley <agl@imperialviolet.org>
Date: Tue, 17 Jan 2017 08:12:16 -0800
X-Google-Sender-Auth: T05RLZyTfsuR2jID6TBuDDSGPPg
Message-ID: <CAMfhd9WhaWfwjsfWmL-meA5wrTGpC6OF0twO6gBBAMhT2fZaHw@mail.gmail.com>
To: Yaron Sheffer <yaronf.ietf@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ishEFWL1cQLH42l7ZOY32c846PY>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Help with the use of contexts
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jan 2017 16:12:20 -0000

On Tue, Jan 17, 2017 at 3:31 AM, Yaron Sheffer <yaronf.ietf@gmail.com> wrote:
> Wide industry adoption of TLS 1.2 took around 10 years. So IMO saying "this
> is solved in TLS 1.3" is not a good enough answer, if in the meantime we
> will continue to see cross-protocol and cross-TLS-version attacks.

If there are such attacks then they'll continue to be a problem for
TLS 1.2 because only the Ed* schemes have the possibility of a context
string. For ECDSA and RSA, the context still needs to be included in
the signed message somehow. So TLS 1.2 needs a larger change than
wiring up the context inputs of the Ed* schemes if you want to protect
it anyway.


Cheers

AGL

-- 
Adam Langley agl@imperialviolet.org https://www.imperialviolet.org