[Tails-dev] Pip is not torified by default

Poista viesti

Vastaa
Lähettäjä: Patrick
Päiväys:  
Vastaanottaja: tails-dev
Aihe: [Tails-dev] Pip is not torified by default
Pip requires torsocks to even work when it comes installing things
through pip.
Despite other binaries being set to use torsocks --isolate or set in
their own config, pip is not set to use tor by default in tails.
New users might not know that torsocks is required to launch many
applications so they may get confused.
pip install <example> hangs up (errors out) due to it unable to reach
and even fetch things from pypi.org.

Setting a global config for pip to use tor as a proxy would fix this and
force pip to use tor.


Creating a config file for pip to use globally:

/etc/pip.conf or /etc/xdg/pip/pip.conf with this line:

[global]
proxy = socks5h:127.0.0.1:9050

The only issue I can see with this is no stream isolation for pip.