-
Notifications
You must be signed in to change notification settings - Fork 316
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
0.17.0: pytest is failing #285
Comments
That seems like a misconfigured environment. The list of tested algorithms is taken from
And that list is imported from hashlib :python-ecdsa/src/ecdsa/test_malformed_sigs.py Lines 5 to 15 in 3b49fbe
the fallback doesn't include whirlpool ...
So it's the |
Also, can't reproduce it on a clean Fedora 35 machine:
|
This comment was marked as abuse.
This comment was marked as abuse.
The compilation date is different... are you sure that you are using the distribution provided python? |
This comment was marked as abuse.
This comment was marked as abuse.
The issue is that algorithms like ripemd160 and whirlpool have been relegated to legacy provider in OpenSSL. That means that unless the legacy provider is explicitly loaded, they're not available. But Python should detect that and not list them as available. I know that there have been quite a few changes around OpenSSL 3.0.0 compatibility: python/cpython#30455 so it's likely that not everything was backported to 3.8 branch. In general, the upstream Python bug is still open: https://bugs.python.org/issue40479 |
This is the python3 bug: python/cpython#91257 It has a few PRs listed in the comments, for different branches. |
For now I've filtered the problematic hashes in 82da89c, but we'll want to re-enable them in the future, when python fixes its bug. |
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulesHere is pytest output:
The text was updated successfully, but these errors were encountered: