Re: [CHANNEL-BINDING] Re: draft-ietf-sasl-gs2 AD review comments

Simon Josefsson <simon@josefsson.org> Fri, 12 October 2007 10:07 UTC

Return-path: <channel-binding-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IgHQS-0006Cu-3Q; Fri, 12 Oct 2007 06:07:24 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IgHQQ-0006Cl-7E for channel-binding@ietf.org; Fri, 12 Oct 2007 06:07:22 -0400
Received: from yxa.extundo.com ([83.241.177.38]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IgHQJ-0005cQ-Oe for channel-binding@ietf.org; Fri, 12 Oct 2007 06:07:22 -0400
Received: from mocca.josefsson.org (yxa.extundo.com [83.241.177.38]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l9CA6dhE002000 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Oct 2007 12:06:39 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Subject: Re: [CHANNEL-BINDING] Re: draft-ietf-sasl-gs2 AD review comments
References: <20071011173152.GR24532@Sun.COM> <Pine.LNX.4.33L.0710111343440.8820-100000@minbar.fac.cs.cmu.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:071012:hartmans-ietf@mit.edu::1QdMJq718yOg+nf6:2UM9
X-Hashcash: 1:22:071012:jhutz@cmu.edu::hIiITGZ2/zMVBZhB:HVsR
X-Hashcash: 1:22:071012:ietf-sasl@imc.org::b1KIyuHzJbQaAU3S:LSFF
X-Hashcash: 1:22:071012:channel-binding@ietf.org::9GgcQNLlmSGy/ICI:GISb
X-Hashcash: 1:22:071012:nicolas.williams@sun.com::jwZ83TlTy23U2SwO:RHdO
Date: Fri, 12 Oct 2007 12:06:38 +0200
In-Reply-To: <Pine.LNX.4.33L.0710111343440.8820-100000@minbar.fac.cs.cmu.edu> (Jeffrey Hutzelman's message of "Thu, 11 Oct 2007 13:51:23 -0400 (EDT)")
Message-ID: <87ir5cy7dd.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-0.0 required=4.0 tests=SPF_PASS autolearn=disabled version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on yxa-iv
X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on yxa.extundo.com
X-Virus-Status: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 082a9cbf4d599f360ac7f815372a6a15
Cc: ietf-sasl@imc.org, channel-binding@ietf.org, Sam Hartman <hartmans-ietf@mit.edu>, Nicolas Williams <Nicolas.Williams@sun.com>
X-BeenThere: channel-binding@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of channel binding IANA registry requests and specifications <channel-binding.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/channel-binding>
List-Post: <mailto:channel-binding@ietf.org>
List-Help: <mailto:channel-binding-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/channel-binding>, <mailto:channel-binding-request@ietf.org?subject=subscribe>
Errors-To: channel-binding-bounces@ietf.org

Jeffrey Hutzelman <jhutz@cmu.edu> writes:

> On Thu, 11 Oct 2007, Nicolas Williams wrote:
>
>> On Thu, Oct 11, 2007 at 01:28:07PM -0400, Jeffrey Hutzelman wrote:
>> > This sort of assumes that the "obvious" thing to do is prfix the name to
>> > the data, rather than treating them separately.  That sssumption seems
>> > flawed to me, and the source of much confusion.
>>
>> Did you miss this part of my reply to Sam:
>>
>> Nico> I propose the following addition to that requirement:  "Where the
>> Nico> authentication interfaces provide a slot for channel binding data but no
>> Nico> slot for channel binfing type, then the application MUST prefix the
>> Nico> US-ASCII name of the channel binding type ("prefix"), and a separator
>> Nico> character, ':', to the channel binding data an octet string."
>
> I saw that; I just forgot to say anything.  That basically sounds like my
> option (2).  I think that's probably sufficient.  Simon?

It is a starting point, but the proposed text appears to use incorrect
terminology.  Section 7.1 in on-channel-binding says:

   o  Subject: Registration of channel binding X

   o  Channel binding unique prefix (name):

   o  Channel binding type: (One of "unique" or "end-point")

   o  Channel type: (E.g., TLS, IPsec, SSH, etc...)

>From that I infer that:

  channel binding unique prefix = channel binding name

  channel binding type = either 'unqiue' or 'end-point'

  channel type = not an octet string, but a reference to other
    authentication protocols (e.g., TLS RFC 4346).

The proposed text above seem to claim that the channel binding type is
the prefix, which seems incorrect.  I also wonder whether it doesn't
mean 'channel binding unique prefix' rather than 'channel binfing type'.
There is also a spurious 'an' at the end.

I suggest modified text:

  Where the authentication interfaces provide a slot for channel binding
  data but no slot for the channel binding name (i.e., the unique
  prefix), then the application MUST prefix the US-ASCII name of the
  channel binding name (i.e., the unique prefix), and a separator
  character, ':', to the channel binding data octet string.

However, I continue to doubt that anyone that did not read mailing list
discussions about these fine points will be able to do the right thing
when reading the on-channel-bindings document.  The terminology
definitions we are basing this discussion is in the IANA Considerations!
They aren't used earlier in the document.  I think they should be in
section 2, and used throughout the document.  That may be sufficient to
make things understandable.

/Simon

_______________________________________________
CHANNEL-BINDING mailing list
CHANNEL-BINDING@ietf.org
https://www1.ietf.org/mailman/listinfo/channel-binding