Re: [TLS] draft-ietf-tls-curve25519-01: Is public key validation necessary or helpful?
Eric Rescorla <ekr@rtfm.com> Thu, 31 December 2015 17:51 UTC
Return-Path: <ekr@rtfm.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 8BBBF1A8957
for <tls@ietfa.amsl.com>; Thu, 31 Dec 2015 09:51:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level:
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001] autolearn=no
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 pPYHvCoihVeH for <tls@ietfa.amsl.com>;
Thu, 31 Dec 2015 09:51:21 -0800 (PST)
Received: from mail-yk0-x229.google.com (mail-yk0-x229.google.com
[IPv6:2607:f8b0:4002:c07::229])
(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 714581A894E
for <tls@ietf.org>; Thu, 31 Dec 2015 09:51:18 -0800 (PST)
Received: by mail-yk0-x229.google.com with SMTP id k129so162295143yke.0
for <tls@ietf.org>; Thu, 31 Dec 2015 09:51:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=rtfm-com.20150623.gappssmtp.com; s=20150623;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:cc:content-type;
bh=THt4cOCBPKSXFFRFInPpIq2dW9cshSIj9Xtz0iLW5o4=;
b=EQwPFDwKSqKA14AWmFkws2fkfULMh/Qsy0KQEOVWdnylLE1SxRAqrqI2z6N+1pE1+F
BAuhN8wp9ate09ZjHbfWlUu8SGEcg8SQPUKp53UEKG59gVVZWbX9hweURjf8Oot4JdL4
qbb+D48OzHmLATzrEWyvrbcAykt+Gr6DmgT9qImYlCJ7rPgFUxvTU2kqAfihhSDrOGEG
f2PwzfXLPpS0T41Zbx8eBFBLo9gklHYM4/nc10h52sh9sEUtx2PTZy9mmlwhmAuKuZuZ
iCE+3o2mI+aIuMPTl2NQfO5UdQwF913FRKhOo1tDQy6folWmWrIIwh0pGc+qbQ6i2Bbo
J7Lg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to:cc:content-type;
bh=THt4cOCBPKSXFFRFInPpIq2dW9cshSIj9Xtz0iLW5o4=;
b=JqsuTJUlkGYplqbgRSpG4kw0gqDvcdcR8Pvyn4SgOXn4L0+rcIoRgeVqdIewQgey4w
8gXELpdHqiUuZnbg4qfB4zhCzogX4szKKr/Hmye46/xIwppYdux0iwsOzKqZa3EZ6K7m
Aaapxkr+9129oj+IEAoMfoetPXQCD+wT56vFAIQ67XgM1OWVz9pN7puNIRhn1vwwmldH
Uw7m8YfmseXf1rnjAx0XcxxcnpV06z0bPvyzXKWRdJDgbFQQJqgDSTOPj7OsZGFUL6Yn
u37wLbVlqazv5zjH4ukmyPZBbY0f/rnuxLRpQLF3iOSo3T2eEWmcxH5YNgFEBFkBhFOS
xVxw==
X-Gm-Message-State: ALoCoQkEhISX8Aje4gNF1NeGi/WdBwZf0XWLt3kr7SUuUmTzwsUCtdovPCd3RJLZABO+7oAvDn+Za069LnnA12kJhPbtpNN3aw==
X-Received: by 10.129.46.208 with SMTP id u199mr52122992ywu.129.1451584277720;
Thu, 31 Dec 2015 09:51:17 -0800 (PST)
MIME-Version: 1.0
Received: by 10.13.249.197 with HTTP; Thu, 31 Dec 2015 09:50:37 -0800 (PST)
In-Reply-To: <CAMfhd9VSgMJ7TaXrOnF7z4Wi8QUzU4BzPOxAgMKH1gY0ia_umA@mail.gmail.com>
References: <CAFewVt4Midtq7X6px4=A4hGkspQuJdzZQ907U=SJox0SdgfAJg@mail.gmail.com>
<CACsn0cng1o-5hm=zuL6puOGJ8A2bjB=fFsaFsBCmmVofNSuumg@mail.gmail.com>
<CABkgnnXQS3Ek6jDjx0aSQmaf+=EjfGWa8MG1AO4QwhJbK50VQg@mail.gmail.com>
<CAFewVt4NSGDP_At8XsX4OsxSUaj_2kRyFP_keDQhfnR0=mBhrg@mail.gmail.com>
<CABkgnnUq0_28U6VqE=ZPpwutOBUkTGwhxqHQOEvQve5JYfSVRA@mail.gmail.com>
<CAFewVt6fyqbOZfQkWY=9SM20WcrP0UhfH+3wvXjiYoTjPm2pgA@mail.gmail.com>
<CAFewVt5U9awAg4FbdWtXiCATd-kWttdsAwe3eWwcD5SXsKvyWQ@mail.gmail.com>
<6F6EDAA8-15F2-4949-B927-4D0BD0E8FFE3@inria.fr>
<20151230105207.GB6140@roeckx.be>
<CAFewVt4+eysHvxnP=q-Gn-0DgQWLkoTs5OSc8v_t6qRtsk7TWg@mail.gmail.com>
<CAMfhd9VYAaioMJqsk1M=sEQ-tJ_GJpDk5LsYcydK0Dwv-jQG1g@mail.gmail.com>
<CAFewVt53X5z-FB_myBNiQF7rTaLw17ANtSOnwWbFcUeLYd8Law@mail.gmail.com>
<CAMfhd9VSgMJ7TaXrOnF7z4Wi8QUzU4BzPOxAgMKH1gY0ia_umA@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 31 Dec 2015 09:50:37 -0800
Message-ID: <CABcZeBO3rAsiWagjjze=vF2s6AOGbYB4wx0hdNykSszJ8aLrKQ@mail.gmail.com>
To: Adam Langley <agl@imperialviolet.org>
Content-Type: multipart/alternative; boundary=001a114085923c5c810528354dc1
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/F_9ZVXpvX_VvwggUN-74liDO-NM>
Cc: Karthikeyan Bhargavan <karthik.bhargavan@gmail.com>,
"<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [TLS] draft-ietf-tls-curve25519-01: Is public key validation
necessary or helpful?
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, 31 Dec 2015 17:51:23 -0000
On Thu, Dec 31, 2015 at 9:43 AM, Adam Langley <agl@imperialviolet.org> wrote: > On Wed, Dec 30, 2015 at 7:40 PM, Brian Smith <brian@briansmith.org> wrote: > > When you say "the plan," whose plan are you referring to? If you read > that > > whole thread, there was a lot of well-founded opposition to that plan. > And, > > that plan was never carried out. That is plain to see, as there was > never a > > draft submitted with such a change. > > I'm no expert on IETF processes but the draft was already in a late > stage at the time when that came up and I think it was last the point > for a -12? The revision that's currently in AUTH48 with the RFC Editor > contains the change from MUST to MAY. > > > Not if the implementation doesn't implement RSA or finite-field DH. > > I think ekr's post, just previous, reflects my understanding here. For > the vast majority of implementations, session-hash is needed because > non-contributory key-exchange mechanisms will be included. If you do > happen to have an implementation that only implements ECDHE with > cofactor 1 curves or X25519 or X448, then I guess you could get away > without implementing session hash, but I'd still implement session > hash anyway. > FWIW, I don't believe that it's significantly harder to implement TLS w/ session hash than TLS w/o session hash. You have to do the extension but since you can just fail any handshake in which it's not offered, this isn't that bad. What's expensive is supporting *both* session hash and non session hash (at least that's what we found in NSS). Having said that, I think I'd be fine with a TLS draft that said that > the zero check should (or must) be done because I think that it should > be done in general. > As would I. -Ekr > > Cheers > > AGL > > -- > Adam Langley agl@imperialviolet.org https://www.imperialviolet.org > > _______________________________________________ > TLS mailing list > TLS@ietf.org > https://www.ietf.org/mailman/listinfo/tls >
- [TLS] draft-ietf-tls-curve25519-01: Is public key… Brian Smith
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Watson Ladd
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Martin Thomson
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Brian Smith
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Martin Thomson
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Brian Smith
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Viktor Dukhovni
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Martin Thomson
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Brian Smith
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Karthikeyan Bhargavan
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Kurt Roeckx
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Ilari Liusvaara
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Ilari Liusvaara
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Martin Thomson
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Brian Smith
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Brian Smith
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Ilari Liusvaara
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Watson Ladd
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Eric Rescorla
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Ilari Liusvaara
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Brian Smith
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Watson Ladd
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Adam Langley
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Brian Smith
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Alyssa Rowan
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Jeffrey Walton
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Ilari Liusvaara
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Eric Rescorla
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Adam Langley
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Eric Rescorla
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Martin Thomson
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Blumenthal, Uri - 0553 - MITLL
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Ilari Liusvaara
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Eric Rescorla
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Ilari Liusvaara
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Ilari Liusvaara
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Eric Rescorla
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Ilari Liusvaara
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Ilari Liusvaara
- [TLS] TCP Keep Alive Question: draft-ietf-tls-tls… nalini.elkins
- Re: [TLS] TCP Keep Alive Question: draft-ietf-tls… Watson Ladd
- Re: [TLS] TCP Keep Alive Question: draft-ietf-tls… nalini.elkins
- Re: [TLS] TCP Keep Alive Question: draft-ietf-tls… Roland Zink
- Re: [TLS] TCP Keep Alive Question: draft-ietf-tls… nalini.elkins
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Ilari Liusvaara
- Re: [TLS] draft-ietf-tls-curve25519-01: Is public… Watson Ladd