Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
pycryptodomex attempts to utilize MD5 on FIPS enabled machines, throws errors #64
Using pycryptodomex on FIPS enabled Redhat 6 & 7 systems is throwing ValueError or other UnboundedLocallError due to the use of MD5 which is now disabled on FIPS enabled systems.
The problem is use of the pattern:
But on FIPS enabled systems MD5 is disabled.
Note this pattern is used in other Python files too, as shown in the comments of the salt-pack issue.
Note the UnboundedLocalError in yacc.py due to MD5 instantiation failing generated by use of :
results in MD5 instantiation failing