]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.rss
Generated.
[homepage.git] / blog / index.rss
index 7d0b196b1c148354453cf938d536df1b8df8327d..3656615d9fca29a8d7243f93acddab3d46fb7450 100644 (file)
@@ -6,6 +6,113 @@
                 <link>http://people.skolelinux.org/pere/blog/</link>
                 <atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
        
+       <item>
+               <title>How to use the Signal app if you only have a land line (ie no mobile phone)</title>
+               <link>http://people.skolelinux.org/pere/blog/How_to_use_the_Signal_app_if_you_only_have_a_land_line__ie_no_mobile_phone_.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_use_the_Signal_app_if_you_only_have_a_land_line__ie_no_mobile_phone_.html</guid>
+                <pubDate>Sun, 3 Jul 2016 14:20:00 +0200</pubDate>
+               <description>&lt;p&gt;For a while now, I have wanted to test
+&lt;a href=&quot;https://whispersystems.org/&quot;&gt;the Signal app&lt;/a&gt;, as it is
+said to provide end to end encrypted communication and several of my
+friends and family are already using it.  As I by choice do not own a
+mobile phone, this proved to be harder than expected.  And I wanted to
+have the source of the client and know that it was the code used on my
+machine.  But yesterday I managed to get it working.  I used the
+Github source, compared it to the source in
+&lt;a href=&quot;https://chrome.google.com/webstore/detail/signal-private-messenger/bikioccmkafdpakkkcpdbppfkghcmihk?hl=en-US&quot;&gt;the
+Signal Chrome app&lt;/a&gt; available from the Chrome web store, applied
+patches to use the production Signal servers, started the app and
+asked for the hidden &quot;register without a smart phone&quot; form.  Here is
+the recipe how I did it.&lt;/p&gt;
+
+&lt;p&gt;First, I fetched the Signal desktop source from Github, using
+
+&lt;pre&gt;
+git clone https://github.com/WhisperSystems/Signal-Desktop.git
+&lt;/pre&gt;
+
+&lt;p&gt;Next, I patched the source to use be able to talk to other Signal
+users using&lt;/p&gt;
+
+&lt;pre&gt;
+cat &amp;lt;&amp;lt;EOF | patch -p0
+diff -ur ./js/background.js userdata/Default/Extensions/bikioccmkafdpakkkcpdbppfkghcmihk/0.15.0_0/js/background.js
+--- ./js/background.js  2016-06-29 13:43:15.630344628 +0200
++++ userdata/Default/Extensions/bikioccmkafdpakkkcpdbppfkghcmihk/0.15.0_0/js/background.js    2016-06-29 14:06:29.530300934 +0200
+@@ -47,8 +47,8 @@
+         });
+     });
+-    var SERVER_URL = &#39;https://textsecure-service-staging.whispersystems.org&#39;;
+-    var ATTACHMENT_SERVER_URL = &#39;https://whispersystems-textsecure-attachments-staging.s3.amazonaws.com&#39;;
++    var SERVER_URL = &#39;https://textsecure-service-ca.whispersystems.org:4433&#39;;
++    var ATTACHMENT_SERVER_URL = &#39;https://whispersystems-textsecure-attachments.s3.amazonaws.com&#39;;
+     var messageReceiver;
+     window.getSocketStatus = function() {
+         if (messageReceiver) {
+diff -ur ./js/expire.js userdata/Default/Extensions/bikioccmkafdpakkkcpdbppfkghcmihk/0.15.0_0/js/expire.js
+--- ./js/expire.js      2016-06-29 13:43:15.630344628 +0200
++++ userdata/Default/Extensions/bikioccmkafdpakkkcpdbppfkghcmihk/0.15.0_0/js/expire.js2016-06-29 14:06:29.530300934 +0200
+@@ -1,6 +1,6 @@
+ ;(function() {
+     &#39;use strict&#39;;
+-    var BUILD_EXPIRATION = 0;
++    var BUILD_EXPIRATION = 1474492690000;
+     window.extension = window.extension || {};
+EOF
+&lt;/pre&gt;
+
+&lt;p&gt;The first part is changing the servers, and the second is updating
+an expiration timestamp.  This timestamp need to be updated regularly.
+It is set 90 days in the future by the build process (Gruntfile.js).
+The value is seconds since 1970 times 1000, as far as I can tell.&lt;/p&gt;
+
+&lt;p&gt;Based on a tip and good help from the #nuug IRC channel, I wrote a
+script to launch Signal in Chromium.&lt;/p&gt;
+
+&lt;pre&gt;
+#!/bin/sh
+cd $(dirname $0)
+mkdir -p userdata
+exec chromium \
+  --proxy-server=&quot;socks://localhost:9050&quot; \
+  --user-data-dir=`pwd`/userdata --load-and-launch-app=`pwd`
+&lt;/pre&gt;
+
+&lt;p&gt; The script set start the app and configure Chromium to use the Tor
+SOCKS5 proxy to make sure those controlling the Signal servers (today
+Amazon and Whisper Systems) as well as those listening on the lines
+will have a harder time location my laptop based on the Signal
+connections if they use source IP address.&lt;/p&gt;
+
+&lt;p&gt;When the script starts, one need to follow the instructions under
+&quot;Standalone Registration&quot; in the CONTRIBUTING.md file in the git
+repository.  I right clicked on the Signal window to get up the
+Chromium debugging tool, visited the &#39;Console&#39; tab and wrote
+&#39;extension.install(&quot;standalone&quot;)&#39; on the console prompt to get the
+registration form.  Then I entered by land line phone number and
+pressed &#39;Call&#39;.  5 seconds later the phone rang and a robot voice
+repeated the verification code three times.  After entering the number
+into the verification code field in the form, I could start using
+Signal from my laptop.
+
+&lt;p&gt;As far as I can tell, The Signal app will leak who is talking to
+whom and thus who know who to those controlling the central server,
+but such leakage is hard to avoid with a centrally controlled server
+setup.  It is something to keep in mind when using Signal - the
+content of your chats are harder to intercept, but the meta data
+exposing your contact network is available to people you do not know.
+So better than many options, but not great.  And sadly the usage is
+connected to my land line, thus allowing those controlling the server
+to associate it to my home and person.  I would prefer it if only
+those I knew could tell who I was on Signal.  There are options
+avoiding such information leakage, but most of my friends are not
+using them, so I am stuck with Signal for now.&lt;/p&gt;
+</description>
+       </item>
+       
        <item>
                <title>The new &quot;best&quot; multimedia player in Debian?</title>
                <link>http://people.skolelinux.org/pere/blog/The_new__best__multimedia_player_in_Debian_.html</link>
@@ -465,29 +572,5 @@ support?&lt;/p&gt;
 </description>
        </item>
        
-       <item>
-               <title>The Pyra - handheld computer with Debian preinstalled</title>
-               <link>http://people.skolelinux.org/pere/blog/The_Pyra___handheld_computer_with_Debian_preinstalled.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_Pyra___handheld_computer_with_Debian_preinstalled.html</guid>
-                <pubDate>Wed, 4 May 2016 10:00:00 +0200</pubDate>
-               <description>A friend of mine made me aware of
-&lt;a href=&quot;https://pyra-handheld.com/boards/pages/pyra/&quot;&gt;The Pyra&lt;/a&gt;, a
-handheld computer which will be delivered with Debian preinstalled.  I
-would love to get one of those for my birthday. :)&lt;/p&gt;
-
-&lt;p&gt;The machine is a complete ARM-based PC with micro HDMI, SATA, USB
-plugs and many others connectors, and include a full keyboard and a 5&quot;
-LCD touch screen.  The 6000mAh battery is claimed to provide a whole
-day of battery life time, but I have not seen any independent tests
-confirming this.  The vendor is still collecting preorders, and the
-last I heard last night was that 22 more orders were needed before
-production started.&lt;/p&gt;
-
-&lt;p&gt;As far as I know, this is the first handheld preinstalled with
-Debian.  Please let me know if you know of any others.  Is it the
-first computer being sold with Debian preinstalled?&lt;/p&gt;
-</description>
-       </item>
-       
         </channel>
 </rss>