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
pycryptodome-3.15.0 fails test test_negate (Crypto.SelfTest.PublicKey.test_ECC_25519.TestEccPoint_Ed25519) #653
Comments
I saw this on NixOS master as well after compiling everything with |
Oh,
non-root:
I observe:
|
I encountered the same with march skylake. |
I can confirm I can reproduce it with the combination described by @ivan. It looks like a compiler bug because the issue disappears if I mark |
The patch fixes my problem. |
Fixed in v3.17 |
Originally reported in Gentoo Linux Bugzilla: https://bugs.gentoo.org/861206
======================================================================
FAIL: test_negate (Crypto.SelfTest.PublicKey.test_ECC_25519.TestEccPoint_Ed25519)
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/pycryptodome-3.15.0/work/pycryptodome-3.15.0-python3_10/install/usr/lib/python3.10/site-packages/Crypto/SelfTest/PublicKey/test_ECC_25519.py", line 114, in test_negate
self.failUnless(sum.is_point_at_infinity())
AssertionError: False is not true
Ran 7213 tests in 28.050s
FAILED (failures=1)
Traceback (most recent call last):
File "", line 3, in
File "/var/tmp/portage/dev-python/pycryptodome-3.15.0/work/pycryptodome-3.15.0-python3_10/install/usr/lib/python3.10/site-packages/Crypto/SelfTest/init.py", line 77, in run
raise SelfTestError("Self-test failed", result)
Crypto.SelfTest.SelfTestError: ('Self-test failed', <unittest.runner.TextTestResult run=7213 errors=0 failures=1>)
The text was updated successfully, but these errors were encountered: