Re: [OAUTH-WG] implementations of draft-ietf-oauth-proof-of-possession

Mike Jones <Michael.Jones@microsoft.com> Mon, 14 December 2015 04:08 UTC

Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 95CD91A8942 for <oauth@ietfa.amsl.com>; Sun, 13 Dec 2015 20:08:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, 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 JdRZ3w7563ZC for <oauth@ietfa.amsl.com>; Sun, 13 Dec 2015 20:08:01 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0104.outbound.protection.outlook.com [207.46.100.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9A6F71A8848 for <oauth@ietf.org>; Sun, 13 Dec 2015 20:08:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=3xK8cOoHuUJq878pjAaMuI4tm6D+4t59L/nN+mFihgI=; b=PWv3aBRzCLj4EPmRL4vgothvKDJCRYlC3IsmcuxcJRgsv9sPTOLBUECYT/z0O4luxkGF7mt4FpILMYkvWBnW7W7GVQ0M4yT4ZaNY5yx8IYv327oNQUs30YwIKsY273r7ngctU9/KuI0gL1YjYltjRjbDWrPrn8dbwA/bWRlb/6U=
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB441.namprd03.prod.outlook.com (10.141.141.142) with Microsoft SMTP Server (TLS) id 15.1.355.16; Mon, 14 Dec 2015 04:07:58 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0355.012; Mon, 14 Dec 2015 04:07:58 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "Manger, James" <James.H.Manger@team.telstra.com>, Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, "oauth@ietf.org" <oauth@ietf.org>
Thread-Topic: [OAUTH-WG] implementations of draft-ietf-oauth-proof-of-possession
Thread-Index: AQHRNiRw/3FJeypoUkyGZPCG7cxomZ7J3VGA
Date: Mon, 14 Dec 2015 04:07:58 +0000
Message-ID: <BY2PR03MB44269B105305F4246D0563DF5ED0@BY2PR03MB442.namprd03.prod.outlook.com>
References: <CAHbuEH49MaQmi1+3hxOeMd=hpim2KOn0rNDRpOBmt_oCYsCfHQ@mail.gmail.com> <BY2PR03MB44220D545698EE158AAF7A5F5ED0@BY2PR03MB442.namprd03.prod.outlook.com> <255B9BB34FB7D647A506DC292726F6E13BB4EA5AD2@WSMSG3153V.srv.dir.telstra.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E13BB4EA5AD2@WSMSG3153V.srv.dir.telstra.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michael.Jones@microsoft.com;
x-originating-ip: [188.92.133.18]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB441; 5:Nf6ZybIVqj+5CS0wIN2Rh7IWD4U6TUm4T8vCZzbVLK1rGyYbtqO4ZkzjabIx7AGkChzOXPAi8YE98PAu+aJ5SeIHWhIA5oguWf79LnBgh1euRXRqpkaI/ulQDrLO2aY/vErXU/8OjCOhnyfovsJaFg==; 24:W/ryAxzgFKdbk+zGkje/32Ff6xDNOhKanL3ZXU4BsnYJ5mAK/0+O0VPPL8ST48mjGawpCLWlXJ5ekqcFXVA31Ut3TQ5tq3yEhoJGbw8YJUE=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB441;
x-microsoft-antispam-prvs: <BY2PR03MB44168FF8736F585D40A928CF5ED0@BY2PR03MB441.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046)(61426038)(61427038); SRVR:BY2PR03MB441; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB441;
x-forefront-prvs: 0790FB1F33
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(13464003)(199003)(52604005)(377454003)(43784003)(189002)(189998001)(50986999)(97736004)(54356999)(15975445007)(2900100001)(76576001)(81156007)(87936001)(2501003)(1220700001)(6116002)(3846002)(586003)(102836003)(122556002)(1096002)(77096005)(790700001)(92566002)(16601075003)(40100003)(86612001)(5001770100001)(33656002)(5001960100002)(5002640100001)(11100500001)(99286002)(19580395003)(5008740100001)(66066001)(74316001)(106356001)(2950100001)(106116001)(105586002)(76176999)(107886002)(10290500002)(16236675004)(86362001)(10090500001)(19580405001)(19300405004)(5003600100002)(19625215002)(5005710100001)(8990500004)(19617315012)(10400500002)(101416001)(230783001)(5004730100002)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB441; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BY2PR03MB44269B105305F4246D0563DF5ED0BY2PR03MB442namprd_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Dec 2015 04:07:58.5840 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB441
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/9nCxi1kulQkttN-QCTJHIdEiZFY>
Subject: Re: [OAUTH-WG] implementations of draft-ietf-oauth-proof-of-possession
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Dec 2015 04:08:04 -0000

Good eye, James!  Thanks for catching this.  I'll fix it right away.

It turns out that examples are based on the trace captured in February 2013 - well before the Xbox One launch in November 2013.  I'd actually noticed this then and had Xbox correct their code.  But silly me, I failed to uniformly correct it in the draft.

                                                          Thanks again!
                                                          -- Mike

From: Manger, James [mailto:James.H.Manger@team.telstra.com]
Sent: Sunday, December 13, 2015 8:04 PM
To: Mike Jones <Michael.Jones@microsoft.com>; Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>; oauth@ietf.org
Subject: RE: [OAUTH-WG] implementations of draft-ietf-oauth-proof-of-possession


That value uses strings for expiry and not-before dates so it is not a valid JWT; these dates need to be numbers.



3 of the examples in draft-ietf-oauth-proof-of-possession are similarly invalid ("exp" and "iat"); 1 example gets it right.



--

James Manger



-----Original Message-----
From: OAuth [mailto:oauth-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Monday, 14 December 2015 2:40 PM
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com<mailto:kathleen.moriarty.ietf@gmail.com>>; oauth@ietf.org<mailto:oauth@ietf.org>
Subject: Re: [OAUTH-WG] implementations of draft-ietf-oauth-proof-of-possession



Yes.  Xbox One and its partners have been using this since its launch.  The following token claims are from a production trace captured in early 2013:



  {

   "iss":"xas.xboxlive.com",

   "aud":"http://auth.xboxlive.com",

   "exp":"1361398824",

   "nbf":"1360189224",

   "cnf":{

     "jwk":{

       "kty":"EC",

       "use":"sig",

       "crv":"P-256",

       "x":"18wHLeIgW9wVN6VD1Txgpqy2LszYkMf6J8njVAibvhM",

       "y":"-V4dS4UaLMgP_4fY4j8ir7cl1TXlFdAgcx55o7TkcSA"

      }

    }

  }



                                                                -- Mike



-----Original Message-----

From: OAuth [mailto:oauth-bounces@ietf.org] On Behalf Of Kathleen Moriarty

Sent: Sunday, December 13, 2015 7:14 PM

To: oauth@ietf.org<mailto:oauth@ietf.org>

Subject: [OAUTH-WG] implementations of draft-ietf-oauth-proof-of-possession



Hi,



Are there any implementations of  draft-ietf-oauth-proof-of-possession?



Thanks!



--



Best regards,

Kathleen



_______________________________________________

OAuth mailing list

OAuth@ietf.org<mailto:OAuth@ietf.org>

https://www.ietf.org/mailman/listinfo/oauth



_______________________________________________

OAuth mailing list

OAuth@ietf.org<mailto:OAuth@ietf.org>

https://www.ietf.org/mailman/listinfo/oauth