Re: [secdir] secdir review of draft-ietf-sasl-gs2-17

Simon Josefsson <simon@josefsson.org> Fri, 08 January 2010 12:49 UTC

Return-Path: <simon@josefsson.org>
X-Original-To: secdir@core3.amsl.com
Delivered-To: secdir@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C55913A6958; Fri, 8 Jan 2010 04:49:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.549
X-Spam-Level:
X-Spam-Status: No, score=-2.549 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599]
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 NlKtogZAA9gU; Fri, 8 Jan 2010 04:49:59 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id A0A313A68A0; Fri, 8 Jan 2010 04:49:58 -0800 (PST)
Received: from mocca (c80-216-24-99.bredband.comhem.se [80.216.24.99]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id o08CnrfR009416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 8 Jan 2010 13:49:55 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@sun.com>
References: <000001ca6a19$665b3320$33119960$@net> <20091123165233.GJ773@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:100108:iesg@ietf.org::obzvswTmjE55bmxQ:q7q
X-Hashcash: 1:22:100108:secdir@ietf.org::Nh/bQJtKl7AzIZuq:1xtV
X-Hashcash: 1:22:100108:gwz@net-zen.net::Wdt6YuxOurO3KO2J:4vk+
X-Hashcash: 1:22:100108:nicolas.williams@sun.com::L9oY6Aahv3bar4st:5Nwm
X-Hashcash: 1:22:100108:tlyu@mit.edu::mPO/1yu2KI6idTWX:BWXf
X-Hashcash: 1:22:100108:alexey.melnikov@isode.com::FTh+6Dfrlweu6w9X:B77q
X-Hashcash: 1:22:100108:kurt.zeilenga@isode.com::obp1fQLyrZKhUUty:vNit
Date: Fri, 08 Jan 2010 13:49:53 +0100
In-Reply-To: <20091123165233.GJ773@Sun.COM> (Nicolas Williams's message of "Mon, 23 Nov 2009 10:52:34 -0600")
Message-ID: <87fx6g7ocu.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Virus-Scanned: clamav-milter 0.95.3 at yxa-v
X-Virus-Status: Clean
X-Mailman-Approved-At: Fri, 08 Jan 2010 04:52:25 -0800
Cc: secdir@ietf.org, 'Kurt Zeilenga' <Kurt.Zeilenga@Isode.com>, iesg@ietf.org, 'Alexey Melnikov' <alexey.melnikov@Isode.com>
Subject: Re: [secdir] secdir review of draft-ietf-sasl-gs2-17
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 08 Jan 2010 12:49:59 -0000

Nicolas Williams <Nicolas.Williams@sun.com> writes:

>> SECTION 5
>> I find this section rather difficult to understand: not all of the possible
>> combinations of gs2-cb-flag and server support for channel bindings seem to
>> be covered.  A table might help, if not for that the gs2-cb-flag is
>> tri-valued & used to signal two different things.
>
> I believe we handled all cases.  There are three flag values and two
> server support alternatives.  I suppose we can add a table, something
> like:
>
>     FLAG	SERVER CB SUPPORT	DISPOSITION
>     ----	-----------------	-----------
>
>     n		Irrelevant		If server disallows non-channel-
>                                         bound authentication, then fail
>
>     y		CB not supported	Authentication may succeed
>
>     y		CB supported		Authentication must fail
>
>     p		CB supported		Authentication may succeed, with
>                                         CB used
>
>     p		CB not supported	Authentication will fail
>
>     <none>	CB not supported	Client does not even try because
>                                         it insists on CB

I have added this table to section 5.

>> The first paragraph says:
>> 
>>    GS2 does not use any GSS-API per-message tokens.  Therefore the
>>    setting of req_flags related to per-message tokens is irrelevant.
>> 
>> OK, but what should the client and server behavior should be WRT the flags?
>
> There's no actual behavior w.r.t. req_flags and ret_flags.  The GSS-API
> mechanism is free to enable per-msg token features not requested by the
> caller, but they are truly irrelevant: the application won't be using
> per-msg tokens.  It may make things simpler if we explicitly require
> that req_flags not be set:
>
>    GS2 does not use any GSS-API per-message tokens.  Therefore the
>    per-message token ret_flags from GSS_Init_sec_context() and
>    GSS_Accept_sec_context() are irrelevant; implementations SHOULD NOT
>    set the per-message req_flags.

This is in the document now too.

Thanks,
Simon