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

Fix flexparser FIPS mode #7

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Fix flexparser FIPS mode #7

merged 1 commit into from
Feb 13, 2024

Conversation

MattTheCuber
Copy link
Contributor

With FIPS mode the following error is thrown.
ValueError: [digital envelope routines: EVP_DigestInit_ex] disabled for FIPS

Also, do I need to update anything here or is that pulled in?

@coveralls
Copy link

Pull Request Test Coverage Report for Build 7892561388

Details

  • 0 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 88.165%

Totals Coverage Status
Change from base Build 7470425156: 0.0%
Covered Lines: 663
Relevant Lines: 752

💛 - Coveralls

@hgrecco
Copy link
Owner

hgrecco commented Feb 13, 2024

Thanks for the PR. I will update Pint. I might be putting this (and other vendored packages) as a dependencies as vendoring complicates things for the maintainers of linux distros.

By the way, just as a curiosity, how did you spot this. I have not seen this problem in any platform.

@MattTheCuber
Copy link
Contributor Author

We use a FIPS enabled RHEL 8 machine

@hgrecco hgrecco merged commit b572590 into hgrecco:main Feb 13, 2024
6 checks passed
@MattTheCuber
Copy link
Contributor Author

@hgrecco

Any estimate on when this will be updated in Pint?

Also, a note: this fix only works on Python 3.9+. I have another solution if you require support for earlier versions of Python.

@MattTheCuber
Copy link
Contributor Author

@hgrecco sorry to ping again ^

@hgrecco
Copy link
Owner

hgrecco commented Jun 6, 2024

done in 0.3.1 (let me know if it works for you)

@MattTheCuber
Copy link
Contributor Author

Great. I manually tested and it worked for me. However, I can't test this until it's released in Pint here.

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.

None yet

3 participants