Bug 1439366

Summary: Update to m2crypto 0.26.0
Product: [Fedora] Fedora Reporter: Ralph Bean <rbean>
Component: m2cryptoAssignee: Miloslav Trmač <mitr>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: gholms, mcepl, mcepl, mitr
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: m2crypto-0.26.2-1.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-21 23:16:01 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:

Description Ralph Bean 2017-04-05 19:54:25 UTC
It seems to fix a bug we encountered in fedmsg:

https://github.com/fedora-infra/fedmsg/pull/389

Comment 1 Miloslav Trmač 2017-04-06 17:50:45 UTC
Looking at 0.26 setup.py, m2crypto 0.26.0 seems to simply refuses to build with any OpenSSL > 1.0.1.

Matěj, should I just take the openssl-1.1.0 branch and carry it in the RPM? Do you think it is ready enough?

Comment 2 Matěj Cepl 2017-04-06 18:14:16 UTC
(In reply to Miloslav Trmač from comment #1)
> Looking at 0.26 setup.py, m2crypto 0.26.0 seems to simply refuses to build
> with any OpenSSL > 1.0.1.
> 
> Matěj, should I just take the openssl-1.1.0 branch and carry it in the RPM?
> Do you think it is ready enough?

No, it is not, I don’t think you can merge it at all. OK, I take as a TODO task to move that branch to the highest priority.

Comment 3 Matěj Cepl 2017-04-06 18:46:03 UTC
(In reply to Miloslav Trmač from comment #1)
> Looking at 0.26 setup.py, m2crypto 0.26.0 seems to simply refuses to build
> with any OpenSSL > 1.0.1.
> 
> Matěj, should I just take the openssl-1.1.0 branch and carry it in the RPM?
> Do you think it is ready enough?

See https://gitlab.com/m2crypto/m2crypto/merge_requests/98#note_26993076 and disastrous results of https://gitlab.com/mcepl/m2crypto/pipelines/7490115

Comment 4 Jan Kurik 2017-08-15 09:24:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 5 Matěj Cepl 2017-09-20 21:16:26 UTC
M2Crypto 0.26.2 was released today which adds port to OpenSSL 1.1.0 (while still maintaining compatibility all the way down to RHEL-6).

Available at normal places (https://pypi.python.org/pypi/M2Crypto/).

Comment 6 Miloslav Trmač 2017-09-21 23:16:01 UTC
m2crypto-0.26.2-1.fc28 built in rawhide (only). Thanks, Matěj!