Skip to content

[3.9] bpo-9216: hashlib usedforsecurity fixes (GH-20258)#20320

Merged
miss-islington merged 1 commit intopython:3.9from
miss-islington:backport-909b571-3.9
May 22, 2020
Merged

[3.9] bpo-9216: hashlib usedforsecurity fixes (GH-20258)#20320
miss-islington merged 1 commit intopython:3.9from
miss-islington:backport-909b571-3.9

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 22, 2020

func:hashlib.new passed usedforsecurity to OpenSSL EVP constructor
_hashlib.new(). test_hashlib and test_smtplib handle strict security
policy better.

Signed-off-by: Christian Heimes christian@python.org

Automerge-Triggered-By: @tiran
(cherry picked from commit 909b571)

Co-authored-by: Christian Heimes christian@python.org

https://bugs.python.org/issue9216

Automerge-Triggered-By: @tiran

func:`hashlib.new` passed ``usedforsecurity`` to OpenSSL EVP constructor
``_hashlib.new()``. test_hashlib and test_smtplib handle strict security
policy better.

Signed-off-by: Christian Heimes <christian@python.org>

Automerge-Triggered-By: @tiran
(cherry picked from commit 909b571)

Co-authored-by: Christian Heimes <christian@python.org>
@miss-islington
Copy link
Contributor Author

@tiran: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit a08b7c3 into python:3.9 May 22, 2020
@miss-islington miss-islington deleted the backport-909b571-3.9 branch May 22, 2020 18:22
@miss-islington
Copy link
Contributor Author

@tiran: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@tiran: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants