Bug 1146724 - package python-cryptography
Summary: package python-cryptography
Keywords:
Status: CLOSED DUPLICATE of bug 1114267
Alias: None
Product: Fedora
Classification: Fedora
Component: pyOpenSSL
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1146271
TreeView+ depends on / blocked
 
Reported: 2014-09-25 22:22 UTC by Matěj Cepl
Modified: 2018-04-11 17:27 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-26 13:57:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pyca cryptography issues 1352 0 None None None Never

Description Matěj Cepl 2014-09-25 22:22:24 UTC
Description of problem:
It is a dependency of new pyOpenSSL

Some effort is recorded at http://luther.ceplovi.cz/git/python-cryptography-pkg.git

Comment 1 Eric Smith 2014-09-26 02:46:21 UTC
While python-crytography depends on python-cffi, the failures in your build log don't make it obvious to me that the problem is in cffi. I'm not necessarily saying it isn't there, but it seems like there are various places it might be. I'm using python-cffi in python-cairocffi, and haven't observed any issues, though that doesn't prove that there's not a bug in python-cffi.

In the assertion that's failing:
    assert 2164263935L == 2147486719
the hexadecimal values are 0x81000bff and 0x80000bff.  Clearly there's a discrepancy, but it's not something as simple as byte ordering or a missing byte.

I'm not sure how I can help with debugging this.  Perhaps the python-cryptography upstream developers might some ideas.

Comment 2 Matěj Cepl 2014-09-26 11:36:18 UTC
I will try to ask upstream. And this should probably be added to the pyOpenSSL before I make a package review.

Comment 3 Matěj Cepl 2014-09-26 12:35:47 UTC
Adding an upstream bug.

Comment 4 Tomas Mraz 2014-09-26 12:55:32 UTC
The test needs patching, this is no problem of python-cffi. In general, there might be some SSL_CTX_OPTIONS pre-set as default so you cannot expect the output options to be the same as the options that are parameter of the call.

Comment 5 Paul Kehrer 2014-09-26 13:42:02 UTC
Yes, this is definitely pyca/cryptography's bug. We're tracking it on the GitHub issue and will have the test fixed shortly. Thanks for the report!

Comment 6 Matěj Cepl 2014-09-26 13:57:43 UTC

*** This bug has been marked as a duplicate of bug 1114267 ***


Note You need to log in before you can comment on or make changes to this bug.