Your message dated Thu, 15 Dec 2022 12:27:11 -0500
with message-id 
<CAB4XWXz2cSSGHjRmo6qcAyE-wxVODYaXjr=wszxsaky64vv...@mail.gmail.com>
and subject line Re: python-openssl: _ASN1_TYPE_TO_ENUM TypeError: 'type' 
object is not iterable
has caused the Debian Bug report #920374,
regarding python-openssl: _ASN1_TYPE_TO_ENUM TypeError: 'type' object is not 
iterable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
920374: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920374
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-openssl
Version: 18.0.0-1
Severity: important

Dear Maintainer,

importing the ssl module with:

Python 2.7.15+ (default, Nov 28 2018, 16:27:22) 
[GCC 8.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenSSL import crypto, SSL
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in 
<module>
    from OpenSSL import crypto, SSL
  File "/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 12, in 
<module>
    from cryptography import x509
  File "/usr/lib/python2.7/dist-packages/cryptography/x509/__init__.py", line 
8, in <module>
    from cryptography.x509.base import (
  File "/usr/lib/python2.7/dist-packages/cryptography/x509/base.py", line 16, 
in <module>
    from cryptography.x509.extensions import Extension, ExtensionType
  File "/usr/lib/python2.7/dist-packages/cryptography/x509/extensions.py", line 
24, in <module>
    from cryptography.x509.general_name import GeneralName, IPAddress, OtherName
  File "/usr/lib/python2.7/dist-packages/cryptography/x509/general_name.py", 
line 18, in <module>
    from cryptography.x509.name import Name
  File "/usr/lib/python2.7/dist-packages/cryptography/x509/name.py", line 28, 
in <module>
    _ASN1_TYPE_TO_ENUM = dict((i.value, i) for i in _ASN1Type)
TypeError: 'type' object is not iterable
>>>

python enum is the last one:
python-enum34     backport of Python 3.4's enum package       1.1.6-2        
1.1.6-2



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.utf8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-openssl depends on:
ii  python               2.7.15-3
ii  python-cryptography  2.3-1
ii  python-six           1.12.0-1

python-openssl recommends no packages.

Versions of packages python-openssl suggests:
pn  python-openssl-dbg  <none>
pn  python-openssl-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
> Python 2.7.15+ (default, Nov 28 2018, 16:27:22)
> [GCC 8.2.0] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from OpenSSL import crypto, SSL
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in 
> <module>
>     from OpenSSL import crypto, SSL
>   File "/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 12, in 
> <module>
>     from cryptography import x509
>   File "/usr/lib/python2.7/dist-packages/cryptography/x509/__init__.py", line 
> 8, in <module>
>     from cryptography.x509.base import (
>   File "/usr/lib/python2.7/dist-packages/cryptography/x509/base.py", line 16, 
> in <module>
>     from cryptography.x509.extensions import Extension, ExtensionType
>   File "/usr/lib/python2.7/dist-packages/cryptography/x509/extensions.py", 
> line 24, in <module>
>     from cryptography.x509.general_name import GeneralName, IPAddress, 
> OtherName
>   File "/usr/lib/python2.7/dist-packages/cryptography/x509/general_name.py", 
> line 18, in <module>
>     from cryptography.x509.name import Name
>   File "/usr/lib/python2.7/dist-packages/cryptography/x509/name.py", line 28, 
> in <module>
>     _ASN1_TYPE_TO_ENUM = dict((i.value, i) for i in _ASN1Type)
> TypeError: 'type' object is not iterable
> >>>

the python2 package for cryptography has been dropped long ago, closing

--- End Message ---

Reply via email to