Re: KITTEN: IETF 75 - 76

Nicolas Williams <Nicolas.Williams@sun.com> Thu, 20 August 2009 15:47 UTC

Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A1EC628C190 for <kitten@core3.amsl.com>; Thu, 20 Aug 2009 08:47:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.914
X-Spam-Level:
X-Spam-Status: No, score=-5.914 tagged_above=-999 required=5 tests=[AWL=0.132, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
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 6msh6hPDB3mr for <kitten@core3.amsl.com>; Thu, 20 Aug 2009 08:47:17 -0700 (PDT)
Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by core3.amsl.com (Postfix) with ESMTP id C4AA328C115 for <kitten@ietf.org>; Thu, 20 Aug 2009 08:47:17 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n7KFlN3q020630 for <kitten@ietf.org>; Thu, 20 Aug 2009 15:47:23 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-02.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL, v2.2) with ESMTP id n7KFlNRx051411 for <kitten@ietf.org>; Thu, 20 Aug 2009 09:47:23 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n7KFadl2005015; Thu, 20 Aug 2009 10:36:39 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7KFac7S005014; Thu, 20 Aug 2009 10:36:38 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 20 Aug 2009 10:36:38 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Martin Rex <Martin.Rex@sap.com>
Subject: Re: KITTEN: IETF 75 - 76
Message-ID: <20090820153638.GW1043@Sun.COM>
References: <20090819202914.GI1043@Sun.COM> <200908201509.n7KF9JVH010226@fs4113.wdf.sap.corp>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <200908201509.n7KF9JVH010226@fs4113.wdf.sap.corp>
User-Agent: Mutt/1.5.7i
Cc: kitten@ietf.org, Shawn.Emery@sun.com
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Aug 2009 15:47:18 -0000

On Thu, Aug 20, 2009 at 05:09:19PM +0200, Martin Rex wrote:
> Nicolas Williams wrote:
> > It is.  It should be sufficient however.  (Here name would be an MN.)
> 
> An MN means that it refers to a singular identity/name in one
> particular namespace, it does _not_ imply a single mechanism (oid) only.

I made that clear further down where I referred to mech families.

> A Kerberos principal is going to be an MN for the rfc1964/rfc4121 mech OID,
> for the pre-rfc1964 mechoid and for the IAKERB mechoid.
> 
> But I would NOT want to require the name to be an MN here!

How could it be anything but?  Oh sure, for a family of mechanisms the
name could be one that's imported with GSS_Import_name() and a
mech-specific name type OID, or GSS_C_NULL_OID, and not canonicalized.
But such a name would likely not be useful for credential acquisition
for other mechanisms outside that family.

> I do not want to require that the returned name is an MN (because this
> would take away the possibility for the gssapi mechanism to
> select/negotiate the best common mechanism and _require_ the user to
> perform an a-priori conscious selection.

I don't follow this.

> Thinking about it, I would actually want to add two more function
> parameters:
>        OM_uint32    * lifetime,
>        gss_bufFer_t   descriptive_message,
> 
> to allow application writer to show additional information in
> selection UIs that they show to users.  :)

What would descriptive_message have?  A description of the
mechanism/mechanism family?

What about lifetime?  Why is that necessary?  Sure, we could put all
outputs of GSS_Inquire_cred*() here.  Heck, cred_usage seems a lot more
useful that lifetime in this context.