control: reassign -1 python-cryptography the crash in in cryptography, so reassigning accordingly
On Wed, Feb 3, 2016 at 2:54 PM, Daniel Monteiro Basso <dan...@basso.inf.br> wrote: > Package: python-openssl > Version: 0.15.1-2 > Severity: grave > Justification: renders package unusable > > Dear Maintainer, > > * What led up to the situation? > > Just dist-upgrade'd my system. After that, anything that depends on pyopenssl > stopped working, including pip. > > In [1]: import cryptography > > In [2]: cryptography.__version__ > Out[2]: '1.2.1' > > In [3]: import OpenSSL > --------------------------------------------------------------------------- > AttributeError Traceback (most recent call last) > <ipython-input-3-df1d0c814255> in <module>() > ----> 1 import OpenSSL > > /usr/lib/python2.7/dist-packages/OpenSSL/__init__.py in <module>() > 6 """ > 7 > ----> 8 from OpenSSL import rand, crypto, SSL > 9 from OpenSSL.version import __version__ > 10 > > /usr/lib/python2.7/dist-packages/OpenSSL/rand.py in <module>() > 9 from six import integer_types as _integer_types > 10 > ---> 11 from OpenSSL._util import ( > 12 ffi as _ffi, > 13 lib as _lib, > > /usr/lib/python2.7/dist-packages/OpenSSL/_util.py in <module>() > 4 from six import PY3, binary_type, text_type > 5 > ----> 6 from cryptography.hazmat.bindings.openssl.binding import Binding > 7 binding = Binding() > 8 ffi = binding.ffi > > /usr/lib/python2.7/dist- > packages/cryptography/hazmat/bindings/openssl/binding.py in <module>() > 66 @ffi_callback("int (*)(unsigned char *, int)", > 67 name="Cryptography_rand_bytes", > ---> 68 error=-1) > 69 def _osrandom_rand_bytes(buf, size): > 70 signed = ffi.cast("char *", buf) > > /usr/lib/python2.7/dist- > packages/cryptography/hazmat/bindings/openssl/binding.py in wrapper(func) > 55 # def_extern() returns a decorator that sets the internal > 56 # function pointer and returns the original function > unmodified. > ---> 57 ffi.def_extern(name=name, **kwargs)(func) > 58 callback = getattr(lib, name) > 59 else: > > AttributeError: 'CompiledFFI' object has no attribute 'def_extern' > > > > -- System Information: > Debian Release: stretch/sid > APT prefers testing-updates > APT policy: (500, 'testing-updates'), (500, 'testing') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores) > Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages python-openssl depends on: > ii python-cryptography 1.2.1-1 > ii python-six 1.10.0-1 > pn python:any <none> > > python-openssl recommends no packages. > > Versions of packages python-openssl suggests: > pn python-openssl-dbg <none> > pn python-openssl-doc <none> > > -- no debconf information -- Sandro "morph" Tosi My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi G+: https://plus.google.com/u/0/+SandroTosi