You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For systems which are FIPS-compliant there is a very aggravating constraint that hashlib.md5 calls need the optional argument usedforsecurity=False added, or the code won't work.
Enable FIPS (e.g., run fips-mode-setup and set up policies) and install with pip
Expected behavior :
N/A
Additional context :
The usedforsecurity=False argument must be added to hashlib.md5. I've done this and built locally and it works. A patch is attached. (As an aside, the upstream dependancies numpy and pysam also have this problem)
Yes, that is particularly aggravating because those three calls are never reached by users and is only as part of the functional tests infrastructure. Regardless, the changes have been made. Hope it helps!
It may be a bit before I cut a new release. In the meantime you can building directly from develop (details) or use pip install git+https://github.com/acenglish/truvari@a8dbd3066f7572e9b7487c470485de34930eee12
Version :
Truvari v4.2.3-dev
Describe the bug :
For systems which are FIPS-compliant there is a very aggravating constraint that
hashlib.md5
calls need the optional argumentusedforsecurity=False
added, or the code won't work.See below
To Reproduce :
Enable FIPS (e.g., run
fips-mode-setup
and set up policies) and install with pipExpected behavior :
N/A
Additional context :
The
usedforsecurity=False
argument must be added tohashlib.md5
. I've done this and built locally and it works. A patch is attached. (As an aside, the upstream dependanciesnumpy
andpysam
also have this problem)fips.patch
The text was updated successfully, but these errors were encountered: