Re: [sidr] Stephen Farrell's Discuss on draft-ietf-sidr-bgpsec-protocol-21: (with DISCUSS and COMMENT)

"Mehmet Adalier (Antara Teknik)" <madalier@antarateknik.com> Wed, 04 January 2017 19:57 UTC

Return-Path: <madalier@antarateknik.com>
X-Original-To: sidr@ietfa.amsl.com
Delivered-To: sidr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 481EF1293FE for <sidr@ietfa.amsl.com>; Wed, 4 Jan 2017 11:57:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com
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 T_t2iW-sR4Al for <sidr@ietfa.amsl.com>; Wed, 4 Jan 2017 11:57:49 -0800 (PST)
Received: from nm42-vm7.bullet.mail.ne1.yahoo.com (nm42-vm7.bullet.mail.ne1.yahoo.com [98.138.121.63]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF75B129446 for <sidr@ietf.org>; Wed, 4 Jan 2017 11:57:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1483559866; bh=Dd5ikLnkejtQT3RCLYcFr6FwgTh5as6y5SAuSkrMF14=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=RuuWPbY2SYNnhg1gnJKTPJmx/8p54wCfD7S9Frlj9YeixLyzSWM9j95fpSkHjPhT0NkE4tL/Ohw7PLVOGiBU06dsYo/G7vOlG5pyRoaw9x3t7ri41oNKby7FP7+nOJ2zQuMG/W7yxvPkt4x/q/3MJSdCZpgp5v9IT/0W4R7ZOtbcmC/ixDCh8KFifxZPBLGSCcZCwiYTWkWyUW4BfOH5Vh4LCKGQYv8VZ5rbF9T7mJGCbXCgvK1qUCGDMaP2b7RaHP5h4n7O3Y1KOHfZlxK7hvE++nvGphjGf3vE4uosZb0Sv7MxfELhMdS+lSLUSmBJJZXENGDd+BHK1aAEllKiCg==
Received: from [127.0.0.1] by nm42.bullet.mail.ne1.yahoo.com with NNFMP; 04 Jan 2017 19:57:46 -0000
Received: from [98.138.100.116] by nm42.bullet.mail.ne1.yahoo.com with NNFMP; 04 Jan 2017 19:55:03 -0000
Received: from [98.138.88.238] by tm107.bullet.mail.ne1.yahoo.com with NNFMP; 04 Jan 2017 19:55:03 -0000
Received: from [127.0.0.1] by omp1038.mail.ne1.yahoo.com with NNFMP; 04 Jan 2017 19:55:03 -0000
X-Yahoo-Newman-Property: ymail-4
X-Yahoo-Newman-Id: 710005.64822.bm@omp1038.mail.ne1.yahoo.com
X-YMail-OSG: vAF9iukVM1lt0MrZ6weYLNT_mp2HRYkjXOEeTGz2LysT.6nKfpZoc5VfD4JYEX1 h5QAUi.HvoHg01tr6pEiIx18R53MAadT_l1cFBeChfRuyIFjGsu34O8bIETkKMJ_6YuLadxDQ73s Ic0SwYeJh_VBwnHlc9DDDD_qe_GoYGNvfhEMwJctrUz3ZuVfFuWmY4qZGR0ZSADizPIb2Uc.E5oR 0D.XeYzhUJRanV7lYzs1d9_Uyh6RH2dUhTu34Iu5jeX2yqYyas9QShWY4lso0zd6T.r4QrmWN1uA DiI.EaGJNUuUgBLJxYvl1K3Rdy7.i2p_vBrjhDsGJ.dR9UfPA7LgTNpT89OS8e2oq_2KAearnmJO cdZ8MX8cd82rqXVgQLetVx5aNisZ9PQWO_2SQj55q_XBG5sbnXqhboNlWjKWoJE0oc9B7xHuoOZw Pqkn3i.6DAohaOQGNm76Lu9nVxuQRO2MwzWXHXnOky6sIcDVdKvqio7O.k9toqtv7rIpquUL8jwC Qtlp0Sg5O2qzOJPMrT5cCQZl3gbhpL9UnFUkzqJ3X24GmqfT4WMc63q7huCSx
Received: from jws200165.mail.ne1.yahoo.com by sendmailws154.mail.ne1.yahoo.com; Wed, 04 Jan 2017 19:55:03 +0000; 1483559703.317
Date: Wed, 04 Jan 2017 19:54:37 +0000
From: "Mehmet Adalier (Antara Teknik)" <madalier@antarateknik.com>
To: Sean Turner <sean@sn3rd.com>, Stephen Farrell <stephen.farrell@cs.tcd.ie>
Message-ID: <1671316103.6220736.1483559677229@mail.yahoo.com>
In-Reply-To: <58B64FA8-7891-4D84-940B-AB737C3A76D1@sn3rd.com>
References: <148353798879.13011.5291414579598073386.idtracker@ietfa.amsl.com> <58B64FA8-7891-4D84-940B-AB737C3A76D1@sn3rd.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_6220735_1764543738.1483559677222"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidr/YNfX9SwAdskJfazltaN5HdVNvpE>
Cc: "draft-ietf-sidr-bgpsec-protocol@ietf.org" <draft-ietf-sidr-bgpsec-protocol@ietf.org>, "sidr-chairs@ietf.org" <sidr-chairs@ietf.org>, The IESG <iesg@ietf.org>, "m.waehlisch@fu-berlin.de" <m.waehlisch@fu-berlin.de>, "sidr@ietf.org" <sidr@ietf.org>
Subject: Re: [sidr] Stephen Farrell's Discuss on draft-ietf-sidr-bgpsec-protocol-21: (with DISCUSS and COMMENT)
X-BeenThere: sidr@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: "Mehmet Adalier (Antara Teknik)" <madalier@antarateknik.com>
List-Id: Secure Interdomain Routing <sidr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidr>, <mailto:sidr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidr/>
List-Post: <mailto:sidr@ietf.org>
List-Help: <mailto:sidr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidr>, <mailto:sidr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2017 19:57:50 -0000

while i would also like to see less use of sha-1 in new network protocols...
limiting the SKI length to a fixed 20 bytes is not really a bad idea for implementation efficiency and interoperability.
as Sean points out, rfc7093's straight forward (leftmost 160 bits --20bytes) of a SHA-2 algorithm digest works well for the use of a hash value in this particular context (generating Key Identifiers)..
mA      From: Sean Turner <sean@sn3rd.com>
 To: Stephen Farrell <stephen.farrell@cs.tcd.ie> 
Cc: sidr-chairs@ietf.org; draft-ietf-sidr-bgpsec-protocol@ietf.org; The IESG <iesg@ietf.org>; m.waehlisch@fu-berlin.de; sidr@ietf.org
 Sent: Wednesday, January 4, 2017 10:48 AM
 Subject: Re: [sidr] Stephen Farrell's Discuss on draft-ietf-sidr-bgpsec-protocol-21: (with DISCUSS and COMMENT)
   

> On Jan 4, 2017, at 08:53, Stephen Farrell <stephen.farrell@cs.tcd.ie> wrote:
> 
> Stephen Farrell has entered the following ballot position for
> draft-ietf-sidr-bgpsec-protocol-21: Discuss
> 
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
> 
> 
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-sidr-bgpsec-protocol/
> 
> 
> 
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> 
> 
> I have a couple of fairly straightforward things I'd
> like to briefly discuss...
> 
> (1) 3.2/Figure 7: A fixed 20 byte SKI being a sha-1 hash
> of the public key is a bad plan, for all the usual
> reasons. Why is it ok for that to be hardcoded here when
> it could change if/when new alg choices are made for the
> RPKI? If it is not too late then I think you should add a
> length or alg field to that. If it is too late to do that,
> then are we really ok that you will need to rev the BGPsec
> version number in order to get rid of all sha-1 code from
> your implementation? That seems like a bad plan for a new
> protocol.

Not sure it absolutely needs a length field; if the RPKI does ever decide to change to another hash algorithm for SKI, e.g., SHA-256/384/512, or to change to a hash of the SubjectPublicKeyInfo they could always the procedures from https://datatracker.ietf.org/doc/rfc7093/ to generate the values for a 20-byte value.  

spt
_______________________________________________
sidr mailing list
sidr@ietf.org
https://www.ietf.org/mailman/listinfo/sidr