Re: [Curdle] draft-ssorce-gss-keyex-sha2-00

Hubert Kario <hkario@redhat.com> Wed, 19 April 2017 12:39 UTC

Return-Path: <hkario@redhat.com>
X-Original-To: curdle@ietfa.amsl.com
Delivered-To: curdle@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B4A31129530 for <curdle@ietfa.amsl.com>; Wed, 19 Apr 2017 05:39:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.922
X-Spam-Level:
X-Spam-Status: No, score=-6.922 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 8wJE7McGGrJD for <curdle@ietfa.amsl.com>; Wed, 19 Apr 2017 05:39:17 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 48F8D129524 for <curdle@ietf.org>; Wed, 19 Apr 2017 05:39:17 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DC9977AE90; Wed, 19 Apr 2017 12:39:16 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com DC9977AE90
Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=hkario@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com DC9977AE90
Received: from pintsize.usersys.redhat.com (dhcp-0-115.brq.redhat.com [10.34.0.115]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C42B380F94; Wed, 19 Apr 2017 12:39:14 +0000 (UTC)
From: Hubert Kario <hkario@redhat.com>
To: "Mark D. Baushke" <mdb@juniper.net>
Cc: Simo Sorce <simo@redhat.com>, curdle@ietf.org
Date: Wed, 19 Apr 2017 14:39:08 +0200
Message-ID: <1670339.BpRFGmRBOW@pintsize.usersys.redhat.com>
In-Reply-To: <39113.1492406108@eng-mail01.juniper.net>
References: <39113.1492406108@eng-mail01.juniper.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart15716122.d0znpfUKby"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 19 Apr 2017 12:39:17 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/curdle/aXiIQMF8Ixcza2uupubVq40IUwU>
Subject: Re: [Curdle] draft-ssorce-gss-keyex-sha2-00
X-BeenThere: curdle@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "List for discussion of potential new security area wg." <curdle.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/curdle>, <mailto:curdle-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/curdle/>
List-Post: <mailto:curdle@ietf.org>
List-Help: <mailto:curdle-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/curdle>, <mailto:curdle-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Apr 2017 12:39:19 -0000

On Monday, 17 April 2017 07:15:08 CEST Mark D. Baushke wrote:
> Hi Simo & Hubert,
> 
> Regarding your draft:
> https://www.ietf.org/id/draft-ssorce-gss-keyex-sha2-00.txt
> 
> The reference to the -05 I-D.ietf-curdle-ssh-kex-sha2 should probably be
> replaced with a reference to draft-ietf-curdle-ssh-modp-dh-sha2-04

It probably should have references to both.
 
> I am somewhat curious why the same curves identified in RFC5656 as
> nistp256, nistp384, and nistp521 are being called secp256r1, secp384r1,
> secp521r1 in your draft in section 6. Is there a good reason to select
> this form of the names?

Because I took those names from TLS curve registry. Making them consistent 
with other SSH names is a good idea though. Thanks!

> I will note that gss-secp384r1-sha512-* should probably be
> gss-secp384r1-sha384-* to be consistent with how RFC5656
> felt security should be handled.

Good point.

> I do know that there is some controversy about supporting SHA2-384
> rather than SHA2-256 and SHA2-512, but it has been argued that SHA2-384
> does not expose as much of its internal state as does SH2-512 and that
> it aligns more closely with the nistp384 curve.

how is that applicable to the KEX?
-- 
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purkyňova 99/71, 612 45, Brno, Czech Republic