How to contribute on github anonymously via Tor?

2020-02-07 16:32发布

I would like to contribute anonymously to projects on github. Not to cause mischief, more in the spirit of anonymous donations.

The tool of choice for being anonymous online seems to be TOR, which works well for almost anything you can do in a browser. However, to contribute on github, it appears necessary to use the command line interface, or the Mac app.

How can I channel my git operations in this setup through Tor? And how can I verify that this is actually what is happening?

Edit: please note the difference between pseudonymous (with a fake e-mail address) and anonymous (with an IP address that cannot be associated with an identity). Pseudonymous access to github is trivial; however, I am looking for anonymous access.

10条回答
三岁会撩人
2楼-- · 2020-02-07 17:19

You could commit locally on a clone of the project, and then use git format-patch to send the commits via e-mail.

查看更多
相关推荐>>
3楼-- · 2020-02-07 17:20

Configure git proxy server Getting git to work with a proxy server

or if this doesn't work with the TOR network, then simply run your git command in a virtual machine where the host machine is using the TOR network to connect to the outside world

I assume this will obfuscate the origin of your commit, but the anonymous email part may still be difficult.

Anonymous email providers come and go, but as of 2015 Lelantos is currently a TOR hidden service that offers clearnet email addresses. Payable in Bitcoin but you can anonymize all bitcoin transactions using http://www.xmr.to which lets you pay bitcoin receipts using the more private Monero network.

Why not simply do a pseudonymous email that you also create while in TOR, never access it from outside of TOR, and use that for github compliance

查看更多
趁早两清
4楼-- · 2020-02-07 17:20

Before Tor there were cyber-cafes and wi-fi hotspots. Just because there's an IP associated with your commits doesn't mean it has to be yours.

查看更多
女痞
5楼-- · 2020-02-07 17:28

Another simple solution:

$ git remote add tor https://github.com/yourUser/yourProject
$ torsocks git pull tor
$ torsocks git push tor

You obviously need to remember to put tor postfix in your git commands, or maybe you can configure aliases:

$ alias gpushtor="torsocks git push tor"
$ alias gpulltor="torsocks git pull tor"

(Note: it will only work with https:// remotes)

查看更多
登录 后发表回答