mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions.git
synced 2025-07-02 06:36:40 +00:00
add the instructions on how to compile simplex
This commit is contained in:
parent
5cfe1e0149
commit
0e002395b9
4 changed files with 127 additions and 18 deletions
BIN
opsec/privatesimplex/20.png
Normal file
BIN
opsec/privatesimplex/20.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 388 KiB |
BIN
opsec/privatesimplex/21.png
Normal file
BIN
opsec/privatesimplex/21.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 434 KiB |
|
@ -107,8 +107,8 @@ SimpleX is a relative newcomer on the scene and has a unique angle in that there
|
|||
|
||||
<p>
|
||||
A comparison from <a href=https://privacyspreadsheet.com/messaging-apps target=_blank>privacyspreadsheet.com</a> has a breakdown of all the technical details.
|
||||
<img src="1.png" class="imgRz">
|
||||
</p>
|
||||
<img src="1.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
When selecting a messaging app, certain <a href=https://blog.nowhere.moe/opsec/anonsimplex/index.html target=_blank>OPSEC criteria</a> should be considered.
|
||||
|
@ -141,7 +141,6 @@ Deniability:
|
|||
<br>
|
||||
From the above comparison, we can see that only SimpleX meets all of the criteria. While we only focus on Privacy in this article, it doesn't hurt to have the other benefits of Anonymity and Plausible Deniability.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
|
@ -153,27 +152,135 @@ From the above comparison, we can see that only SimpleX meets all of the criteri
|
|||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2><b>SimpleX Desktop</b></h2> </br>
|
||||
<p>To download Simplex Desktop, you can go on <a href="https://simplex.chat">https://simplex.chat/</a></p>
|
||||
<img src="20.png" class="imgRz">
|
||||
<p>Then you can download the appimage here:</p>
|
||||
<img src="21.png" class="imgRz">
|
||||
<p>And lastly once downloaded, you can simply make a shortcut with it and make sure it's executable:</p>
|
||||
<pre><code class="nim">
|
||||
[ localhost ] [ /dev/pts/10 ] [~]
|
||||
→ cd .mullvad-browser/Downloads
|
||||
|
||||
[ localhost ] [ /dev/pts/10 ] [~/.mullvad-browser/Downloads]
|
||||
→ ls
|
||||
simplex-desktop-x86_64.AppImage
|
||||
|
||||
[ localhost ] [ /dev/pts/10 ] [~/.mullvad-browser/Downloads]
|
||||
→ mv simplex-desktop-x86_64.AppImage ~/Desktop/ (1)
|
||||
[ localhost ] [ /dev/pts/10 ] [~/.mullvad-browser/Downloads]
|
||||
→ sudo ln -s ~/Desktop/simplex-desktop-x86_64.AppImage /usr/bin/simplex
|
||||
|
||||
[ localhost ] [ /dev/pts/10 ] [~/.mullvad-browser/Downloads]
|
||||
→ which simplex (130)
|
||||
/usr/bin/simplex
|
||||
|
||||
[ localhost ] [ /dev/pts/10 ] [~/.mullvad-browser/Downloads]
|
||||
→ simplex
|
||||
|
||||
</pre></code>
|
||||
<p>And from there you'll land in the simplex chat app.</p>
|
||||
<p>Now if you're a tinfoil hatter, <b>you may not trust the binaries being distributed by simplex, and you might want to compile it yourself, which is also possible</b>, so let's showcase how you can do that aswell:</p>
|
||||
<pre><code class="nim">
|
||||
$ apt install docker.io -y
|
||||
$ docker run --rm --privileged --name simplex-builder --device /dev/fuse -it ubuntu:22.04 bash
|
||||
|
||||
$ apt update &&
|
||||
apt upgrade -y &&
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y git \
|
||||
curl \
|
||||
build-essential \
|
||||
libffi-dev \
|
||||
libgmp-dev \
|
||||
zlib1g-dev \
|
||||
libssl-dev \
|
||||
patchelf \
|
||||
openjdk-17-jdk \
|
||||
cmake \
|
||||
desktop-file-utils \
|
||||
wget \
|
||||
fuse \
|
||||
android-sdk \
|
||||
sdkmanager \
|
||||
file &&
|
||||
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_GHC_VERSION=9.6.3 BOOTSTRAP_HASKELL_CABAL_VERSION=3.10.2 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 sh &&
|
||||
cat /root/.ghcup/env >> /root/.bashrc &&
|
||||
source /root/.bashrc &&
|
||||
git clone https://github.com/simplex-chat/simplex-chat.git &&
|
||||
cd ./simplex-chat &&
|
||||
git checkout v6.3.2 &&
|
||||
|
||||
cabal build all &&
|
||||
echo "ignore-project: False" >> cabal.project.local &&
|
||||
echo "package direct-sqlcipher" >> cabal.project.local &&
|
||||
echo " flags: +openssl" >> cabal.project.local &&
|
||||
./scripts/desktop/build-lib-linux.sh &&
|
||||
|
||||
sed -i s/'":android", '// ./apps/multiplatform/settings.gradle.kts &&
|
||||
cd ./apps/multiplatform &&
|
||||
./gradlew createDistributable &&
|
||||
../../scripts/desktop/make-appimage-linux.sh
|
||||
</pre></code>
|
||||
<p>Then copy the compiled simplex-desktop.appimage out of the ubuntu docker container:</p>
|
||||
<pre><code class="nim">
|
||||
$ docker cp simplex-builder:/simplex-chat/apps/multiplatform/release/main/SimpleX_Chat-x86_64.AppImage
|
||||
|
||||
</pre></code>
|
||||
<p>Then make sure the appimage is executable and do the following libjpeg.so.8 workaround below to avoid having issues with the client itself:</p>
|
||||
<pre><code class="nim">
|
||||
$ chmod +x SimpleX_Chat-x86_64.AppImage
|
||||
$ ./SimpleX_Chat-x86_64.AppImage --appimage-extract
|
||||
$ find squashfs-root/ | grep libjpeg
|
||||
squashfs-root/usr/lib/app/resources/vlc/vlc/plugins/codec/libjpeg_plugin.so
|
||||
squashfs-root/usr/lib/app/resources/vlc/vlc/plugins/codec/libjpeg_plugin.la
|
||||
squashfs-root/usr/lib/app/resources/vlc/libjpeg.so.8
|
||||
|
||||
</pre></code>
|
||||
<p>Then set the LD_LIBRARY_PATH manually to make it find the libjpeg.so.8 library, to run the binary:</p>
|
||||
<pre><code class="nim">
|
||||
$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/oxeo/squashfs-root/usr/lib/app/resources/vlc ./SimpleX_Chat-x86_64.AppImage
|
||||
|
||||
</pre></code>
|
||||
<p>(edit the path accordingly, for me it was the following):</p>
|
||||
<pre><code class="nim">
|
||||
$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/nihilist/simplexbuilder/squashfs-root/usr/lib/app/resources/vlc ./SimpleX_Chat-x86_64.AppImage
|
||||
|
||||
</pre></code>
|
||||
<p></p>
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
|
||||
<!-- +++++ Fourth Post +++++ -->
|
||||
<div id="anon2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2><b>Using SimpleX</b></h2> </br>
|
||||
|
||||
<p>
|
||||
To start using SimpleX, we will start by installing it from <a href=https://f-droid.org/packages/chat.simplex.app/ target=_blank>F-Droid</a>. Search for the app and then click Install. Navigate through the setup process, choose a username and click Create your profile.
|
||||
<img src="2.png" class="imgRz">
|
||||
</p>
|
||||
<img src="2.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
With your profile complete, it's time to create a private group chat. Click on the pencil icon at the bottom of the screen and select Create group. Give your group a name and click Create group. Finally, skip inviting members for now.
|
||||
<img src="3.png" class="imgRz">
|
||||
</p>
|
||||
<img src="3.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
Click on the group name to see some options. Click on Create group link. Finally, share the group link with your friends out-of-band.
|
||||
<img src="4.png" class="imgRz">
|
||||
</p>
|
||||
<img src="4.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
Once your friends connect, you can start messaging.
|
||||
<img src="5.png" class="imgRz">
|
||||
</p>
|
||||
<img src="5.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
Out of the box, SimpleX works perfectly fine. However, more advanced users may wish to tweak a few settings or self-host their own servers.
|
||||
|
@ -185,7 +292,7 @@ Out of the box, SimpleX works perfectly fine. However, more advanced users may w
|
|||
</div><!-- /white -->
|
||||
|
||||
<!-- +++++ Fifth Post +++++ -->
|
||||
<div id="anon2">
|
||||
<div id="anon1">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
|
@ -202,8 +309,8 @@ Out of the box, SimpleX works perfectly fine. However, more advanced users may w
|
|||
|
||||
<p>
|
||||
To start, we will need a domain name. A subdomain such as a free one obtained from <b>https://freedns.afraid.org</b> will also work. Create A record entries for smp.yourdomain.tld and xftp.yourdomain.tld and point them at the IP address of your VPS.
|
||||
<img src="6.png" class="imgRz">
|
||||
</p>
|
||||
<img src="6.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
We will SSH into our VPS and set up our environment.
|
||||
|
@ -362,7 +469,7 @@ xftp://t_H_I_h5Iz7X-ChxA3nJeyw0s_2PJIFkfSK7Ng6UulU=@xftp.xmronly.us.to
|
|||
</div><!-- /white -->
|
||||
|
||||
<!-- +++++ Sixth Post +++++ -->
|
||||
<div id="anon3">
|
||||
<div id="anon2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
|
@ -370,38 +477,38 @@ xftp://t_H_I_h5Iz7X-ChxA3nJeyw0s_2PJIFkfSK7Ng6UulU=@xftp.xmronly.us.to
|
|||
|
||||
<p>
|
||||
To add the newly created self-hosted SimpleX servers to your client, click on your profile on the top left, followed by Settings. Click on Network & servers. We will modify both the Message servers (SMP) and the Media & file servers (XFTP).
|
||||
<img src="7.png" class="imgRz">
|
||||
</p>
|
||||
<img src="7.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
Click on <b>Message servers</b> and scroll down to Add server. Select Enter server manually. Paste in your SMP server address from above, click Test server and receive a green check mark. Finally, tick Use for new connections.
|
||||
<img src="8.png" class="imgRz">
|
||||
</p>
|
||||
<img src="8.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
With our self-hosted SMP server set, it's time to remove the default SimpleX servers. Click on each of the presets, then click Delete server.
|
||||
<img src="9.png" class="imgRz">
|
||||
</p>
|
||||
<img src="9.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
With only our self-hosted SMP server remaining, click the back arrow, then save changes.
|
||||
<img src="10.png" class="imgRz">
|
||||
</p>
|
||||
<img src="10.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
We will now repeat the process for <b>Media & file servers</b>. Scroll down to Add server. Select Enter server manually. Paste in your XFTP server address from above, click Test server and receive a green check mark. Finally, tick Use for new connections.
|
||||
<img src="11.png" class="imgRz">
|
||||
</p>
|
||||
<img src="11.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
With our self-hosted XFTP server set, it's time to remove the default SimpleX servers. Click on each of the presets, then click Delete server.
|
||||
<img src="12.png" class="imgRz">
|
||||
</p>
|
||||
<img src="12.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
With only our self-hosted XFTP server remaining, click the back arrow, then save changes.
|
||||
<img src="13.png" class="imgRz">
|
||||
</p>
|
||||
<img src="13.png" class="imgRz">
|
||||
|
||||
<p>
|
||||
It is possible to self-host onion servers as well, but since this article is focusing on privacy and not anonymity, that part of the setup has been omitted.
|
||||
|
@ -414,7 +521,7 @@ It is possible to self-host onion servers as well, but since this article is foc
|
|||
|
||||
|
||||
<!-- +++++ Seventh Post +++++ -->
|
||||
<div id="anon2">
|
||||
<div id="anon1">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
|
@ -443,7 +550,7 @@ You can confirm this by clicking on the group chat name and clicking on any of t
|
|||
|
||||
|
||||
<!-- +++++ Eighth Post +++++ -->
|
||||
<div id="anon3">
|
||||
<div id="anon2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
|
|
|
@ -171,6 +171,8 @@ In 2017 The Times made a Freedom of Information request which found <b>3,395 arr
|
|||
<p>We need to ensure that everyone knows that with the correct technology, when used correctly, they cannot be silenced, oppressed, and governed anymore. <b>We are directly going against the statist's panopticon propaganda</b>, where they argue that supposedly nobody could hide, nor remain outside of their unjust laws.</p>
|
||||
<img src="7.png" class="imgRz">
|
||||
<p>Yes, this is an Anarchist blog. We are telling you how exactly you can become ungovernable. We don't care about what you intend to do with the setups we showcase, in fact we hope that you intend to use it to better the world with it, but one thing is for sure; <b>the individual is free to do whatever they like, as long as their actions are protected from any possible repercussions, be it by implementing the appropriate setups that protect their Privacy, their Anonymity, or their Deniability.</b></p>
|
||||
<p><u>TLDR:</u> Stop complaining that government/corporation/company did X, Y or Z. Learn about those tools that are here to protect your freedom, Learn how to use them, Implement them yourself, and just become free, you have 0 excuse to not choose to be free right now. <b>All you need is to learn how to do it, and to just do it.</b></p>
|
||||
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue