This commit is contained in:
Mickie Betz 2021-04-26 23:42:52 +00:00
parent 26da8812f9
commit 3f996fff7a
1 changed files with 7 additions and 7 deletions

View File

@ -236,7 +236,7 @@ Your contribution will be pushed to git automatically.
</summary> </summary>
This procedure will give you a cloudflare-tor fork with a privacy-respecting configuration to do pushes with SSH over Tor using `git.sdf.org`. This procedure will give you a cloudflare-tor fork with a privacy-respecting configuration to do pushes with SSH over Tor using `git.example`.
Below procedure is designed for _Linux_. Below procedure is designed for _Linux_.
The first step covers Windows too, but these instructions probably The first step covers Windows too, but these instructions probably
need more adaptations for Windows and other platforms. need more adaptations for Windows and other platforms.
@ -246,12 +246,12 @@ need more adaptations for Windows and other platforms.
- Windows: Download `PortableGit` from [Github](https://github.com/git-for-windows/) & run `git-bash.exe` - Windows: Download `PortableGit` from [Github](https://github.com/git-for-windows/) & run `git-bash.exe`
1. Install Git, SSH(Not Windows), and Tor (if you haven't already) 1. Install Git, SSH(Not Windows), and Tor (if you haven't already)
1. Create a `git.sdf.org` account (username "snowden" will be used for this example) 1. Create a `git.example` account (username "snowden" will be used for this example)
1. Create an SSH key pair `$ ssh-keygen -t rsa -N '' -C 'snowden at git' -f "$HOME"/.ssh/id_rsa_mrsnowden` 1. Create an SSH key pair `$ ssh-keygen -t rsa -N '' -C 'snowden at git' -f "$HOME"/.ssh/id_rsa_mrsnowden`
1. Edit `$HOME/.ssh/config`: 1. Edit `$HOME/.ssh/config`:
``` ```
host git.sdf.org host git.example
hostname git.sdf.org hostname git.example
ForwardX11 no ForwardX11 no
ProxyCommand connect -4 -S 127.0.0.1:9050 $(tor-resolve %h 127.0.0.1:9050) %p ProxyCommand connect -4 -S 127.0.0.1:9050 $(tor-resolve %h 127.0.0.1:9050) %p
host mrsnowden host mrsnowden
@ -259,8 +259,8 @@ need more adaptations for Windows and other platforms.
``` ```
1. copy `"$HOME"/.ssh/id_rsa_mrsnowden.pub` to clipboard 1. copy `"$HOME"/.ssh/id_rsa_mrsnowden.pub` to clipboard
1. git.sdf.org > settings > SSH/GPG Keys > add key (paste from clipboard) 1. git.example > settings > SSH/GPG Keys > add key (paste from clipboard)
1. $ `firefox https://git.sdf.org/crimeflare/cloudflare-tor` 1. $ `firefox https://git.example/crimeflare/cloudflare-tor`
1. fork it (top right corner) 1. fork it (top right corner)
1. go to the directory you want the project to be rooted in (hereafter we'll call it `$project_root`). 1. go to the directory you want the project to be rooted in (hereafter we'll call it `$project_root`).
1. anonymously download your fork: $ `git clone git@mrsnowden:you/cloudflare-tor.git` 1. anonymously download your fork: $ `git clone git@mrsnowden:you/cloudflare-tor.git`
@ -286,7 +286,7 @@ need more adaptations for Windows and other platforms.
1. if yes: `$ git add . -u` 1. if yes: `$ git add . -u`
1. $ `git commit -m 'description of first change'` 1. $ `git commit -m 'description of first change'`
1. $ `git push origin master` 1. $ `git push origin master`
1. $ `firefox https://git.sdf.org/crimeflare/cloudflare-tor` 1. $ `firefox https://git.example/crimeflare/cloudflare-tor`
1. make a new pull request 1. make a new pull request
&nbsp; &nbsp;