[kitten] SPN audience claim for GSS BrowserID

Luke Howard <lukeh@padl.com> Mon, 07 October 2013 01:27 UTC

Return-Path: <lukeh@padl.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE02621E811A for <kitten@ietfa.amsl.com>; Sun, 6 Oct 2013 18:27:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FoTaXlYwcO8E for <kitten@ietfa.amsl.com>; Sun, 6 Oct 2013 18:27:04 -0700 (PDT)
Received: from us.padl.com (us.padl.com [216.154.215.154]) by ietfa.amsl.com (Postfix) with ESMTP id 90DA821E8108 for <kitten@ietf.org>; Sun, 6 Oct 2013 18:27:04 -0700 (PDT)
Received: by us.padl.com with ESMTP id r971QqEn007669; Sun, 6 Oct 2013 21:26:55 -0400
From: Luke Howard <lukeh@padl.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Message-Id: <F28F031B-EB8B-44EE-B765-91CA193D7C8F@padl.com>
Date: Mon, 07 Oct 2013 12:26:52 +1100
To: "dev-identity@lists.mozilla.org" <dev-identity@lists.mozilla.org>, "kitten@ietf.org" <kitten@ietf.org>
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
X-Mailer: Apple Mail (2.1510)
X-SMTP-Vilter-Version: 1.3.6
X-Spamd-Symbols: AWL,BAYES_00,RDNS_NONE,USER_IN_WHITELIST
X-SMTP-Vilter-Spam-Backend: spamd
X-Spam-Threshold: 5.0
X-Spam-Probability: -20.5
Subject: [kitten] SPN audience claim for GSS BrowserID
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.12
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, 07 Oct 2013 01:27:08 -0000

Apologies for the cross-post.

A brief reminder: GSS BrowserID [1] profiles Mozilla Persona for application protocols that use SASL or GSS-API, such as IMAP and SMTP.

The audience in the generated assertion is the “service principal name”, or SPN, which identifies the target service. This is of the form service[/hostname[/instance]], for example “imap/mail.example.com”. Currently we are encoding these as URIs with the prefix urn:ietf:params:gss:spn: (so, in previous example, the “aud” claim would have the value “urn:ietf:params:gss:spn:imap/mail.example.com”).

Rereading draft-ietf-oauth-json-web-token, I note that the audience claim is a StringOrURI, and there's nothing in the BrowserID code that requires the audience to be a URI, at least for internal API consumers.

Any thoughts thus on dropping the URN prefix and placing the unadorned SPN in the audience claim?

-- Luke

[1] http://tools.ietf.org/html/draft-howard-gss-browserid-05