Re: [kitten] On SASL's authzid
Nico Williams <nico@cryptonector.com> Tue, 11 March 2014 01:14 UTC
Return-Path: <nico@cryptonector.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 30A871A0675 for <kitten@ietfa.amsl.com>; Mon, 10 Mar 2014 18:14:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.753
X-Spam-Level: *
X-Spam-Status: No, score=1.753 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_RELAY_NODNS=1.451, FM_FORGED_GMAIL=0.622, HELO_MISMATCH_COM=0.553, IP_NOT_FRIENDLY=0.334, RDNS_NONE=0.793] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UuP-_79TwAS5 for <kitten@ietfa.amsl.com>; Mon, 10 Mar 2014 18:14:20 -0700 (PDT)
Received: from homiemail-a66.g.dreamhost.com (unknown [69.163.253.172]) by ietfa.amsl.com (Postfix) with ESMTP id 03C7F1A0666 for <kitten@ietf.org>; Mon, 10 Mar 2014 18:14:20 -0700 (PDT)
Received: from homiemail-a66.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTP id 9DB31350078 for <kitten@ietf.org>; Mon, 10 Mar 2014 18:14:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=svO22XBUd7fFiILllBJ0 clNKV2k=; b=yY0T+h9xKL2NGDy3rglWTVSN1lMGDlwCNVN+P2dqeS4gnHCl0lAI 12G4WPC6fDPLS2qdDa2QRhchZ/eGnmTVJW7IjrhU0+Yp8LHTeqrRvN2t6BvuNKVS piuUXTVbsZHKIQ0IYXWYdkL2fQTqMsWvBru1t3rRjWPWwJZHx9ejQRk=
Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTPSA id 50042350058 for <kitten@ietf.org>; Mon, 10 Mar 2014 18:14:14 -0700 (PDT)
Received: by mail-wg0-f46.google.com with SMTP id b13so3383947wgh.5 for <kitten@ietf.org>; Mon, 10 Mar 2014 18:14:13 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IhpwtDt6z2IJI8eSyNAUUHZUs8CM1KC61djrc1fy2zI=; b=U8opxP4uBjD4FYDi61Hp8SL7poJTDn6tmAJsVvWkDxw46AhXNWbqnDZRd2Vc4BtWhX APl0INq3UWpJevspaqyCvEZwzrGTTXOjCEqD65RSX0/n4vm340iTQ/DzA0lv3B3dQtJs 1W9s4ADwcI+CdK56G6JgBXhFojetP9mxPXllOR5f78rXEAJi1RO+Dd/dj0GHH3ATXEkl iXmfo4M0R/r+xEQsYKHStbO2qectF999pKgKm8rIstrOeTfrDnLxYW83U8nap9fTQ7KU 6IIYElM1rygDuUwt10Pq/+nRlsked0D9uBo7Kd7Vxxq+yCsEsjY1T6ZizG8gZM3aMy80 XBjw==
MIME-Version: 1.0
X-Received: by 10.194.6.8 with SMTP id w8mr34864600wjw.16.1394500453263; Mon, 10 Mar 2014 18:14:13 -0700 (PDT)
Received: by 10.216.199.6 with HTTP; Mon, 10 Mar 2014 18:14:13 -0700 (PDT)
In-Reply-To: <1394499537.96053.YahooMailNeo@web142802.mail.bf1.yahoo.com>
References: <CF3FAF4D.4B1F4%cantor.2@osu.edu> <1394230922.9009.YahooMailAndroidMobile@web142803.mail.bf1.yahoo.com> <CAPe4Cjp6KSL5FsHVzNPMxvE_E4BmaWgEuZQVr_wEkexH=ukpAg@mail.gmail.com> <CF436DAF.4B41B%cantor.2@osu.edu> <CAK3OfOivZAPDsanf-MAuUxFtzd5+vy51fpuw6UCgohmZP-T3MQ@mail.gmail.com> <1394474177.99427.YahooMailNeo@web125601.mail.ne1.yahoo.com> <CF437606.4B428%cantor.2@osu.edu> <1394475268.88821.YahooMailNeo@web125603.mail.ne1.yahoo.com> <CF437A98.4B43D%cantor.2@osu.edu> <1394475967.98405.YahooMailNeo@web125604.mail.ne1.yahoo.com> <CAK3OfOirp8ZJi8cKa4WKM80jWU8d_t9Snwk-aEEiggNzxu=H3Q@mail.gmail.com> <1394499537.96053.YahooMailNeo@web142802.mail.bf1.yahoo.com>
Date: Mon, 10 Mar 2014 20:14:13 -0500
Message-ID: <CAK3OfOhffp=PupCzzqnUe1cA8C4Af26FLC+eGWCzQpgy6GyMQg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Bill Mills <wmills_92105@yahoo.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/kitten/zBKNVHHNykrmszrkPMeA8gEbzkQ
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] On SASL's authzid
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Tue, 11 Mar 2014 01:14:21 -0000
On Mon, Mar 10, 2014 at 7:58 PM, Bill Mills <wmills_92105@yahoo.com> wrote: > Examples in > http://tools.ietf.org/html/draft-ietf-kitten-sasl-oauth-14#section-4 > > Does that answer your question? Yes! You have two options that are equivalent, and you need only choose whether you want to describe a GSS mechanism that can be used as a GS2 mechanism, or a SASL mechanism from which one could derive a GSS mechanism that interops with the SASL one when used in a GS2 framework. In the first case all you have to say is that the tokens start with the GS2 header, and that if there's an authzid it will appear twice, once in the a= attribute in the GS2 header, and once in a user= attribute past the GS2 header. In the second case you'd say that the OAuth GSS mechanism's GSS_Init_sec_context() outputs a token as it would look without the GS2 header, and that if the initiator name had an authzid set then this is sent as user=<authzid>. Then automatically when this mechanism is used in SASL via GS2 SASL will add the a=<authzid>, and if the GS2 implementation knows to set the GSS authzid attribute then it will also appear as user=<authzid>. If you do the latter you'll need to reference: http://tools.ietf.org/html/draft-williams-kitten-impersonation-naming-attr-00 The obvious choice is the first: it's easier on you. It's pretty much what we did with SCRAM, with just a smidgen of text saying GSS-related things for anyone who wanted to implement SCRAM as a GSS mechanism used in a SASL GS2 framework. Nico --
- [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Alexey Melnikov
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Cantor, Scott
- Re: [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Nordgren, Bryce L -FS
- Re: [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Nordgren, Bryce L -FS
- Re: [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Cantor, Scott
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Cantor, Scott
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Ryan Troll
- Re: [kitten] On SASL's authzid Cantor, Scott
- Re: [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Cantor, Scott
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Cantor, Scott
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Alexey Melnikov
- Re: [kitten] On SASL's authzid Ryan Troll
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Chris Newman
- Re: [kitten] On SASL's authzid Nico Williams
- Re: [kitten] On SASL's authzid Bill Mills
- Re: [kitten] On SASL's authzid Nico Williams