Re: [TLS] What would make TLS cryptographically better for TLS 1.3
Watson Ladd <watsonbladd@gmail.com> Fri, 01 November 2013 22:40 UTC
Return-Path: <watsonbladd@gmail.com>
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 604BE11E80E9 for <tls@ietfa.amsl.com>; Fri, 1 Nov 2013 15:40:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.545
X-Spam-Level:
X-Spam-Status: No, score=-2.545 tagged_above=-999 required=5 tests=[AWL=0.054, BAYES_00=-2.599, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ztNHpK36RUBS for <tls@ietfa.amsl.com>; Fri, 1 Nov 2013 15:40:26 -0700 (PDT)
Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) by ietfa.amsl.com (Postfix) with ESMTP id E86E111E8110 for <tls@ietf.org>; Fri, 1 Nov 2013 15:40:25 -0700 (PDT)
Received: by mail-we0-f177.google.com with SMTP id x55so117371wes.8 for <tls@ietf.org>; Fri, 01 Nov 2013 15:40:25 -0700 (PDT)
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=bOrdDq8Ki+Zly0FF3+5VBNlJQ6QqP/0nN/7iOSqoP/g=; b=qwwJCSOZ+UFo7jvOchRIwmwl1MDzZS/znJDReaJ2eUK+xqDX/RzLty4LHJFiQVD1Fg +5PE70GwAQnNxeUDR5RCh0eoPBzyelL9O8sM+0a/pGTyxlA2c2LpPkQbMu8sPiidNa9e NCeGxUzSSMbwdIFFEOCZTes7tkOVDsmOow792qAUrj6uMq2ICcnZeUH/VmChlUpnxZYe OYf6UZ1/c0/9ysPPGWyxbbgr0F/qrG+4ssCdB1J6Wkq2S35P12C/GShdi5vIuZrXU0b+ u9SvaYYx1o86vdZJPNDSjJWKAEa8DQIqF8j970Hol3bh9ef6gffbO/B4ThIOzVQa+c58 aOnA==
MIME-Version: 1.0
X-Received: by 10.194.239.40 with SMTP id vp8mr4112322wjc.45.1383345625231; Fri, 01 Nov 2013 15:40:25 -0700 (PDT)
Received: by 10.194.242.131 with HTTP; Fri, 1 Nov 2013 15:40:25 -0700 (PDT)
Received: by 10.194.242.131 with HTTP; Fri, 1 Nov 2013 15:40:25 -0700 (PDT)
In-Reply-To: <CABqy+soTKjtU69mf9F6um8FsNNaztv2hXS6iPJe6P=D-A_6b0w@mail.gmail.com>
References: <CACsn0cnS7LWo+AN1maw-KYGhWXY1BLNPNOjiL-Y3UU3zG-Je_Q@mail.gmail.com> <CABqy+soTKjtU69mf9F6um8FsNNaztv2hXS6iPJe6P=D-A_6b0w@mail.gmail.com>
Date: Fri, 01 Nov 2013 15:40:25 -0700
Message-ID: <CACsn0ck94Gmyr3d6BsaM-Mwf4Qh6zFRv1qAS3bkitrFkFwVOFw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "rransom. 8774" <rransom.8774@gmail.com>
Content-Type: multipart/alternative; boundary="001a11c1b45297f82d04ea2540bc"
Cc: tls@ietf.org
Subject: Re: [TLS] What would make TLS cryptographically better for TLS 1.3
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.12
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: Fri, 01 Nov 2013 22:40:27 -0000
On Nov 1, 2013 2:21 PM, "Robert Ransom" <rransom.8774@gmail.com> wrote: > > On 10/31/13, Watson Ladd <watsonbladd@gmail.com> wrote: > > > TLS 1.3 should significantly reduce the number of round trips > > required. To this end I propose the following obviously secure scheme: > > the client sends a point on a curve in ClientHello and the server > > responds with certificates (or some other authentication thing) and a > > point on a curve, so that when the client speaks again, it is with a > > negotiated, authenticated shared secret. Before everyone screams about > > needing one signature per connection, note the server can use a time > > based secret key, so only has to do one exponentiation per client. > > This protocol should be designed to allow future extension to use > post-quantum encryption and/or key encapsulation cryptosystems. (I > don't believe that quantum computers will become a threat, but some PQ > cryptosystems may be faster than ECDH.) > The PQ transition involves reworking the PKI as well. We also don't know if NTRU or something else will win. A proffered version byte to avoid downgrades could work, but I would not want to commit to the future. > It also needs to either allow session resumption without the > possibility of reusing any key used to encrypt or authenticate > application-level data, or explicitly forbid session resumption. > > > > Renegotiation should be killed: it serves no purpose. > > Renegotiation is a critical feature of TLS, which serves multiple purposes. > > * Renegotiation allows rekeying of a session. This is absolutely > required for any ciphersuite based on a block cipher with a 128-bit or > smaller block, because block cipher modes' security properties degrade > after they are used for more than some number of blocks. After one zettabyte according to a simple calculation. > > * Applications can also use renegotiation-based rekeying to improve > forward secrecy; for example, the Mixminion specification > (< https://github.com/nmathewson/mixminion-doc/blob/a661212831d2afc3200339b2634ca16452e3aeec/spec/minion-spec.txt >, > section 4, line 1040) requires that relay-to-relay TLS connections be > rekeyed using renegotiation every 15 minutes for this purpose. If reconnecting is cheap enough that works. Designers need to deal with connection death anyway. > > * A TLS connection can be established by a fully trusted device which > knows a password or other application-layer authorization credential, > authorized to perform some operations using messages within the TLS > connection, and then transferred with the help of renegotiation to a > less trusted device to actually perform those operations. This is > similar to the preceding use, but to provide 'sideways secrecy' rather > than forward secrecy. What does renegotiation get here? The untrusted device can do everything unless it is being monitored by a trusted device. > > * One version of the Tor 'link protocol' (Tor's term for its outer > TLS-based connection protocol) uses renegotiation to provide secrecy > for the server's certification chain against purely passive attackers. > The purposes above could be served by applying a one-way function to > the originally derived key material, then discarding the old keys; > this purpose cannot. TOR could send a temporary outer signature and an inner proof. I agree this is a weakness, but CurveCP like mechanisms only work thanks to some known key. > > > Robert Ransom
- [TLS] What would make TLS cryptographically bette… Watson Ladd
- Re: [TLS] What would make TLS cryptographically b… Nico Williams
- Re: [TLS] What would make TLS cryptographically b… Dan Harkins
- Re: [TLS] What would make TLS cryptographically b… Nikos Mavrogiannopoulos
- Re: [TLS] What would make TLS cryptographically b… Robert Ransom
- Re: [TLS] What would make TLS cryptographically b… Nico Williams
- Re: [TLS] What would make TLS cryptographically b… Robert Ransom
- Re: [TLS] What would make TLS cryptographically b… Robert Ransom
- Re: [TLS] What would make TLS cryptographically b… Dan Harkins
- Re: [TLS] What would make TLS cryptographically b… Watson Ladd
- Re: [TLS] What would make TLS cryptographically b… Nico Williams
- Re: [TLS] What would make TLS cryptographically b… Robert Ransom
- Re: [TLS] What would make TLS cryptographically b… Nico Williams
- Re: [TLS] What would make TLS cryptographically b… Dan Harkins
- Re: [TLS] What would make TLS cryptographically b… Robert Ransom
- Re: [TLS] What would make TLS cryptographically b… Robert Ransom
- Re: [TLS] What would make TLS cryptographically b… Dan Harkins
- Re: [TLS] What would make TLS cryptographically b… Robert Ransom
- Re: [TLS] What would make TLS cryptographically b… Watson Ladd
- [TLS] removal of nonces [was: What would make TLS… Nikos Mavrogiannopoulos
- Re: [TLS] What would make TLS cryptographically b… Andy Lutomirski
- Re: [TLS] What would make TLS cryptographically b… Nico Williams
- Re: [TLS] removal of nonces [was: What would make… Nico Williams
- Re: [TLS] What would make TLS cryptographically b… Robert Ransom
- Re: [TLS] What would make TLS cryptographically b… Ralf Skyper Kaiser
- Re: [TLS] What would make TLS cryptographically b… Ralf Skyper Kaiser
- Re: [TLS] What would make TLS cryptographically b… Nikos Mavrogiannopoulos
- Re: [TLS] What would make TLS cryptographically b… Yoav Nir
- Re: [TLS] What would make TLS cryptographically b… Robert Ransom
- Re: [TLS] What would make TLS cryptographically b… Ralf Skyper Kaiser
- Re: [TLS] What would make TLS cryptographically b… Ralf Skyper Kaiser
- Re: [TLS] What would make TLS cryptographically b… Watson Ladd
- Re: [TLS] What would make TLS cryptographically b… Yoav Nir
- Re: [TLS] What would make TLS cryptographically b… Ralf Skyper Kaiser
- Re: [TLS] What would make TLS cryptographically b… Martin Rex
- Re: [TLS] What would make TLS cryptographically b… Ralf Skyper Kaiser
- Re: [TLS] What would make TLS cryptographically b… Jeff Jarmoc
- Re: [TLS] What would make TLS cryptographically b… Nico Williams
- Re: [TLS] What would make TLS cryptographically b… Yoav Nir
- Re: [TLS] What would make TLS cryptographically b… Johannes Merkle
- Re: [TLS] What would make TLS cryptographically b… Dan Harkins
- Re: [TLS] What would make TLS cryptographically b… Yoav Nir
- Re: [TLS] What would make TLS cryptographically b… Santosh Chokhani
- Re: [TLS] What would make TLS cryptographically b… Ralf Skyper Kaiser