Re: [TLS] Another IRINA bug in TLS

Nico Williams <nico@cryptonector.com> Mon, 01 June 2015 23:03 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 19D471A1A7E for <tls@ietfa.amsl.com>; Mon, 1 Jun 2015 16:03:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.233
X-Spam-Level:
X-Spam-Status: No, score=0.233 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, 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 FIzxg9vt0IaA for <tls@ietfa.amsl.com>; Mon, 1 Jun 2015 16:03:36 -0700 (PDT)
Received: from homiemail-a66.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id D1E261A1B0E for <tls@ietf.org>; Mon, 1 Jun 2015 16:03:30 -0700 (PDT)
Received: from homiemail-a66.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTP id 9374035009A; Mon, 1 Jun 2015 16:03:30 -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=M5S/wvYZOT/a3d 9n/N5wHDEfMTg=; b=tx/jqkTVFW/gFx8CSMQiP4RgCbM32oRh7AG5MhdLhh9g3M OF2/SZVfxeso0LDrFYdfhiy9Hckg+jtfUQAAOQ+Kk9cLeKSXSJfrAEcQg1LJ1xGU 3XjTeHi4O6IhFEueUC6f9XDwwl8D1GKOCCsFbYMh8ecvHoTUKeKXoN1D+bFd0=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTPA id 2032B35008A; Mon, 1 Jun 2015 16:03:30 -0700 (PDT)
Date: Mon, 01 Jun 2015 18:03:29 -0500
From: Nico Williams <nico@cryptonector.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Message-ID: <20150601230328.GD17122@localhost>
References: <9A043F3CF02CD34C8E74AC1594475C73AB029727@uxcn10-tdc05.UoA.auckland.ac.nz> <CAH8yC8=F3jJgEzFQSN=ZMvoC4zunAsfHPs1k2km9dvFJ0bvg2g@mail.gmail.com> <9A043F3CF02CD34C8E74AC1594475C73AB02AA8F@uxcn10-tdc05.UoA.auckland.ac.nz> <87k2vncei9.fsf@alice.fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <87k2vncei9.fsf@alice.fifthhorseman.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/424ytXry-Eee0RLwRXX64FIYAqQ>
Cc: "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [TLS] Another IRINA bug in TLS
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: Mon, 01 Jun 2015 23:03:37 -0000

On Mon, Jun 01, 2015 at 05:20:14PM -0400, Daniel Kahn Gillmor wrote:
> If we're still shipping arbitrary groups across the wire, then adding
> (q) to the data over the wire not only increases the size of the
> handshake (by the size of q) but now the receiving peer has to verify
> that:
> 
>  (a) p is prime
> 
>  (b) q itself is prime
> 
>  (c) p is actually a Lim-Lee prime
> 
> either that, or they can skip the checks and cross their fingers.
> 
> Standardizing on known safe prime moduli seems simpler and easier and
> less likely to include some steps that people will be tempted to skip
> for speed.

+1.  Pick standard groups large enough to put DLP out of reach of all
adversaries, with Moore's law in mind, with groups having a not-after
date.  As time passes these not-after dates should be revised, perhaps
periodically, to account for any improvements in DLP technology, or
slight deviations from [Moore's law's] predictions of chip transistor
count doubling times.

Nico
--