[tor-bugs] #23598 [Obfuscation/BridgeDB]: Bump pyOpenSSL in BridgeDB to 16.2.0

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 20 09:33:49 UTC 2017


#23598: Bump pyOpenSSL in BridgeDB to 16.2.0
----------------------------------+----------------------
 Reporter:  gk                    |          Owner:  isis
     Type:  defect                |         Status:  new
 Priority:  Medium                |      Milestone:
Component:  Obfuscation/BridgeDB  |        Version:
 Severity:  Normal                |     Resolution:
 Keywords:                        |  Actual Points:
Parent ID:                        |         Points:
 Reviewer:                        |        Sponsor:
----------------------------------+----------------------
Description changed by gk:

Old description:

> When doing (with OpenSSL 1.1.0f) one gets
> {{{
> Traceback (most recent call last):
>   File "/home/thomas/.virtualenvs/bridgedb/bin/pip", line 7, in <module>
>     from pip import main
>   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
> packages/pip/__init__.py", line 21, in <module>
>     from pip._vendor.requests.packages.urllib3.exceptions import
> DependencyWarning
>   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
> packages/pip/_vendor/__init__.py", line 64, in <module>
>     vendored("cachecontrol")
>   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
> packages/pip/_vendor/__init__.py", line 36, in vendored
>     __import__(modulename, globals(), locals(), level=0)
>   File "/home/thomas/.virtualenvs/bridgedb/share/python-
> wheels/CacheControl-0.11.7-py2.py3-none-
> any.whl/cachecontrol/__init__.py", line 9, in <module>
>   File "/home/thomas/.virtualenvs/bridgedb/share/python-
> wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/wrapper.py",
> line 1, in <module>
>   File "/home/thomas/.virtualenvs/bridgedb/share/python-
> wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py",
> line 4, in <module>
>   File "/home/thomas/.virtualenvs/bridgedb/share/python-
> wheels/requests-2.12.4-py2.py3-none-any.whl/requests/__init__.py", line
> 52, in <module>
>   File "/home/thomas/.virtualenvs/bridgedb/share/python-
> wheels/requests-2.12.4-py2.py3-none-
> any.whl/requests/packages/__init__.py", line 59, in <module>
>   File "/home/thomas/.virtualenvs/bridgedb/share/python-
> wheels/requests-2.12.4-py2.py3-none-
> any.whl/requests/packages/__init__.py", line 32, in vendored
>   File "/home/thomas/.virtualenvs/bridgedb/share/python-
> wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/contrib/pyopenssl.py",
> line 47, in <module>
>   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
> packages/OpenSSL/__init__.py", line 8, in <module>
>     from OpenSSL import rand, crypto, SSL
>   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
> packages/OpenSSL/SSL.py", line 105, in <module>
>     SSL_ST_INIT = _lib.SSL_ST_INIT
> AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
> }}}
> This is essentially https://github.com/pyca/pyopenssl/issues/525.

New description:

 When doing e.g. `pip install -r .test.requirements.txt` (with OpenSSL
 1.1.0f) one gets
 {{{
 Traceback (most recent call last):
   File "/home/thomas/.virtualenvs/bridgedb/bin/pip", line 7, in <module>
     from pip import main
   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
 packages/pip/__init__.py", line 21, in <module>
     from pip._vendor.requests.packages.urllib3.exceptions import
 DependencyWarning
   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
 packages/pip/_vendor/__init__.py", line 64, in <module>
     vendored("cachecontrol")
   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
 packages/pip/_vendor/__init__.py", line 36, in vendored
     __import__(modulename, globals(), locals(), level=0)
   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/__init__.py",
 line 9, in <module>
   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/wrapper.py",
 line 1, in <module>
   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py",
 line 4, in <module>
   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/requests-2.12.4-py2.py3-none-any.whl/requests/__init__.py", line
 52, in <module>
   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/requests-2.12.4-py2.py3-none-
 any.whl/requests/packages/__init__.py", line 59, in <module>
   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/requests-2.12.4-py2.py3-none-
 any.whl/requests/packages/__init__.py", line 32, in vendored
   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/contrib/pyopenssl.py",
 line 47, in <module>
   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
 packages/OpenSSL/__init__.py", line 8, in <module>
     from OpenSSL import rand, crypto, SSL
   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
 packages/OpenSSL/SSL.py", line 105, in <module>
     SSL_ST_INIT = _lib.SSL_ST_INIT
 AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
 }}}
 This is essentially https://github.com/pyca/pyopenssl/issues/525.

--

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23598#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list