Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-9216: Add usedforsecurity to hashlib constructors#16044

Merged
gpshead merged 5 commits into
python:masterpython/cpython:masterfrom
tiran:bpo-9216-usedforsecuritytiran/cpython:bpo-9216-usedforsecurityCopy head branch name to clipboard
Sep 13, 2019
Merged

bpo-9216: Add usedforsecurity to hashlib constructors#16044
gpshead merged 5 commits into
python:masterpython/cpython:masterfrom
tiran:bpo-9216-usedforsecuritytiran/cpython:bpo-9216-usedforsecurityCopy head branch name to clipboard

Conversation

@tiran

@tiran tiran commented Sep 12, 2019

Copy link
Copy Markdown
Member

@gpshead

gpshead commented Sep 12, 2019

Copy link
Copy Markdown
Member

The hashlib.rst documentation needs to be updated.

@gpshead gpshead self-assigned this Sep 12, 2019
@tiran

tiran commented Sep 12, 2019

Copy link
Copy Markdown
Member Author

I need to update documentation, PEP, and tests.

Signed-off-by: Christian Heimes <christian@python.org>
Signed-off-by: Christian Heimes <christian@python.org>
@tiran tiran force-pushed the bpo-9216-usedforsecurity branch from 8d6ee6c to 45cf5a1 Compare September 12, 2019 20:42
Signed-off-by: Christian Heimes <christian@python.org>
Signed-off-by: Christian Heimes <christian@python.org>
Signed-off-by: Christian Heimes <christian@python.org>
@tiran tiran force-pushed the bpo-9216-usedforsecurity branch from e65b5cc to 82448cd Compare September 12, 2019 21:38
@gpshead gpshead added the sprint label Sep 13, 2019
@gpshead gpshead merged commit 7cad53e into python:master Sep 13, 2019
stratakis pushed a commit to stratakis/cpython that referenced this pull request Jan 2, 2020
The usedforsecurity keyword only argument added to the hash constructors is useful for FIPS builds and similar restrictive environment with non-technical requirements that legacy algorithms be forbidden by their implementations without being explicitly annotated as not being used for any security related purposes.  Linux distros with FIPS support benefit from this being standard rather than making up their own way(s) to do it.

Contributed and Signed-off-by: Christian Heimes christian@python.org
stratakis pushed a commit to stratakis/cpython that referenced this pull request Oct 5, 2020
The usedforsecurity keyword only argument added to the hash constructors is useful for FIPS builds and similar restrictive environment with non-technical requirements that legacy algorithms be forbidden by their implementations without being explicitly annotated as not being used for any security related purposes.  Linux distros with FIPS support benefit from this being standard rather than making up their own way(s) to do it.

Contributed and Signed-off-by: Christian Heimes christian@python.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sprint type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.