go-jose icon indicating copy to clipboard operation
go-jose copied to clipboard

Support RFC 7517 Section 4.3 "key_ops" (Key Operations) Parameter

Open zamicol opened this issue 6 years ago • 3 comments

It would be nice to support key_ops

https://tools.ietf.org/html/rfc7517#section-4.3

I'm not sure how to implement this particular paragraph: The "use" and "key_ops" JWK members SHOULD NOT be used together;however, if both are used, the information they convey MUST be consistent. Applications should specify which of these members they use, if either is to be used by the application.

zamicol avatar Nov 12 '19 05:11 zamicol

I have a draft ready for this, please see my comments:#271

zamicol avatar Nov 12 '19 22:11 zamicol

I am porting some jose library C code to golang. That code uses key_ops and I would like to match the function in my new code. Any plans to move forward with the PR you mentioned?

anatol avatar Sep 24 '20 18:09 anatol

Another library to consider is https://github.com/lestrrat-go/jwx

zamicol avatar Sep 25 '20 10:09 zamicol