Update Registration and Provisioning via signal cli, signal-cli-0.13.3 authored by about:privacy's avatar about:privacy
_This guide has been tested with Tails OS versions **6.0** and **signal-cli-v0.13.1**_ _This guide has been tested with Tails OS versions **6.2** and **signal-cli-v0.13.3**_
## Persistent Storage ## Persistent Storage
...@@ -61,7 +61,7 @@ echo -e '#/bin/sh\nsudo cp /home/amnesia/Persistent/morph027-signal-cli.asc /etc ...@@ -61,7 +61,7 @@ echo -e '#/bin/sh\nsudo cp /home/amnesia/Persistent/morph027-signal-cli.asc /etc
## Install signal-cli ## Install signal-cli
**WARNING: In this section of the guide this is explained for signal-cli-0.13.1. This version might become outdated if this guide is not updated regularly. Strongly recommended to use [most current signal-cli](https://github.com/AsamK/signal-cli/releases)** **WARNING: In this section of the guide this is explained for signal-cli-0.13.3 released April 19th, 2024. This version might become outdated if this guide is not updated regularly. Strongly recommended to use [latest signal-cli release](https://github.com/AsamK/signal-cli/releases/latest)**
1. Start your Tails unlocking your persistent storage and setup an administration password, follow section _Set up an administration password_ at https://tails.boum.org/doc/first_steps/welcome_screen/administration_password/. 1. Start your Tails unlocking your persistent storage and setup an administration password, follow section _Set up an administration password_ at https://tails.boum.org/doc/first_steps/welcome_screen/administration_password/.
2. Choose Applications ▸ System Tools ▸ Terminal 2. Choose Applications ▸ System Tools ▸ Terminal
...@@ -111,10 +111,10 @@ sudo update-alternatives --install /usr/bin/signal-cli signal-cli /usr/bin/signa ...@@ -111,10 +111,10 @@ sudo update-alternatives --install /usr/bin/signal-cli signal-cli /usr/bin/signa
4. Make the installation persistent (_Install every time_) following step 3. at https://tails.boum.org/doc/persistent_storage/additional_software/#index4h2 4. Make the installation persistent (_Install every time_) following step 3. at https://tails.boum.org/doc/persistent_storage/additional_software/#index4h2
5. Download `signal-cli-0.13.1` and signature file, executing: 5. Download `signal-cli-0.13.3` and signature file, executing:
```plaintext ```plaintext
wget https://github.com/AsamK/signal-cli/releases/download/v0.13.1/signal-cli-0.13.1.tar.gz -P /home/amnesia/Persistent/ && wget https://github.com/AsamK/signal-cli/releases/download/v0.13.1/signal-cli-0.13.1.tar.gz.asc -P /home/amnesia/Persistent/ wget https://github.com/AsamK/signal-cli/releases/download/v0.13.3/signal-cli-0.13.3.tar.gz -P /home/amnesia/Persistent/ && wget https://github.com/AsamK/signal-cli/releases/download/v0.13.3/signal-cli-0.13.3.tar.gz.asc -P /home/amnesia/Persistent/
``` ```
6. As announced per https://github.com/AsamK/signal-cli/issues/65 repos owners PGP fingerprint is `FA10826A74907F9EC6BBB7FC2BA2CD21B5B09570` and the key id is `2BA2CD21B5B09570`. Download the pgp public key file from mentioned pgp key server: 6. As announced per https://github.com/AsamK/signal-cli/issues/65 repos owners PGP fingerprint is `FA10826A74907F9EC6BBB7FC2BA2CD21B5B09570` and the key id is `2BA2CD21B5B09570`. Download the pgp public key file from mentioned pgp key server:
...@@ -126,7 +126,7 @@ torify -i gpg --keyserver pgp.mit.edu --recv-keys 0x2BA2CD21B5B09570 ...@@ -126,7 +126,7 @@ torify -i gpg --keyserver pgp.mit.edu --recv-keys 0x2BA2CD21B5B09570
7. Verify the archive: 7. Verify the archive:
```plaintext ```plaintext
gpg --verify /home/amnesia/Persistent/signal-cli-0.13.1.tar.gz.asc /home/amnesia/Persistent/signal-cli-0.13.1.tar.gz gpg --verify /home/amnesia/Persistent/signal-cli-0.13.3.tar.gz.asc /home/amnesia/Persistent/signal-cli-0.13.3.tar.gz
``` ```
<!--**WARNING: It seems to be badly signed, looks likewise https://github.com/AsamK/signal-cli/issues/934**--> <!--**WARNING: It seems to be badly signed, looks likewise https://github.com/AsamK/signal-cli/issues/934**-->
...@@ -134,7 +134,7 @@ gpg --verify /home/amnesia/Persistent/signal-cli-0.13.1.tar.gz.asc /home/amnesi ...@@ -134,7 +134,7 @@ gpg --verify /home/amnesia/Persistent/signal-cli-0.13.1.tar.gz.asc /home/amnesi
8. Extract the archive: 8. Extract the archive:
```plaintext ```plaintext
tar xf signal-cli-0.13.1.tar.gz -C /home/amnesia/Persistent/ tar xf signal-cli-0.13.3.tar.gz -C /home/amnesia/Persistent/
``` ```
9. We create a script for running `signal-cli` 9. We create a script for running `signal-cli`
...@@ -145,7 +145,7 @@ Further details ...@@ -145,7 +145,7 @@ Further details
</details> </details>
```plaintext ```plaintext
echo -e '#!/bin/sh\nsudo dpkg -i jdk-21_linux-x64_bin.deb\nexport JAVA_TOOL_OPTIONS="-Djava.net.preferIPv4Stack=true"\nexport PATH="/home/amnesia/Persistent/signal-cli-0.13.1/bin:$PATH"\ntorsocks --shell' | tee -a /home/amnesia/Persistent/signal-cli_tor.sh && chmod a+x /home/amnesia/Persistent/signal-cli_tor.sh echo -e '#!/bin/sh\nsudo dpkg -i jdk-21_linux-x64_bin.deb\nexport JAVA_TOOL_OPTIONS="-Djava.net.preferIPv4Stack=true"\nexport PATH="/home/amnesia/Persistent/signal-cli-0.13.3/bin:$PATH"\ntorsocks --shell' | tee -a /home/amnesia/Persistent/signal-cli_tor.sh && chmod a+x /home/amnesia/Persistent/signal-cli_tor.sh
``` ```
## General use of `signal-cli` on Tails ## General use of `signal-cli` on Tails
... ...
......