Re: [dns-dir] some comments on draft-os-ietf-sshfp-ecdsa-sha2-04.txt

Ondřej Surý <ondrej.sury@nic.cz> Wed, 15 February 2012 20:37 UTC

Return-Path: <ondrej.sury@nic.cz>
X-Original-To: dns-dir@ietfa.amsl.com
Delivered-To: dns-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E30C821E80A8 for <dns-dir@ietfa.amsl.com>; Wed, 15 Feb 2012 12:37:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.699
X-Spam-Level:
X-Spam-Status: No, score=-1.699 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, J_CHICKENPOX_23=0.6, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uznMKigt8huS for <dns-dir@ietfa.amsl.com>; Wed, 15 Feb 2012 12:37:15 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) by ietfa.amsl.com (Postfix) with ESMTP id BC96021E80A4 for <dns-dir@ietf.org>; Wed, 15 Feb 2012 12:37:14 -0800 (PST)
Received: from [10.10.0.6] (howl.nic.cz [217.31.204.249]) by mail.nic.cz (Postfix) with ESMTPSA id 364F72A2BF2; Wed, 15 Feb 2012 21:37:13 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nic.cz; s=default; t=1329338233; bh=GtQkxwMRWeS5Ke+RKKrl6L+LlASb5i08zXocsMamwmo=; h=Subject:Mime-Version:Content-Type:From:In-Reply-To:Date:Cc: Content-Transfer-Encoding:Message-Id:References:To; b=wHDs3F96zhW7sfQxdTPuZjzIstM5u4UHQLR6niYTA2Z/jdMO8r7BbQNQ6e+t1J0bx cAK9SR6EaCVaEHdL/3hf5QF3P8QgwPz9IkAsmw8B7hoKbLQSsiS1oc1odO/8Y17jWH lfG0zSqY4VhEUH7w4HaaYdCql/u8c/Z9Q48N4p8g=
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset="utf-8"
From: Ondřej Surý <ondrej.sury@nic.cz>
In-Reply-To: <BD122AC8-4619-425C-9A68-FC130FDB1174@gmail.com>
Date: Wed, 15 Feb 2012 21:37:12 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <6D61C047-C73E-4DFF-B052-9FAA724A82A6@nic.cz>
References: <20120104181709.GP13424@x27.adm.denic.de> <A1AF0D31-AC51-47C1-8528-9A3A28A12A1D@nic.cz> <BD122AC8-4619-425C-9A68-FC130FDB1174@gmail.com>
To: Ralph Droms <rdroms.ietf@gmail.com>, Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1257)
X-Virus-Scanned: clamav-milter 0.96.5 at mail
X-Virus-Status: Clean
X-Mailman-Approved-At: Sun, 19 Feb 2012 02:37:36 -0800
Cc: Peter Koch <pk@DENIC.DE>, IETF Directorate DNS <dns-dir@ietf.org>
Subject: Re: [dns-dir] some comments on draft-os-ietf-sshfp-ecdsa-sha2-04.txt
X-BeenThere: dns-dir@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF DNS directorate discussion list <dns-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dns-dir>, <mailto:dns-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dns-dir>
List-Post: <mailto:dns-dir@ietf.org>
List-Help: <mailto:dns-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dns-dir>, <mailto:dns-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Feb 2012 20:37:20 -0000

On 15. 2. 2012, at 21:21, Ralph Droms wrote:

> I have a couple of followups in line
> 
> Otherwise, is the DNS Directorate OK with rev -07 of this document?
> 
> - Ralph
> 
> On Jan 27, 2012, at 3:00 AM 1/27/12, Ondřej Surý wrote:
> 
>> Hi Peter,
>> 
>> On 4. 1. 2012, at 19:17, Peter Koch wrote:
>> 
>>> Hi Ondrej,
>>> 
>>> i came across another review of <draft-os-ietf-sshfp-ecdsa-sha2-04.txt>
>>> and would like to add some remarks.  I've copied the DNS Directorate
>>> for information.  Not sure what the status of the draft is - the
>>> datatracker confuses me by claiming 'wg document', but i do not see
>>> which WG?  Generally the draft looks like a good idea!
>>> 
>>> To start with some formalities, the header and abstract claim the draft
>>> updates RFC 4255. I would suggest it does not.  It updates two IANA
>>> registries defined and seeded by RFC 4255, but it does not (to my
>>> reading) change any content of RFC 4255.   If it were to update 4255,
>>> it should probably adjust the registry policies from "IETF consensus"
>>> as per RFC 2434 to "IETF Review" as per RFC 5226, but that's probably
>>> for another venue to discuss.
>> 
>> Fixed.  Sound reasonable.
>> 
>>> Second, the document aims at Standards Track and I do not see why.
>>> An IETF/IESG reviewed RFC would be sufficient.  Not saying it
>>> should be less than ST, but what's the purpose here?  Later serving
>>> as normative reference?
>> 
>> I am not aware of such thing as IESG reviewed RFC. RFC 2026 is no
>> help here.  Maybe you can point me to a reading material?
> 
> E.g., an Informational RFC would suffice.

I am fine with Informational, but is that in line with RFC 5226?  It misses
the information (while explicitly cited in RFC Required) and all cited
RFCs under "IETF Review" are Standards track.

>>> In section 3.2 the use of an ECDSA fingerprint is defined.  I could
>>> not find the description of the Fingerprint in RFC 5656.
>>> Furtheron it reads
>>> 
>>> ECDSA public key fingerprints MUST use the SHA-256 algorithm for the
>>> fingerprint as using the SHA-1 algorithm would weaken the security of
>>> the key.
>>> 
>>> First, could the claim 'would weaken the security' be substantiated
>>> (maybe by reference) a bit?  Second, what is the consequence, i.e.
>>> who is supposed to act on a violation? Is it the DNS implementation
>>> (hard to achieve with 'transparent' RR types), the DNS operator or
>>> the consuming entity?  I would suggest to reverse the logic here and
>>> only demand that a consuming party MUST ignore SHA-1 FPs for ECDSA.
>> 
>> Sounds reasonable, but if I were to reverse the login, it would also
>> mean that if there's an implementation which generates ECDSA with SHA-1
>> it wouldn't work for consuming party and it breaks the robustness
>> principle.
>> 
>> I want to say - if you create the FP use SHA-256, if you receive SHA-1
>> key then you may use it unless you also receive SHA-256.
> 
> Section 3.2 seems to have changed.  What was the ultimate resolution of this discussion point?

I have decided to drop the pairing requirement after GEN-ART review, see the related thread:
http://www.ietf.org/mail-archive/web/gen-art/current/msg06979.html

and after some iterations:
http://www.ietf.org/mail-archive/web/gen-art/current/msg07133.html

O.
--
 Ondřej Surý
 vedoucí výzkumu/Head of R&D department
 -------------------------------------------
 CZ.NIC, z.s.p.o.    --    Laboratoře CZ.NIC
 Americka 23, 120 00 Praha 2, Czech Republic
 mailto:ondrej.sury@nic.cz    http://nic.cz/
 tel:+420.222745110       fax:+420.222745112
 -------------------------------------------