jwk-rs icon indicating copy to clipboard operation
jwk-rs copied to clipboard

Add support for HS384, HS512, RS384, RS512, and ES384

Open EliseZeroTwo opened this issue 2 years ago β€’ 2 comments

This MR:

  • Updates dependencies
  • Adds support for HS384, HS512, RS384, RS512, and ES384 (key generation for ES384 is missing due to the arithmatic in the P384 crate being broken)
  • Fixes a bug when converting RSA keys to jsonwebtoken::DecodingKey as they weren't turned into public keys before PEM encoding

I can split this into 3 seperate merge requests if needed.

EliseZeroTwo avatar Apr 24 '22 08:04 EliseZeroTwo

Otherwise this looks useful to me, any chance of this getting merged? @nhynes

XLPhere avatar Feb 23 '23 08:02 XLPhere

Otherwise this looks useful to me, any chance of this getting merged? @nhynes

You can also just use my fork if you want, I don't plan on deleting it even after it's merged due to the usage of the fork elsewhere

EliseZeroTwo avatar Feb 23 '23 08:02 EliseZeroTwo