Git repository on Tor hidden service

I’ve put up a (read-only) mirror of various bitcoin-related git repositories at nxshomzlgqmwfwhcnyvbznyrybh3gotlfgis7wkv7iur2yj2rarlhiad.onion. This is a Tor v3 hidden service, which means that at least Tor is required to access it.

To clone anew, do:

git -c http.proxy=socks5h:// clone http://nxshomzlgqmwfwhcnyvbznyrybh3gotlfgis7wkv7iur2yj2rarlhiad.onion/git/bitcoin.git
cd bitcoin
git config --add remote.origin.proxy "socks5h://"

This assumes Tor proxy is set up on - the default. The last command is necessary to make sure that pulls for updating also go through the proxy. A full clone might be slow, so consider doing a shallow clone (--depth=10 or such) if not all of history is required.

Or if you already have bitcoin cloned:

cd bitcoin
git remote add orionwl http://nxshomzlgqmwfwhcnyvbznyrybh3gotlfgis7wkv7iur2yj2rarlhiad.onion/git/bitcoin.git
git config --add remote.orionwl.proxy "socks5h://"
# and then to pull changes: git pull orionwl master

To verify authenticity, always make sure that at least the top commit is correctly signed (get the maintainer GPG public keys somewhere else):

git log --show-signature
Written on June 8, 2018
Filed under