Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent optional behavior for X.509 certificate thumbprints #12

Merged
merged 2 commits into from
Jan 4, 2024

Conversation

MicahParks
Copy link
Owner

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.

See #11 for the relevant issue.

@MicahParks MicahParks merged commit 5f893b0 into master Jan 4, 2024
@MicahParks MicahParks deleted the optional-x5ts256 branch January 4, 2024 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant