Hello! We are running our annual fundraising. Please consider making a donation if you value this freely available service or want to support people around the world working towards liberatory social change - https://riseup.net/donate
**WARNING: Until Tails has libc6 >= 2.34, most current signal-cli debian package is not supported, so you have to [provide native lib for libsignal](https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal#pre-built) for the latest signal-cli binary, in this section of the guide this is explained for signal-cli-0.12.7 with libsignal_v0.36.1. This version might become outdated if this guide is not updated regularly. Strongly recommended to use most current signal-cli along with compatible libsignal_jni.so [determining the required libsignal client version.](https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal#determine-the-required-libsignal-client-version)**
**WARNING: Until Tails has libc6 >= 2.34, most current signal-cli debian package is not supported, so you have to [provide native lib for libsignal](https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal#pre-built) for the latest signal-cli binary, in this section of the guide this is explained for signal-cli-0.12.8 with libsignal_v0.36.1. This version might become outdated if this guide is not updated regularly. Strongly recommended to use most current signal-cli along with compatible libsignal_jni.so [determining the required libsignal client version.](https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal#determine-the-required-libsignal-client-version)**
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/.
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.12.7` and signature file, executing:
5. Download `signal-cli-0.12.8` and signature file, executing:
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:
10. Extract `libsignal_jni.so` and replace the currently bundled file with the downloaded one:
10. Extract `libsignal_jni.so` and replace the currently bundled file with the downloaded one:
```plaintext
```plaintext
tar xf Persistent/libsignal_jni.so-v0.36.1-x86_64-unknown-linux-gnu.tar.gz -C Persistent/ && zip -d Persistent/signal-cli-0.12.7/lib/libsignal-client-0.36.1.jar libsignal_jni.so && zip Persistent/signal-cli-0.12.7/lib/libsignal-client-0.36.1.jar Persistent/libsignal_jni.so
tar xf Persistent/libsignal_jni.so-v0.36.1-x86_64-unknown-linux-gnu.tar.gz -C Persistent/ && zip -d Persistent/signal-cli-0.12.8/lib/libsignal-client-0.36.1.jar libsignal_jni.so && zip Persistent/signal-cli-0.12.8/lib/libsignal-client-0.36.1.jar Persistent/libsignal_jni.so
```
```
11. We create a script for running `signal-cli`
11. We create a script for running `signal-cli`
...
@@ -155,7 +156,7 @@ Further details
...
@@ -155,7 +156,7 @@ Further details
</details>
</details>
```plaintext
```plaintext
echo -e '#!/bin/sh\nexport JAVA_TOOL_OPTIONS="-Djava.net.preferIPv4Stack=true"\nexport PATH="/home/amnesia/Persistent/signal-cli-0.12.7/bin:$PATH"\nsudo sh -c '\''mkdir -p /usr/lib/jni && cp /home/amnesia/Persistent/libsignal_jni.so /usr/lib/jni'\''\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\nexport JAVA_TOOL_OPTIONS="-Djava.net.preferIPv4Stack=true"\nexport PATH="/home/amnesia/Persistent/signal-cli-0.12.8/bin:$PATH"\nsudo sh -c '\''mkdir -p /usr/lib/jni && cp /home/amnesia/Persistent/libsignal_jni.so /usr/lib/jni'\''\ntorsocks --shell' | tee -a /home/amnesia/Persistent/signal-cli_tor.sh && chmod a+x /home/amnesia/Persistent/signal-cli_tor.sh