Package: python3-tlslite-ng
Version: 0.6.0-1
Severity: important

Dear Maintainer,

i was trying to use python3-tlslite-ng to parse some X.509 certificates (which
didn't work out anyhow, but that's a different story).

so i did `aptitude install python3-tlslite-ng` and fired up a python-session:

~~~
$ python3
Python 3.5.3 (default, Jan 19 2017, 14:11:04) 
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl, socket
>>> from tlslite import X509
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/tlslite/__init__.py", line 27, in 
<module>
    from tlslite.api import *
  File "/usr/lib/python3/dist-packages/tlslite/api.py", line 7, in <module>
    from .checker import Checker
  File "/usr/lib/python3/dist-packages/tlslite/checker.py", line 6, in <module>
    from .x509 import X509
  File "/usr/lib/python3/dist-packages/tlslite/x509.py", line 9, in <module>
    from .utils.asn1parser import ASN1Parser
  File "/usr/lib/python3/dist-packages/tlslite/utils/asn1parser.py", line 7, in 
<module>
    from .compat import *
  File "/usr/lib/python3/dist-packages/tlslite/utils/compat.py", line 11, in 
<module>
    import ecdsa
ImportError: No module named 'ecdsa'
~~~

after installing the `python3-ecdsa` package, that error goes away:

~~~
$ python3
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl, socket
>>> from tlslite import X509
>>>
~~~

i would therefore ask you to *Recommend* the python*-ecdsa package from the
python*-tlslite-ng package. (at least, if the package can be used without
X509; else go for *Depends*)

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages python3-tlslite-ng depends on:
pn  python3:any  <none>

Versions of packages python3-tlslite-ng recommends:
ii  python3-crypto  2.6.1-7

python3-tlslite-ng suggests no packages.

-- no debconf information

Reply via email to