jjwt icon indicating copy to clipboard operation
jjwt copied to clipboard

JWK X5U verification

Open lhazlewood opened this issue 3 years ago • 1 comments

https://datatracker.ietf.org/doc/html/rfc7517#section-4.6

If receiving a JWK with x5u, it must be verified as defined in the above spec section before it can be used.

Work to be done in the jwe branch.

lhazlewood avatar May 09 '22 23:05 lhazlewood

@bdemers I seem to remember you working on similar HTTPS resolution logic for this stuff at one time, no? Any insights into this that I need to be aware of? Or do you want to take a crack at it?

lhazlewood avatar May 09 '22 23:05 lhazlewood

Even though the x5u parameter can exist in either a JWT header or a JWK, any validation mechanism for x5u should be identical (and even shared) between the two. As such, closing this as a duplicate of #408.

lhazlewood avatar Sep 16 '23 23:09 lhazlewood