Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1715243
Summary: | m2crypto fails to build with OpenSSL in F31/Rawhide | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | m2crypto | Assignee: | Neal Gompa <ngompa13> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | gholms, mcepl, mitr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | m2crypto-0.35.2-1.fc30 m2crypto-0.35.2-1.fc29 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-26 04:07:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1700317, 1686977, 1732841 |
Description
Miro Hrončok
2019-05-29 22:37:09 UTC
This failure occurs even with Python 3.7. It's pretty much something has broken between OpenSSL and M2Crypto again... This failure occurs with 0.33.0 on Rawhide too: https://koji.fedoraproject.org/koji/taskinfo?taskID=35136689 What you want is M2Crypto 0.35.1 (or higher). (In reply to Matěj Cepl from comment #3) > What you want is M2Crypto 0.35.1 (or higher). Frustratingly, 0.35.1 doesn't work either... When I build locally on Rawhide now, I get the following error: ====================================================================== ERROR: test_public_encrypt (tests.test_rsa.RSATestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.35.1/tests/test_rsa.py", line 134, in test_public_encrypt priv.public_encrypt(self.data, RSA.no_padding) File "/builddir/build/BUILD/M2Crypto-0.35.1/M2Crypto/RSA.py", line 67, in public_encrypt return m2.rsa_public_encrypt(self.rsa, data, padding) RSAError: data too small for key size ---------------------------------------------------------------------- Ran 297 tests in 71.041s FAILED (errors=1, skipped=1) Test failed: <unittest.runner.TextTestResult run=297 errors=1 failures=0> Matěj, any idea what's going on here? Yes, Sebastian Andrzej Siewior from Debian (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929903) discovered another problem and it has been fixed in yet unreleased commit https://gitlab.com/m2crypto/m2crypto/commit/3ee65bd56e92f8f3c465947b6752d92d5986dc81. FEDORA-2019-79f7935107 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-79f7935107 m2crypto-0.35.2-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. m2crypto-0.35.2-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |