[secdir] secdir review of draft-ietf-mpls-gach-adv-06

Leif Johansson <leifj@sunet.se> Mon, 18 February 2013 13:08 UTC

Return-Path: <leifj@sunet.se>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id B5E2021F8835; Mon, 18 Feb 2013 05:08:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id iRDqJB5G2Odv; Mon, 18 Feb 2013 05:08:22 -0800 (PST)
Received: from backup-server.nordu.net (backup-server.nordu.net [IPv6:2001:948:4:1::66]) by ietfa.amsl.com (Postfix) with ESMTP id CB9EE21F87A5; Mon, 18 Feb 2013 05:08:21 -0800 (PST)
Received: from [] (dhcp.pilsnet.sunet.se [] (may be forged)) (authenticated bits=0) by backup-server.nordu.net (8.14.5/8.14.3) with ESMTP id r1ID8FU6006784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 18 Feb 2013 14:08:17 +0100 (CET)
Message-ID: <512227BF.6050207@sunet.se>
Date: Mon, 18 Feb 2013 14:08:15 +0100
From: Leif Johansson <leifj@sunet.se>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
MIME-Version: 1.0
To: "secdir@ietf.org" <secdir@ietf.org>, draft-ietf-mpls-gach-adv.all@tools.ietf.org, "iesg@ietf.org" <iesg@ietf.org>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Subject: [secdir] secdir review of draft-ietf-mpls-gach-adv-06
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/secdir>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Feb 2013 13:08:22 -0000

I have reviewed this document as part of the security directorate's
ongoing effort to review all IETF documents being processed by the IESG.
These comments were written primarily for the benefit of the security
area directors.  Document editors and WG chairs should treat these
comments just like any other last call comments.

The technology is somewhat outside my area of expertise but I found
the document relatively easy to follow anyway.

I'm a fan of writing crypto-related algorithms with very little left 
for the imagination of the reader. To that end I would strongly suggest 
specifying what goes into the GAP message hash even more clearly. 

In this case I suspect the intent is that the inner hash is over all 
bytes of GAP message except the GAP authentication TLV which is added 
to the message _after_ the hash is computed.

Conversely the validation phase needs to clearly say what bits of the
message are to be included in computing the hash.

Also I would change the timestamp verification step to use normative
language, eg: "... the receiver MUST, upon successfully authenticating
a message verify that the timestamp field corresponds... The receiver 
MUST silently discard a GAP message that fails timestamp verification."