ruby-jwe icon indicating copy to clipboard operation
ruby-jwe copied to clipboard

decrypt using JWK

Open HoneyryderChuck opened this issue 5 years ago • 1 comments

I think this is a feature request, as I haven't really seen it in the docs.

I'd like to able to pass an "enc" JWK (or an array of them) instead of the decryption key.

The "jwt" gem knows how to build and load a JWK key, so maybe this is a feature that makes more sense as an extension of "jwt", as it could be used in the "JWT.verify" method.

HoneyryderChuck avatar Aug 08 '20 15:08 HoneyryderChuck

I'd really like to have this, although we should probably extract JWK related code to a third gem...

francescobbo avatar Sep 23 '20 11:09 francescobbo