Re: [TLS] Consensus Call on MTI Algorithms

Nico Williams <nico@cryptonector.com> Thu, 02 April 2015 18:48 UTC

Return-Path: <nico@cryptonector.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 2650A1A1A2C for <tls@ietfa.amsl.com>; Thu, 2 Apr 2015 11:48:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level:
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] 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 litgIbRWQRM9 for <tls@ietfa.amsl.com>; Thu, 2 Apr 2015 11:48:51 -0700 (PDT)
Received: from homiemail-a55.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 665271A0687 for <tls@ietf.org>; Thu, 2 Apr 2015 11:48:51 -0700 (PDT)
Received: from homiemail-a55.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a55.g.dreamhost.com (Postfix) with ESMTP id 3BF89160D; Thu, 2 Apr 2015 11:48:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=33sIBnjqiW7xhS YKbLf9TT9unfQ=; b=pl44cZLOo98bqH1cyHh34CmLHuiwc1Tnw9f7RvLnJ714KX f+QMSuhoyjBi+y0p0c8NiFA7se7x5uXmqBgXjNk1FKnhY0YR2sGOhyQtnjzQztW2 lH/2y7pdGDjt2BUpLm9aFhJR3PaxUBPU+nuLU0/y/Bhx1XJI5tw5d6GCNuejQ=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a55.g.dreamhost.com (Postfix) with ESMTPA id E32CF160C; Thu, 2 Apr 2015 11:48:50 -0700 (PDT)
Date: Thu, 2 Apr 2015 13:48:50 -0500
From: Nico Williams <nico@cryptonector.com>
To: Joseph Salowey <joe@salowey.net>
Message-ID: <20150402184849.GF10960@localhost>
References: <CAOgPGoBk+E=cNV1ufBaQ0n7=CJQ34zukPixKCEdpmMLBX=Kg_w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAOgPGoBk+E=cNV1ufBaQ0n7=CJQ34zukPixKCEdpmMLBX=Kg_w@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/4POMh9h-AQ7a_P0kkBOaMbTk66M>
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Consensus Call on MTI Algorithms
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: Thu, 02 Apr 2015 18:48:52 -0000

On Wed, Apr 01, 2015 at 11:12:19AM -0700, Joseph Salowey wrote:
> [...]

I'd like to have at least two required algorithms for each class, at
least for the 128-bit security level.  The rationale is: to make it easy
to switch one off if it becomes a problem.

We've already had to disable broken algorithms in a hurry in several
Internet protocols including TLS.  We should learn the lesson: we should
aim to have at least one left.

In all cases recall that required-to-implement != required-to-enable.

> o Symmetric:
>         MUST AES-GCM 128
>         SHOULD ChaCha20-Poly1305

I would like at least two modes for AES to be required: one AEAD
(probably GCM) and one AEAD-by-generic-construction (e.g., using HMAC).

I would like one non-AES cipher to be required.  ChaCha20-Poly1305 works
for me.

Total: three required algorithms.  Here I want three because I'm not
sure that GCM is easy enough to implement and use safely in all
environments (see Watson L.'s comments on this), and because I'd like
two ciphers just in case.

> o Hash:
>         MUST SHA-256

I would like two hash functions to be required.  I don't have a strong
preference as to the second hash function, but I like SHA-3.

> o Key Agreement: ECDH
>         MUST P-256
>         SHOULD 25519

By the rationale above I would like both of these to be required.

> o Signature:
>         MUST ECDSA P-256
>         MUST RSA

Ditto.  We won't have the luxury of waiting until CFRG blesses an ECC
signature scheme other than ECDSA, but when they do... we should add
that to the list.

Nico
--