jsonwebtoken icon indicating copy to clipboard operation
jsonwebtoken copied to clipboard

Add support of Eq, PartialEq, Debug for DecodingKey

Open deliro opened this issue 1 year ago • 1 comments

Hello! I need an ability to compare two DecodingKey's for equality (pretty much in tests to check whether JWKS renewing was successful) and discovered that DecodingKey has literally none ways to do it (no serialization, no debug traits, no public fields). So I did this PR. Thank you in advance!

deliro avatar Sep 05 '24 12:09 deliro

See https://github.com/Keats/jsonwebtoken/issues/220

Keats avatar Sep 08 '24 12:09 Keats