Re: [IPsec] IKEv2 Diffie-Hellman Elliptic curve mess (RFC4753, RFC5114, RFC4869, and draft-solinas-rfc4753bis-01)

Tero Kivinen <kivinen@iki.fi> Tue, 22 December 2009 10:13 UTC

Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6A5703A6B1E for <ipsec@core3.amsl.com>; Tue, 22 Dec 2009 02:13:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.578
X-Spam-Level:
X-Spam-Status: No, score=-2.578 tagged_above=-999 required=5 tests=[AWL=0.021, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 253o6rws5CrR for <ipsec@core3.amsl.com>; Tue, 22 Dec 2009 02:13:26 -0800 (PST)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 1B3B33A6AB5 for <ipsec@ietf.org>; Tue, 22 Dec 2009 02:13:25 -0800 (PST)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id nBMAD1iR001976 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Dec 2009 12:13:01 +0200 (EET)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id nBMAD0Z7007144; Tue, 22 Dec 2009 12:13:00 +0200 (EET)
X-Authentication-Warning: fireball.kivinen.iki.fi: kivinen set sender to kivinen@iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <19248.39852.369259.276885@fireball.kivinen.iki.fi>
Date: Tue, 22 Dec 2009 12:13:00 +0200
From: Tero Kivinen <kivinen@iki.fi>
To: Black_David@emc.com
In-Reply-To: <C2D311A6F086424F99E385949ECFEBCB01212D4C@CORPUSMX80B.corp.emc.com>
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC801BDF893F474@il-ex01.ad.checkpoint.com> <e225b1d484778f9b5a039516bef73e3f.squirrel@www.trepanning.net> <C2D311A6F086424F99E385949ECFEBCB01212D4C@CORPUSMX80B.corp.emc.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 5 min
X-Total-Time: 4 min
Cc: ipsec@ietf.org, ynir@checkpoint.com, dharkins@lounge.org
Subject: Re: [IPsec] IKEv2 Diffie-Hellman Elliptic curve mess (RFC4753, RFC5114, RFC4869, and draft-solinas-rfc4753bis-01)
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Dec 2009 10:13:27 -0000

Black_David@emc.com writes:
> >   If we allocate new numbers to do it right then we will, in fact, live
> > forever with an ambiguous interpretation of groups 19, 20, and 21. I
> > agree we should fix the problem and not live with ambiguity. The proposal
> > to allocate new numbers doesn't seem to do that though.
> 
> Fine, here's how to accomplish that goal - the RFC that allocates
> the new group numbers should:
>   1) explain why the group numbers 19, 20 and 21 are ambiguous;
>   2) state that group numbers 19, 20 and 21 "SHOULD NOT be used";
>   3) instruct IANA to remove the group number registrations for
> 	19, 20 and 21 in a fashion that prevents reallocation; and
>   4) obsolete RFC 4753.
> That should avoid long term problems.

Yes. Exactly that was what I was trying to say, except same thing also
needs to be done for RFC5114, as it refers to RFC4753, and perhaps
also RFC4869 as it also refers to RFC4753. 

> That said, I'd like to see more reason to believe that there is
> an actual "running code" problem before doing something this drastic.

As I said QuickSec versions 4.4 - 5.0 (i.e. QuickSec versions released
between 2007-2009) do include original RFC4753 code, the person who
fixed our code to support RFC4753 didn't notice the errata...

As our OEM toolkit is used quite widely I think there are quite a lot
of existing products doing things without errata. Also most of those
people (our customers) are not reading this list.

> If most people working with elliptic curve "just know" that only
> one coordinate is used, we might not have a problem in practice.
-- 
kivinen@iki.fi