mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Add user instructions for installing Debian packages
This commit is contained in:
parent
dce516b4e8
commit
b5c1c1192e
1 changed files with 33 additions and 2 deletions
35
INSTALL.md
35
INSTALL.md
|
@ -38,10 +38,25 @@ Dangerzone is available for:
|
|||
```
|
||||
</details>
|
||||
|
||||
Add our repository following [these instructions](https://packagecloud.io/firstlookmedia/code/install#manual-deb), or by running this script:
|
||||
Add our repository following these instructions:
|
||||
|
||||
Download the GPG key for the repo:
|
||||
|
||||
```sh
|
||||
gpg --keyserver hkps://keys.openpgp.org \
|
||||
--no-default-keyring --keyring ./fpf-apt-tools-archive-keyring.gpg \
|
||||
--recv-keys "DE28 AB24 1FA4 8260 FAC9 B8BA A7C9 B385 2260 4281"
|
||||
sudo mkdir -p /etc/apt/keyrings/
|
||||
sudo mv fpf-apt-tools-archive-keyring.gpg /etc/apt/keyrings
|
||||
```
|
||||
curl -s https://packagecloud.io/install/repositories/firstlookmedia/code/script.deb.sh | sudo bash
|
||||
|
||||
Add the URL of the repo in your APT sources:
|
||||
|
||||
```sh
|
||||
source /etc/os-release
|
||||
echo deb [signed-by=/etc/apt/keyrings/fpf-apt-tools-archive-keyring.gpg] \
|
||||
https://packages.freedom.press/apt-tools-prod ${VERSION_CODENAME?} main \
|
||||
| sudo tee /etc/apt/sources.list.d/fpf-apt-tools.list
|
||||
```
|
||||
|
||||
Install Dangerzone:
|
||||
|
@ -51,6 +66,22 @@ sudo apt update
|
|||
sudo apt install -y dangerzone
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary><i>:memo: Expand this section for a security notice on third-party Debian repos</i></summary>
|
||||
</br>
|
||||
|
||||
This section follows the official instructions on configuring [third-party
|
||||
Debian repos](https://wiki.debian.org/DebianRepository/UseThirdParty).
|
||||
|
||||
To mitigate a class of attacks against our APT repo (e.g., injecting packages
|
||||
signed with an attacker key), we add an additional step in our instructions to
|
||||
verify the downloaded GPG key against its fingerprint.
|
||||
|
||||
Aside from these protections, the user needs to be aware that Debian packages
|
||||
run as `root` during the installation phase, so they need to place some trust
|
||||
on our signed Debian packages. This holds for any third-party Debian repo.
|
||||
</details>
|
||||
|
||||
### Fedora
|
||||
|
||||
Type the following commands in a terminal:
|
||||
|
|
Loading…
Reference in a new issue