Closed PabloAlexis611 closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 77.23%. Comparing base (
26635ef
) to head (ce17498
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks @PabloAlexis611!
This is a small, backwards compatible change that allows the use of
rinohtype
in FIPS-enabled environments that raise errors when using the MD5 hashlib function. Since the purpose of using MD5 in this context is not security-related, this change is acceptable. Theusedforsecurity
parameter was added starting in Python 3.9+ for themd5
function of thehashlib
library.An error like the following is otherwise thrown:
An alternative could also be to call the SHA256 hashing function instead, but making this change keeps the current behavior of the
rinohtype
package.