nhynes / jwk-rs

Rust JSON Web Keys πŸ¦€πŸ•ΈπŸ”‘
MIT License
33 stars 17 forks source link

fix: to_decoding_key should use to_public for RSA #14

Closed CertainLach closed 10 months ago

CertainLach commented 11 months ago

I'm not sure why jsonwebtoken crate is ok with that, but the resulting DecodingKey returns InvalidSignature error when the original code is used.

CertainLach commented 10 months ago

Closing as already covered by #11