|
|
= Git =
|
|
|
|
|
|
'''Written:''' 2018-11-23 (by mathew)
|
|
|
|
|
|
== Debian/Ubuntu/... ==
|
|
|
|
|
|
You don't want prying CDN networks and surveillers on you, do you? Then git clone/pull for programs you want to study the sources of need to be run under tor.
|
|
|
|
|
|
First make a script:
|
|
|
|
|
|
{{{
|
|
|
/usr/bin/t_git
|
|
|
}}}
|
|
|
with this content:
|
|
|
|
|
|
{{{
|
|
|
#!/bin/sh
|
|
|
|
|
|
/usr/bin/torsocks /usr/bin/git $@
|
|
|
}}}
|
|
|
|
|
|
**chmod** it:
|
|
|
|
|
|
{{{
|
|
|
chmod 755 /usr/bin/t_git
|
|
|
}}}
|
|
|
|
|
|
It's more complicated here, then with [https://trac.torproject.org/projects/tor/wiki/doc/SupportPrograms#Lynx Lynx] or [https://trac.torproject.org/projects/tor/wiki/doc/SupportPrograms/Clamav Clamav].
|
|
|
|
|
|
Because you have to manually check that you don't leak you user id, or your PGP key when you run git under tor. Say in your .gitconfig and such... Maybe some other contributor can give more advice on this? |