Re: Determining a token's mechanism

Doug Rosenthal <rosenthl@mcc.com> Thu, 27 April 1995 15:50 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa04774; 27 Apr 95 11:50 EDT
Received: from CNRI.Reston.VA.US by IETF.CNRI.Reston.VA.US id aa04768; 27 Apr 95 11:50 EDT
Received: from pad-thai.cam.ov.com by CNRI.Reston.VA.US id aa08475; 27 Apr 95 11:50 EDT
Received: from MIT.EDU by pad-thai.cam.ov.com (8.6.12/) with SMTP id <KAA05176@pad-thai.cam.ov.com>; Thu, 27 Apr 1995 10:48:51 -0400
Received: from turtle.mcc.com by MIT.EDU with SMTP id AA06097; Thu, 27 Apr 95 10:48:48 EDT
Received: from krypton.mcc.com (krypton.mcc.com [128.62.30.63]) by turtle.mcc.com (8.6.10/mcc.8.6.9) with SMTP id JAA12750; Thu, 27 Apr 1995 09:48:14 -0500
Received: by krypton.mcc.com (4.1/isd-other_920825_17:05) id AA23603; Thu, 27 Apr 95 09:48:14 CDT
Date: Thu, 27 Apr 1995 09:48:14 -0500
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Doug Rosenthal <rosenthl@mcc.com>
Message-Id: <9504271448.AA23603@krypton.mcc.com>
To: marc@cam.ov.com
Cc: linn@cam.ov.com, cat-ietf@mit.edu, rosenthal@krypton.mcc.com
In-Reply-To: <199504251445.KAA26226@dun-dun-noodles.cam.ov.com> (message from Marc Horowitz on Tue, 25 Apr 1995 10:45:38 -0400)
Subject: Re: Determining a token's mechanism

    >>> >The gss_parse_token() routine would be easy to implement, and
    >>> it would >do the right thing for all krb5 tokens.

    Marc> For the record, I was replying to John's question of April
    Marc> 7, which was:

    Marc>     (2) Referring to the SPKM_Parse_token() routine as
    Marc> described in draft-ietf-cat-spkmgss-02.txt, we would like to
    Marc> consider the feasibility of incorporating an equivalent
    Marc> routine within GSS-V2.  Question to implementors: please
    Marc> review the definition of this routine and consider whether
    Marc> its functionality is implementable within your mechanism and
    Marc> code base.

    Marc> My answer to this technical question is still the same, I
    Marc> believe.  However, and this was not part of my original
    Marc> response, I don't believe that SPKM_Parse_token() is a
    Marc> useful function in light of its inherent nonportability, and
    Marc> I'd rather not see it included in the spec.


Not to belabor the issue, but given that the token parsing
functionality is either put in a separate function (aka parse_token)
or done "manually" in a multi-mech glue layer, the former would be
more convenient - as it could be used/called by either a multi-mech
glue layer or a single-mech application (if necessary).  Doesn't seem
like a hard function to implement, and would give application
developers another utility function if they needed it.

Also, is it really non-portable if some implementations simply return
null for some of the function outputs while other implementations
return non-null values?  Isn't this the case for some of the other
GSS functions anyway, depending on the underlying
mechansim/implementation?  (e.g. the _state values returned from
init/accept_sec_context)

- Doug