Bug 1442554 - Regression in get_signature_algorithm()
Summary: Regression in get_signature_algorithm()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pyOpenSSL
Version: 24
Hardware: Unspecified
OS: Unspecified
medium
urgent
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-15 12:58 UTC by Alicja Kario
Modified: 2018-04-11 09:04 UTC (History)
4 users (show)

Fixed In Version: pyOpenSSL-16.2.0-1.fc24 pyOpenSSL-16.2.0-1.fc25
Clone Of:
Environment:
Last Closed: 2017-04-22 08:20:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Alicja Kario 2017-04-15 12:58:12 UTC
Description of problem:
Calling get_signature_algorithm() fails with an AttributeError

Version-Release number of selected component (if applicable):
pyOpenSSL-16.0.0-1.fc24.noarch

How reproducible:
Always

Steps to Reproduce:
1. Load X509 certificate
2. call get_signature_algorithm() on the object

Actual results:
Traceback (most recent call last):
  File "test.py", line 10, in <module>
    cert.get_signature_algorithm()
  File "/usr/lib/python2.7/site-packages/OpenSSL/crypto.py", line 1084, in get_signature_algorithm
    alg = self._x509.cert_info.signature.algorithm
AttributeError: '_cffi_backend.CDataGCP' object has no attribute 'cert_info'

Expected results:
Certificate signature algorithm returned

Additional info:
Fixed upstream in https://github.com/pyca/pyopenssl/pull/476 in release 16.1.0

Comment 1 Fedora Update System 2017-04-20 07:27:54 UTC
pyOpenSSL-16.2.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-1e88f6d54e

Comment 2 Fedora Update System 2017-04-20 07:28:04 UTC
pyOpenSSL-16.2.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8b5ff2ceb5

Comment 3 Fedora Update System 2017-04-20 18:22:28 UTC
pyOpenSSL-16.2.0-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8b5ff2ceb5

Comment 4 Fedora Update System 2017-04-20 18:26:00 UTC
pyOpenSSL-16.2.0-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-1e88f6d54e

Comment 5 Fedora Update System 2017-04-22 08:20:07 UTC
pyOpenSSL-16.2.0-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2017-04-25 02:24:31 UTC
pyOpenSSL-16.2.0-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


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