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

Refactor SetFIPS to support third-party FIPS providers #206

Merged
merged 4 commits into from
Oct 30, 2024
Merged

Conversation

qmuntal
Copy link
Collaborator

@qmuntal qmuntal commented Oct 11, 2024

Our current openssl.SetFIPS implementation only works with the built-in FIPS provide.

This PR still tries to load the built-in FIPS provider as a best effort, but it only fails if there is no provider that supports the -fips=yes query.

openssl.go Outdated Show resolved Hide resolved
openssl.go Outdated Show resolved Hide resolved
qmuntal and others added 2 commits October 28, 2024 15:26
@qmuntal qmuntal merged commit 1a537f4 into v2 Oct 30, 2024
52 checks passed
@qmuntal qmuntal deleted the setfips2 branch October 30, 2024 09:36
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.

3 participants