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

Add x509 svid verify options #176

Merged
merged 2 commits into from
Feb 28, 2022
Merged

Conversation

azdagron
Copy link
Member

@azdagron azdagron commented Dec 6, 2021

This PR adds the ability to pass some verify options into the Verify and ParseAndVerify options to influence some verification behavior. Importantly, this allows for these functions to be used a little more flexibly in places like unit tests, which may be using alternate clock implementations.

Signed-off-by: Andrew Harding <[email protected]>
Copy link
Member

@amartinezfayo amartinezfayo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@azdagron azdagron merged commit 23abb23 into spiffe:main Feb 28, 2022
@azdagron azdagron deleted the x509-svid-verify-options branch February 28, 2022 21:10
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.

2 participants