[Openid-specs-ab] JWK clarification
Dingwell, Robert A.
bobd at mitre.org
Wed Jun 27 18:42:35 UTC 2012
I get that from a JWK point of view, but what is suppose to live at the end of the jwk_url and jwk_encryption_url parameters of an idP or a client as far as section 4.2 in the Messages spec goes? It doesn't make a distinction as to if it expects those urls to point to keys or key sets. At the end of section 4.2 is states that if keys are supplied in both X509 and JWK format then the keys must be identical. They can't be identical if one is a set and the other is an X509 cert with just one key in it so it seems to implicitly state that the jwk_url and jwk_encruyption_url params point to single JWK's and not a Ket Set.
From: Mike Jones <Michael.Jones at microsoft.com<mailto:Michael.Jones at microsoft.com>>
Date: Wednesday, June 27, 2012 1:56 PM
To: Rob Dingwell <bobd at mitre.org<mailto:bobd at mitre.org>>, "openid-specs-ab at lists.openid.net<mailto:openid-specs-ab at lists.openid.net>" <openid-specs-ab at lists.openid.net<mailto:openid-specs-ab at lists.openid.net>>
Subject: RE: JWK clarification
The top-level format continues to be an array of keys. Individual keys can also be used where appropriate. In the following example, an array of keys is specified:
In this example, a single key is specified:
The array format is used in contexts such as the key values retrieved for the JWS and JWE “jku” parameter where multiple keys may be specified. The single key format is used in contexts such as the JWE “epk” parameter, where only a single key value is called for.
If this isn’t clear, feel free to ask a follow-up question.
From: openid-specs-ab-bounces at lists.openid.net<mailto:openid-specs-ab-bounces at lists.openid.net> [mailto:openid-specs-ab-bounces at lists.openid.net] On Behalf Of Dingwell, Robert A.
Sent: Wednesday, June 27, 2012 9:04 AM
To: openid-specs-ab at lists.openid.net<mailto:openid-specs-ab at lists.openid.net>
Subject: [Openid-specs-ab] JWK clarification
If I remember correctly the initial version of the JWK format specified the format as being an array of keys but the latest version of the JWK spec appears to have broken that idea out to where there is the key format and set format.
As both the client and the server have the option of providing signing and encrypting keys in JWK format are the urls for those keys intended to be a single JWK or a JWK set? Seeing how the specifications states that if both X509 and JWK urls are provided they must be the same key makes me believe that the url would point to a single key. If it is a set how would one determine which key to use in the set considering that the set could contain a number of keys that are marked as signing or encrypting keys?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openid-specs-ab