[Bug 1618765] Re: TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size
James Page
james.page at ubuntu.com
Wed Aug 31 09:32:57 UTC 2016
** Bug watch added: Debian Bug tracker #836179
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836179
** Also affects: pyopenssl (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836179
Importance: Unknown
Status: Unknown
** Changed in: pyopenssl (Ubuntu)
Status: New => In Progress
** Changed in: pyopenssl (Ubuntu)
Assignee: (unassigned) => James Page (james-page)
** Changed in: python-cryptography (Ubuntu)
Status: New => Invalid
** Changed in: pyopenssl (Ubuntu)
Importance: Undecided => Critical
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-cryptography in Ubuntu.
https://bugs.launchpad.net/bugs/1618765
Title:
TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size
Status in pyopenssl package in Ubuntu:
In Progress
Status in python-cryptography package in Ubuntu:
Invalid
Status in pyopenssl package in Debian:
Unknown
Bug description:
The new 1.5 update of python-cryptography in yakkety-proposed is
causing some test failures in various OpenStack packages that use
crypto - example:
==============================
Failed 1 tests - output below:
==============================
glance.tests.unit.common.test_utils.TestUtils.test_validate_key_cert_key
------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "glance/tests/unit/common/test_utils.py", line 276, in test_validate_key_cert_key
utils.validate_key_cert(keyfile, certfile)
File "glance/common/utils.py", line 433, in validate_key_cert
out = crypto.sign(key, data, digest)
File "/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 2563, in sign
md_ctx = _ffi.new("EVP_MD_CTX*")
TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size
Tests passed fine with 1.4.x.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyopenssl/+bug/1618765/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list