Skip to content

Conversation

@stratakis
Copy link
Contributor

@stratakis stratakis commented Feb 5, 2018

Add a usedforsecurity keyword argument to the various
digest algorithms in hashlib, which whitelists digest algorithms
that while forbidden in a FIPS environment, are not utilized
for security.

Based on Dave Malcolm's patch from https://bugs.python.org/issue9216.

https://bugs.python.org/issue9216

Add a usedforsecurity keyword argument to the various
digest algorithms in hashlib, which whitelists digest algorithms
that while forbidden in a FIPS environment, are not utilized
for security.
@stratakis
Copy link
Contributor Author

After a discussion with @tiran we decided to not move forward with that, as allowing applications to workaround the usage of unsafe algorithms within a FIPS environment, is a potential violation of the FIPS standard. Hence closing this.

@stratakis stratakis closed this Jul 14, 2019
@stratakis stratakis deleted the usedforsecurity branch July 14, 2019 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants