Commit d21eccff authored by emmapeel's avatar emmapeel 🤖
Browse files

add LRE unicode char to problematic strings. part of...

add LRE unicode char to problematic strings. part of #269
parent e39abd96
Pipeline #14581 passed with stages
in 21 minutes and 53 seconds
......@@ -14,7 +14,7 @@ Yes, `deb.torproject.org` is also served through via an Onion Service: http://ap
To use Apt over Tor, the apt transport needs to be installed:
```
# apt install apt-transport-tor
# apt install apt-transport-tor
```
Then you need to add the following entries to `/etc/apt/sources.list` or a new file in `/etc/apt/sources.list.d/`:
......@@ -32,6 +32,6 @@ Replace `<DISTRIBUTION>` with your Operating System codename. Run `lsb_release -
Now refresh your sources and try to install tor again:
```
# apt update
# apt install tor
# apt update
# apt install tor
```
......@@ -19,7 +19,7 @@ Here's how you can enable Tor Package Repository in Debian based distributions:
The package repository offers `amd64`, `arm64`, and `i386` binaries. Verify your operating system is capable of running the binary by inspecting the output of the following commend:
```
# dpkg --print-architecture
# dpkg --print-architecture
```
It should output either `amd64`, `arm64`, or `i386`. The repository does not support other CPU architectures.
......@@ -31,7 +31,7 @@ It should output either `amd64`, `arm64`, or `i386`. The repository does not sup
To enable all package managers using the libapt-pkg library to access metadata and packages available in sources accessible over https (Hypertext Transfer Protocol Secure).
```
# apt install apt-transport-https
# apt install apt-transport-https
```
#### 2. Create a new file in `/etc/apt/sources.list.d/` named `tor.list`. Add the following entries:
......@@ -63,17 +63,17 @@ Replace `<DISTRIBUTION>` with your Operating System codename. Run `lsb_release -
deb [arch=amd64 signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org focal main
deb-src [arch=amd64 signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org focal main
```
Warning symptom, when running sudo apt update:
```
Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://deb.torproject.org/torproject.org focal InRelease' doesn't support architecture 'i386'
```
#### 3. Then add the gpg key used to sign the packages by running the following command at your command prompt:
```
# wget -O- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/tor-archive-keyring.gpg >/dev/null
# wget -O- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/tor-archive-keyring.gpg >/dev/null
```
#### 4. Install tor and tor debian keyring
......@@ -81,6 +81,6 @@ Warning symptom, when running sudo apt update:
We provide a Debian package to help you keep our signing key current. It is recommended you use it. Install it with the following commands:
```
# apt update
# apt install tor deb.torproject.org-keyring
# apt update
# apt install tor deb.torproject.org-keyring
```
......@@ -58,7 +58,7 @@ Roger Dingledine (0xEB5A896A28988BF5 and 0xC218525819F78451), Nick Mathewson (0x
Fetching Nick Mathewson most recent key:
gpg --auto-key-locate nodefault,wkd --locate-keys nickm@torproject.org
$ gpg --auto-key-locate nodefault,wkd --locate-keys nickm@torproject.org
This should show you something like:
......@@ -67,7 +67,7 @@ This should show you something like:
gpg: imported: 1
pub rsa4096 2016-09-21 [C] [expires: 2025-10-04]
2133BC600AB133E1D826D173FE43009C4607B1FB
uid [ unknown] Nick Mathewson <nickm@torproject.org>
uid [ unknown] Nick Mathewson <nickm@torproject.org>
sub rsa4096 2016-09-23 [S] [expires: 2025-10-04]
sub rsa4096 2016-09-23 [E] [expires: 2025-10-04]
......@@ -76,7 +76,7 @@ You might be able to import the key using the **Workaround (using a public key)*
After importing the key, you can save it to a file (identifying it by its fingerprint here):
gpg --output ./tor.keyring --export 0x2133BC600AB133E1D826D173FE43009C4607B1FB
$ gpg --output ./tor.keyring --export 0x2133BC600AB133E1D826D173FE43009C4607B1FB
This command results in the key being saved to a file found at the path `./tor.keyring`, i.e. in the current directory.
If `./tor.keyring` doesn't exist after running this command, something has gone wrong and you cannot continue until you've figured out why this didn't work.
......@@ -104,7 +104,7 @@ The result of the command should produce something like this:
gpgv: Signature made Mon 16 Aug 2021 04:44:27 PM -03
gpgv: using RSA key 7A02B3521DC75C542BA015456AFEE6D49E92B601
gpgv: Good signature from "Nick Mathewson <nickm@torproject.org>"
gpgv: Good signature from "Nick Mathewson <nickm@torproject.org>"
If you get error messages containing 'No such file or directory', either something went wrong with one of the previous steps, or you forgot that these commands use example file names and yours will be a little different.
......@@ -112,12 +112,12 @@ If you get error messages containing 'No such file or directory', either somethi
If you encounter errors you cannot fix, feel free to [download and use this public key](https://openpgpkey.torproject.org/.well-known/openpgpkey/torproject.org/hu/kounek7zrdx745qydx6p59t9mqjpuhdf) instead. Alternatively, you may use the following command:
curl -s https://openpgpkey.torproject.org/.well-known/openpgpkey/torproject.org/hu/kounek7zrdx745qydx6p59t9mqjpuhdf |gpg --import -
$ curl -s https://openpgpkey.torproject.org/.well-known/openpgpkey/torproject.org/hu/kounek7zrdx745qydx6p59t9mqjpuhdf |gpg --import -
Nick Mathewson key is also available on [keys.openpgp.org](https://keys.openpgp.org/) and can be downloaded from [https://keys.openpgp.org/vks/v1/by-fingerprint/2133BC600AB133E1D826D173FE43009C4607B1FB](https://keys.openpgp.org/vks/v1/by-fingerprint/2133BC600AB133E1D826D173FE43009C4607B1FB).
If you're using macOS or GNU/Linux, the key can also be fetched by running the following command:
$ gpg --keyserver keys.openpgp.org --search-keys nickm@torproject.org
$ gpg --keyserver keys.openpgp.org --search-keys nickm@torproject.org
You may also want to [learn more about GnuPG](https://www.gnupg.org/documentation/).
......@@ -7,12 +7,12 @@ seo_slug: using-correct-packages
description:
* Do not use the packages in Ubuntu's repositories. They are not reliably updated. If you use them, you will miss important stability and security fixes.
* Determine your Ubuntu version by running the following command:
$ lsb_release -c
$ lsb_release -c
* As root, add the following lines to /etc/apt/sources.list. Replace 'version' with the version you found in the previous step:
deb https://deb.torproject.org/torproject.org version main
deb-src https://deb.torproject.org/torproject.org version main
* Add the gpg key used to sign the packages by running the following commands:
$ curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | sudo apt-key add -
$ curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | sudo apt-key add -
* Run the following commands to install tor and check its signatures:
$ sudo apt-get update
$ sudo apt-get install tor deb.torproject.org-keyring
$ sudo apt-get update
$ sudo apt-get install tor deb.torproject.org-keyring
......@@ -18,7 +18,7 @@ Here's how you can enable Tor Package Repository for both CentOS and RHEL and Fe
### 1. Enable epel repository (only for CentOS and RHEL)
# dnf install epel-release -y
# dnf install epel-release -y
### 2. Add the following to /etc/yum.repos.d/tor.repo
......@@ -46,7 +46,7 @@ For Fedora:
Then you can install the latest Tor package.
# dnf install tor -y
# dnf install tor -y
Using it for the first time, you will have to import the GPG public key.
......
......@@ -13,8 +13,8 @@ You should see an option to copy the log to your clipboard, which you will be ab
Alternatively, on GNU/Linux, to view the logs right in the terminal, navigate to the Tor Browser directory and launch the Tor Browser from the command line by running:
`./start-tor-browser.desktop --verbose`
`./start-tor-browser.desktop --verbose`
or to save the logs to a file *(default: tor-browser.log)*
`./start-tor-browser.desktop --log [file]`
`./start-tor-browser.desktop --log [file]`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment