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

CertPathValidator: set PKIXParameters Signature provider if null with wolfCrypt FIPS #66

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

cconlon
Copy link
Member

@cconlon cconlon commented Mar 11, 2024

This PR makes one fix to wolfJCE's CertPathValidator implementation (WolfCryptPKIXCertPathValidator). If PKIXParameters.getSigProvider() returns null in engineValidate(), the Signature provider has not been set. If using wolfCrypt FIPS, explicitly set to wolfJCE to help maintain FIPS compliance.

If set to a different Signature provider, we throw an exception when used with wolfCrypt FIPS.

@cconlon cconlon assigned cconlon and bandi13 and unassigned cconlon Mar 11, 2024
@bandi13 bandi13 merged commit 0497ee7 into wolfSSL:master Mar 11, 2024
32 checks passed
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