A JWK and JWK Set implementation. An auto-caching JWK Set HTTP client is provided. Generate, validate, and inspect JWKs. Self-host this project's website: https://jwkset.com
This package automatically calculates X.509 certificate thumbprints. This behavior was not accounted for in the existing JWK.Validate implementation, causing inconsistent behavior with NewJWKFromMarshal when the inputted JWKMarshal JWK Set did not contain these optional parameters.
This pull request changes the JWK.Validate behavior to ignore comparing the x5t and x5t#S256 parameters when they are not present in the original.
This package automatically calculates X.509 certificate thumbprints. This behavior was not accounted for in the existing
JWK.Validate
implementation, causing inconsistent behavior withNewJWKFromMarshal
when the inputtedJWKMarshal
JWK Set did not contain these optional parameters.This pull request changes the
JWK.Validate
behavior to ignore comparing thex5t
andx5t#S256
parameters when they are not present in the original.See https://github.com/MicahParks/jwkset/issues/11 for the relevant issue.