jsonwebtoken
jsonwebtoken copied to clipboard
Add support of Eq, PartialEq, Debug for DecodingKey
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!
See https://github.com/Keats/jsonwebtoken/issues/220