Skip to content

bpo-37630: Do not skip the sha3 tests in case of missing builtin sha3 module #20986

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2021

Conversation

stratakis
Copy link
Contributor

@stratakis stratakis commented Jun 19, 2020

Since we can use now the sha3 and shake algorithms from OpenSSL, we shouldn't
skip the tests in case the builtin algorithm was not compiled or removed.

https://bugs.python.org/issue37630

Automerge-Triggered-By: GH:tiran

… module

Since we can use now the sha3 and shake algorithms from OpenSSL, we shouldn't
skip the tests in case the builtin algorithm was not compiled or removed.
@stratakis
Copy link
Contributor Author

This is a tests only change, so no news entry is added.

@stratakis
Copy link
Contributor Author

Already tested on the RHEL 8 FIPS buildbot and by using the --without-builtin-hashlib-hashes configure option. The tests are not skipped anymore.

Copy link
Member

@tiran tiran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Python 3.10 now requires OpenSSL 1.1.1 which comes with sha3.

@miss-islington miss-islington merged commit 6857198 into python:master Apr 17, 2021
@stratakis stratakis deleted the do_not_skip_sha3_tests branch April 19, 2021 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants