Re: [OAUTH-WG] draft-ietf-oauth-pop-key-distribution-01 and Open Issues

Hannes Tschofenig <hannes.tschofenig@gmx.net> Thu, 05 March 2015 11:34 UTC

Return-Path: <hannes.tschofenig@gmx.net>
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 0938C1A1AC1 for <oauth@ietfa.amsl.com>; Thu, 5 Mar 2015 03:34:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.459
X-Spam-Level:
X-Spam-Status: No, score=-0.459 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_RP_RNBL=1.31, RCVD_IN_SBL=0.141, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 KetNyc1ReS2J for <oauth@ietfa.amsl.com>; Thu, 5 Mar 2015 03:34:16 -0800 (PST)
Received: from mout-xforward.gmx.net (mout-xforward.gmx.net [82.165.159.42]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 594861A8886 for <oauth@ietf.org>; Thu, 5 Mar 2015 03:34:15 -0800 (PST)
Received: from [192.168.131.142] ([80.92.121.102]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LmNHK-1XuyIw3rNq-00ZtDF; Thu, 05 Mar 2015 12:34:13 +0100
Message-ID: <54F83F32.3040305@gmx.net>
Date: Thu, 05 Mar 2015 12:34:10 +0100
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: John Bradley <ve7jtb@ve7jtb.com>
References: <54F81ADA.3000203@gmx.net> <0B09DB9C-CB26-448D-AE4B-F50E37C2560A@ve7jtb.com>
In-Reply-To: <0B09DB9C-CB26-448D-AE4B-F50E37C2560A@ve7jtb.com>
OpenPGP: id=4D776BC9
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bChUKl3f4GBmqetdvowAcvw2npP8FPdQb"
X-Provags-ID: V03:K0:XdXvw6FQ6Q9D/M6dELOB1XOSLiXIU5Yqnmn9huzFbYSYYP6hDIC aIjInXVy/tUrq+LMHLvcVG5A/afyYtDYgdS+DjvlSBGtnt/GCm/OCabkWbiGw7N/vrLzopf 4O+euzYOr1fQu+nSAEvjOOhR70Q9cUPF/cCg77GWq8QC/39T1wAI8tPqCURbe1gjuANsqkh 1QXYQUn+ox4NOTfKioKog==
X-UI-Out-Filterresults: junk:10;
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/xz4H_8iowNmqvP1_T5KYd60jooU>
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] draft-ietf-oauth-pop-key-distribution-01 and Open Issues
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: <http://www.ietf.org/mail-archive/web/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: Thu, 05 Mar 2015 11:34:18 -0000

Hi John,


On 03/05/2015 10:27 AM, John Bradley wrote:
> inline
>> On Mar 5, 2015, at 9:59 AM, Hannes Tschofenig <hannes.tschofenig@gmx.net> wrote:
>>
>> Hi all,
>>
>> I refreshed the PoP key distribution document. No changes to the
>> content of the document.
>>
>> The document contains two questions, namely
>>
>> QUESTION: A benefit of asymmetric cryptography is to allow clients to
>>   request a PoP token for use with multiple resource servers.  The
>>   downside of that approach is linkability since different resource
>>   servers will be able to link individual requests to the same client.
>>   (The same is true if the a single public key is linked with PoP
>>   tokens used with different resource servers.)  Nevertheless, to
>>   support the functionality the audience parameter could carry an array
>>   of values.  Is this desirable?
>>
>>
>> Hannes: My view is that we do not want to introduce likability into
>> OAuth via the use of these keys. As such, different keys for different
>> origins.
>>
>>
> John:  Having an array increases complexity and decreases privacy by allowing RS to link.
> 
> Audiance should be a single value.  That requires separate keys for symmetric, or asymmetric keys provisioned by the AS.
> 
> For asymmetric keys provisioned by the client it would be up to the client to decide if using the same key for multiple RS makes sense.  
> 
> It might be that there is a single key provisioned by a MSM in the tpm that they want to use for all the connections as that is the most secure, and are not concerned with correlation as all the RS are internal to a single enterprise.
> 

OK.

> 
> 
>> QUESTION: Should we register the token_type and alg parameters for use
>> with the dynamic client registration protocol?
>>
>> Hannes: I believe we should register these two parameters into the
>> dynamic client registration protocol since that allows us to configure
>> the values for the client rather than exchanging them with every message.
>>
> John:  Yes I had assumed that that was a no brainer.
> The other question on registering is if we should allow the client to preregister a public key as well.
> In some situations the client may want to always use the same key and making them push it each time is a waste of bandwidth.
The dynamic client registration already supports the feature of
uploading a public key to the authorization server and hence the missing
feature to support that case is to allow the client to refer to that key
somehow. I assume that the public key uploaded by the dynamic client
registration protocol is referenced using a URI. The question is just
what that URI would be.

Unfortunately, the Dynamic Client Registration spec is silent about how
to reference the public key uploaded via the jwks parameter. Did we just
found a bug in the spec?

Ciao
Hannes


> 
> John B.
>> Feedback appreciated before the submission deadline.
>>
>> Ciao
>> Hannes
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>