7.5 KiB
layout | title | permalink |
---|---|---|
doc | Signal | /doc/signal/ |
Signal
What is Signal?
Signal is an encrypted instant messaging and voice calling application for Android and iOS. It uses end-to-end encryption to secure all communications to other Signal users. Signal can be used to send and receive encrypted instant messages, group messages, attachments and media messages. Users can independently verify the identity of their messaging correspondents by comparing key fingerprints out-of-band. During calls, users can check the integrity of the data channel by checking if two words match on both ends of the call.
Signal is developed by Open Whisper Systems. The clients are published as free and open-source software under the GPLv3 license.
How to install Signal in Qubes
If you're a Signal user on Android, you can now have Signal inside Qubes.
- Install the Chromium browser in a TemplateVM.
- Shut down the TemplateVM.
- Create a new AppVM based on this TemplateVM.
- Launch Chromium browser in the new AppVM, type
chrome://extensions/
in the address bar, and follow the link to the Chrome app store. - In the app store, search for "Signal Private Messenger" and install the app.
- The app launches automatically on first install. Follow the prompts to "link" this app with your phone.
- Signal should now work in your AppVM.
Creating a Shortcut in the applications menu
Let's make Signal a bit more usable by creating a shortcut in our desktop
panel that launches Signal directly. This assumes that you're using KDE or Xfce in Dom0,
you use Signal in an AppVM named Signal
, and this AppVM uses fedora-23
as its TemplateVM.
-
Follow these instructions to create a desktop shortcut on the Desktop of your Signal AppVM. Let's assume the shortcut file you get is
/home/user/Desktop/chrome-bikioccmkafdpakkkcpdbhpfkkhcmohk-Default.desktop
-
Copy this shortcut file to the AppVM's TemplateVM - in this case, to
fedora-23
.[user@Signal ~]$ qvm-copy-to-vm fedora-23 /home/user/Desktop/chrome-bikioccmkafdpakkkcpdbhpfkkhcmohk-Default.desktop
-
You'll also want to copy across an icon for your new shortcut - you can find this at
/home/user/.local/share/icons/hicolor/48x48/apps/chrome-bikioccmkafdpakkkcpdbhpfkkhcmohk-Default.png
Copy this icon to thefedora-23
TemplateVM in the same way as step 2. -
Open a terminal in your
fedora-23
TemplateVM andcd
to/home/user/QubesIncoming/Signal/
. You should find your shortcut and icon files just transferred across from the Signal AppVM. Move these files to the following locations:[user@fedora-23 Signal]$ sudo mv chrome-bikioccmkafdpakkkcpdbhpfkkhcmohk-Default.desktop /usr/share/applications/ [user@fedora-23 Signal]$ sudo mv chrome-bikioccmkafdpakkkcpdbhpfkkhcmohk-Default.png /usr/share/icons/hicolor/48x48/apps/
-
From a Dom0 terminal, instruct Qubes to synchronize the application menus of this TemplateVM:
[user@dom0 ~]$ qvm-sync-appmenus fedora-23
-
Stop both the AppVM (
Signal
) and its TemplateVM (fedora-23
). TheSignal
VM will now see the desktop file in/usr/share/applications
when it is next started. -
With your mouse select the
Q
menu ->Domain: Signal
->Signal: Add more shortcuts
SelectSignal Private Messenger
from the leftAvailable
column, move it to the rightSelected
column by clicking the>
button and thenOK
to apply the changes and close the window. -
(optional, only on KDE:) Follow the
Q
menu once more, right-click on the newSignal: Signal Private Messenger
menu item and selectAdd to Panel
.
You can now launch the Signal messenger inside its own dedicated AppVM directly from the desktop.
The same steps should work for any Chrome app.
Creating a shortcut in the applications menu for a StandaloneVM
If you want to add to the standalone VM rather than a template, then follow below.
The following part will also assume that the .desktop file has been correctly made.
This can also be used to add a application portable application/script from a tar archive, also this part of the guide is assuming that the StandaloneVM is called Signal
.
-
First you will need to copy/move the .desktop file:
/home/user/Desktop/chrome-bikioccmkafdpakkkcpdbhpfkkhcmohk-Default.desktop
to the applications folder on the StandaloneVM:/usr/share/applications/
[user@Signal ~]$ sudo mv /home/user/Desktop/chrome-bikioccmkafdpakkkcpdbhpfkkhcmohk-Default.desktop /usr/share/applications/
-
Now copy/move over the icon file to make it look all nice and pretty.
[user@Signal ~]$ sudo mv /home/user/Desktop/chrome-bikioccmkafdpakkkcpdbhpfkkhcmohk-Default.desktop /usr/share/icons/hicolor/48x48/apps/
-
Now fire up the
dom0
Terminal Emulator fromQ
Menu ->Terminal Emulator
. All you need to do now is run the command to sync the app menusqvm-sync-appmenus
along with the Standalone VM nameSignal
.[user@dom0 ~]$ qvm-sync-appmenus Signal
-
Now stop the StandaloneVM:
Signal
. -
With your mouse select the
Q
menu ->Domain: Signal
->Signal: Add more shortcuts
. SelectSignal Private Messenger
from the leftAvailable
column, move it to the rightSelected
column by clicking the>
button and thenOK
to apply the changes and close the window. -
(optional, only on KDE:) Follow the
Q
menu once more, right-click on the newSignal: Signal Private Messenger
menu item and selectAdd to Panel
.
Use an AppVM based on Debian
CAUTION: Before proceeding, please carefully read On Digital Signatures and Key Verification. This website cannot guarantee that any PGP key you download from the Internet is authentic. Always obtain a trusted key fingerprint via other channels, and always check any key you download against your trusted copy of the fingerprint.
If you don't use Chromium, you can install signal with Debian:
-
(Optional)Create a TemplateVM (Debian 8)
[user@dom0 ~]$ sudo qubes-dom0-update qubes-template-debian-8
-
Open a terminal in Debian 8
[user@dom0 ~]$ qvm-run -a debian-8 gnome-terminal
-
Use these commands in your terminal
(Optional)[user@debian-8 ~]$ sudo apt-get install curl [user@debian-8 ~]$ curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add - [user@debian-8 ~]$ echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list [user@debian-8 ~]$ sudo apt update && sudo apt install signal-desktop
-
Shutdown the TemplateVM :
[user@dom0 ~]$ qvm-shutdown debian-8
-
Create an AppVM based on this TemplateVM
-
With your mouse select the
Q
menu ->Domain: "AppVM Name"
->"AppVM Name": Add more shortcuts
SelectSignal
from the leftAvailable
column, move it to the rightSelected
column by clicking the>
button and thenOK
to apply the changes and close the window.