Re: [Hipsec] draft-ietf-hip-cert-04-pre01

Ari Keranen <ari.keranen@nomadiclab.com> Thu, 24 June 2010 08:28 UTC

Return-Path: <ari.keranen@nomadiclab.com>
X-Original-To: hipsec@core3.amsl.com
Delivered-To: hipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B09113A6A1C for <hipsec@core3.amsl.com>; Thu, 24 Jun 2010 01:28:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.236
X-Spam-Level:
X-Spam-Status: No, score=-1.236 tagged_above=-999 required=5 tests=[AWL=-0.496, BAYES_20=-0.74]
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 y7P8SkaL+cfJ for <hipsec@core3.amsl.com>; Thu, 24 Jun 2010 01:28:53 -0700 (PDT)
Received: from gw.nomadiclab.com (unknown [IPv6:2001:14b8:400:101::2]) by core3.amsl.com (Postfix) with ESMTP id 8CEA73A680B for <hipsec@ietf.org>; Thu, 24 Jun 2010 01:28:51 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by gw.nomadiclab.com (Postfix) with ESMTP id CE47D4E6CF; Thu, 24 Jun 2010 11:28:53 +0300 (EEST)
X-Virus-Scanned: amavisd-new at nomadiclab.com
Received: from gw.nomadiclab.com ([127.0.0.1]) by localhost (inside.nomadiclab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ay-w+cUCk3qj; Thu, 24 Jun 2010 11:28:52 +0300 (EEST)
Received: from [IPv6:2001:14b8:400:101:21c:23ff:fe45:a6c1] (unknown [IPv6:2001:14b8:400:101:21c:23ff:fe45:a6c1]) by gw.nomadiclab.com (Postfix) with ESMTP id C04264E6C8; Thu, 24 Jun 2010 11:28:52 +0300 (EEST)
Message-ID: <4C231744.3010204@nomadiclab.com>
Date: Thu, 24 Jun 2010 11:28:52 +0300
From: Ari Keranen <ari.keranen@nomadiclab.com>
User-Agent: Thunderbird 2.0.0.24 (X11/20100411)
MIME-Version: 1.0
To: Samu Varjonen <samu.varjonen@hiit.fi>
References: <4C18A462.40206@hiit.fi>
In-Reply-To: <4C18A462.40206@hiit.fi>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: HIP <hipsec@ietf.org>
Subject: Re: [Hipsec] draft-ietf-hip-cert-04-pre01
X-BeenThere: hipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "This is the official IETF Mailing List for the HIP Working Group." <hipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hipsec>
List-Post: <mailto:hipsec@ietf.org>
List-Help: <mailto:hipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jun 2010 08:28:54 -0000

Hi Samu,

On 06/16/2010 01:16 PM, Samu Varjonen wrote:
> Here is the preversion of the draft-ietf-hip-cert-04
> http://www.cs.helsinki.fi/u/sklvarjo/draft-ietf-hip-cert-04-pre02.txt

Great! Looking forward seeing this work finalized.

[...]
> Comments are appreciated...

Some comments:

The document would benefit from using more normative language, i.e., 
capitalizing the relevant shoulds/musts/mays and thinking once more 
through which form is appropriate.


2.  CERT Parameter

    The CERT parameter is covered by the HIP SIGNATURE field and is a
    non-critical parameter.

This is better than the previous version, but I'd suggest adding "(where 
present)" after "is covered" to point out that in I1 it would not be 
covered by a signature.

    Cert groups may only span multiple
    packets if the Cert group does not fit the packet.

What packet size limit should one use for determining this? Next hop 
MTU, PMTUD, or something?

              |         URL of X.509.v3        |      3      |
              |           URL of SPKI          |      4      |
              |        Hash of X.509.v3        |      5      |
              |          Hash of SPKI          |      6      |
[...]
    Hash and URL encodings (3 to 6) are used as defined in [RFC4306].

I'd recommend adding the corresponding section number(s) to the 
reference since the IKEv2 spec is quite a long one. And if I understand 
RFC4306 correctly, you should not have separate "Hash" and "URL" 
encodings, but just "Hash and URL" that contains concatenation of the 
hash and URL.


7.  IANA Considerations

Should the certificate types have their own registry?



Cheers,
Ari