Re: [kitten] On SASL's authzid

Ryan Troll <rtroll@googlers.com> Mon, 10 March 2014 17:21 UTC

Return-Path: <rtroll@google.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 4ED9F1A0694 for <kitten@ietfa.amsl.com>; Mon, 10 Mar 2014 10:21:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.925
X-Spam-Level:
X-Spam-Status: No, score=-1.925 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001] autolearn=ham
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 rTOehHUn0Z_o for <kitten@ietfa.amsl.com>; Mon, 10 Mar 2014 10:21:40 -0700 (PDT)
Received: from mail-qa0-x236.google.com (mail-qa0-x236.google.com [IPv6:2607:f8b0:400d:c00::236]) by ietfa.amsl.com (Postfix) with ESMTP id D2EE01A066C for <kitten@ietf.org>; Mon, 10 Mar 2014 10:21:39 -0700 (PDT)
Received: by mail-qa0-f54.google.com with SMTP id w8so7365390qac.27 for <kitten@ietf.org>; Mon, 10 Mar 2014 10:21:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlers.com; s=googlers; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fu/k8HNEuRuAmFDgwT7TCavog3GrlMzPj2L2O51yMRY=; b=RxL+e2I0dijqjJUrMAZJjGOK6d3htsDdLI5eG3bpJxR5LkUUeZQ9jsIsEjnPKaBWiL 84igt4foJftrzMeEKU8uOsH2RBKhgXPH15wE8q1UjVNYJG9LO3iZq4sJlSgBr6zRoABt is2J2Nei688sst4H9xdfJzCKZiWhBkRfYhB94=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=fu/k8HNEuRuAmFDgwT7TCavog3GrlMzPj2L2O51yMRY=; b=kAQ5fejlEoV15VJVY9Q76Gpwhdh6yJ5YSTECDYPbCaR64Gs8YK+9aKuzKOIJ2Z5iLE eY3E3AFoy0iwwAlWc6es1XDDaOSGt/fS/6RyHvFs0T7ppakaHFazonel/RP6CL1lawWn Zh4RCvqJSICx/Q8asVxf8ope7jX3D8n0Am4D5FWxr+WU3LluRvZRlkF5HFrR2/OC20sk 460TyQb+E06C1QEaypkaLptFzRA6+Jz1UOnzfm0oWF7n+wm/Fk8/qZUmbrkfGtJF4vnx 6YQ2qp0m4+oxuOaaHrO567Gq3Bd+2wzDp5R6UUjAzLuHKGMza+/NMZ7dbrl/+LD5a0W2 Z12w==
X-Gm-Message-State: ALoCoQmUz2a/kyWkW6M7EaVDVDzrUncvTbnqS/1rad4Mj1yzZtz7s/TwwpHMulepHB6SsNYKp1/6x9LSZnsOo5i2orubMXMBawF0zn8nKKmUzYelIU/Ie88bgqrv5YwM7dl9z4Pr2R9c7aHP7pk9aF2fIFpRDXKz6tczmT1Eqqaw7ITUlABCSzSFFidsTiadbdi9t4BXV+yl
MIME-Version: 1.0
X-Received: by 10.140.90.80 with SMTP id w74mr3828828qgd.96.1394472094216; Mon, 10 Mar 2014 10:21:34 -0700 (PDT)
Received: by 10.229.205.197 with HTTP; Mon, 10 Mar 2014 10:21:34 -0700 (PDT)
Received: by 10.229.205.197 with HTTP; Mon, 10 Mar 2014 10:21:34 -0700 (PDT)
In-Reply-To: <1394230922.9009.YahooMailAndroidMobile@web142803.mail.bf1.yahoo.com>
References: <CF3FAF4D.4B1F4%cantor.2@osu.edu> <1394230922.9009.YahooMailAndroidMobile@web142803.mail.bf1.yahoo.com>
Date: Mon, 10 Mar 2014 10:21:34 -0700
Message-ID: <CAPe4Cjp6KSL5FsHVzNPMxvE_E4BmaWgEuZQVr_wEkexH=ukpAg@mail.gmail.com>
From: Ryan Troll <rtroll@googlers.com>
To: William Mills <wmills_92105@yahoo.com>
Content-Type: multipart/alternative; boundary="001a11c137e4d3490a04f443d50e"
Archived-At: http://mailarchive.ietf.org/arch/msg/kitten/gPdzooZfzcuMfcHuNkn8f6ehwZ8
Cc: 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: Mon, 10 Mar 2014 17:21:42 -0000

Google uses the user= field as an authzid.  It identifies the mailbox being
accessed, and the session terminates at the server responsible for that
mailbox.

In the future, if a client provided users with the ability to log in as
user A and read mailbox B, we would want to know identity B.  Which
certainly appears to be the authzid.

Scott - does this help?

-R
On Mar 7, 2014 2:22 PM, "Bill Mills" <wmills_92105@yahoo.com> wrote:

> Then user isn't autzid it's authcid.
>
> Sent from Yahoo Mail on Android<http://overview.mail.yahoo.com/mobile/?.src=Android>
>
>  ------------------------------
> * From: * Cantor, Scott <cantor.2@osu.edu>;
> * To: * Bill Mills <wmills_92105@yahoo.com>; Nico Williams <
> nico@cryptonector.com>; Nordgren, Bryce L -FS <bnordgren@fs.fed.us>;
> * Cc: * kitten@ietf.org <kitten@ietf.org>;
> * Subject: * Re: [kitten] On SASL's authzid
> * Sent: * Fri, Mar 7, 2014 10:19:10 PM
>
>   On 3/7/14, 5:13 PM, "Bill Mills" <wmills_92105@yahoo.com> wrote:
>
> >So can we say that the value in "user" must agree with the user asserted
> >by the token?
>
> That depends on what "agree" means. It's a policy issue.
>
> The athzid is the *asserted* identity to login as, which is NOT always
> what's in the token. The token is who's logging in, the authzid is who
> you're logging in *as* for that transaction.
>
> If by agree you mean "is authorized to act as", then yes. But that's
> entirely application layer business, nothing to do with the mechanism.
>
>
> -- Scott
>
>
> _______________________________________________
> Kitten mailing list
> Kitten@ietf.org
> https://www.ietf.org/mailman/listinfo/kitten
>
>