2

GitHub works well with Tor except for the signup step (https://github.com/join).

GitHub employs a broken CAPTCHA that prevents signups over Tor. The CAPTCHA simply does not render properly.

The error message (after submit) is:

Unable to verify your captcha response. Please visit https://help.github.com/articles/troubleshooting-connectivity-problems/#troubleshooting-the-captcha for troubleshooting information.

Very frustrating for anonymous souls. It is unclear whether this is intentional or not.

2 Answers 2

2

Use recently launched Tor Exit Node

The workaround is to hand pick a Tor Exit Node that is very new on the Internet (launched hours ago). We only need this for the signup step. It is critical to revert to default Tor settings afterwards.

  1. Search for exit nodes first seen 0 days ago: https://metrics.torproject.org/rs.html#search/flag:exit%20flag:running%20first_seen_days:0-0%20running:true

  2. Click on any node on the list and copy its fingerprint (not to be confused with IPv6 address).

  3. Open your torrc config file for editing. If you use Whonix (and you should!) then edit the one on the gateway VM (not the workstation).

    Location on plain Linux: /etc/tor/torrc.

    Location on the Whonix gateway: /usr/local/etc/torrc.d/50_user.conf.

  4. Add the following line:

    ExitNodes heregoesthefingerprintofthetorexitnode
    

    This will force Tor to route all connections through this node.

  5. Restart Tor daemon:

    On plain Linux: sudo systemctl restart tor.service.

    On Whonix Gateway: sudo systemctl restart [email protected].

  6. Restart your Tor browser

  7. Verify your public IP address matches the Tor exit node you picked:

    https://check.torproject.org/

  8. Sign up on GitHub. The CAPTCHA should now render properly.

    If still no luck please try with another exit node (remember to restart the Tor daemon and Browser). In our case it worked the second time.

  9. Critical cleanup: remove the added line from the torrc file.

  10. Critical cleanup: restart the Tor daemon.

Important: this is only necessary for the signup. You GitHub account will work well over Tor.

2
  • 1
    The caveat is that if github is monitoring exit nodes, they may know about it and block it before you do so this workaround maybe be more trial and error with no guarantee of success. Other options would be to try different services such as gitlab and bitbucket also.
    – elmerjfudd
    Commented Apr 14, 2020 at 16:17
  • We are aware this workaround worked fine in at least two instances. In our case the second attempt was successful. GitLab or Bitbucket may be alternatives for own projects but one will still likely need GitHub account for general open source collaboration. Commented Apr 14, 2020 at 18:49
0

In my experiments, GitHub didn't seem to be blocking tor, but the tor browser. So experimenting with different exit nodes had no success, but using a regular Firefox with some minor addons like Adblock and tor as proxy worked fine.

I tried to find out if the tor-browser-bundle blocks something in the network console and didn't find anything. The captcha provider GitHub got a usual request but returned an empty response when using tor-browser while it worked fine with a regular Firefox.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .