]> pere.pagekite.me Git - homepage.git/blob - blog/index.rss
Generated.
[homepage.git] / blog / index.rss
1 <?xml version="1.0" encoding="utf-8"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom="http://www.w3.org/2005/Atom">
3 <channel>
4 <title>Petter Reinholdtsen</title>
5 <description></description>
6 <link>http://people.skolelinux.org/pere/blog/</link>
7 <atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
8
9 <item>
10 <title>Mangler du en skrue, eller har du en skrue løs?</title>
11 <link>http://people.skolelinux.org/pere/blog/Mangler_du_en_skrue__eller_har_du_en_skrue_l_s_.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Mangler_du_en_skrue__eller_har_du_en_skrue_l_s_.html</guid>
13 <pubDate>Wed, 4 Oct 2017 09:40:00 +0200</pubDate>
14 <description>Når jeg holder på med ulike prosjekter, så trenger jeg stadig ulike
15 skruer. Det siste prosjektet jeg holder på med er å lage
16 &lt;a href=&quot;https://www.thingiverse.com/thing:676916&quot;&gt;en boks til en
17 HDMI-touch-skjerm&lt;/a&gt; som skal brukes med Raspberry Pi. Boksen settes
18 sammen emed skruer og bolter, og jeg har vært i tvil om hvor jeg kan
19 få tak i de riktige skruene. Clas Ohlson eller Jernia i nærheten har
20 sjelden hatt det jeg trenger. Men her om dagen fikk jeg et fantastisk
21 tips for oss som bor i Oslo.
22 &lt;a href=&quot;http://www.zachskruer.no/&quot;&gt;Zachariassen Jernvare AS&lt;/a&gt; i
23 &lt;a href=&quot;http://www.openstreetmap.org/?mlat=59.93421&amp;mlon=10.76795#map=19/59.93421/10.76795&quot;&gt;Hegermannsgate
24 23A på Torshov&lt;/a&gt; har et fantastisk utvalg, og åpent mellom 09:00 og
25 17:00. De selger skruer, muttere, bolter, skiver etc i løs vekt, og
26 så langt har jeg fått alt jeg har lett etter. De har i tillegg det
27 meste av annen jernvare, som verktøy, lamper, ledninger, etc. Jeg
28 håper de har nok kunder til å holde det gående lenge, da dette er en
29 butikk jeg kommer til å besøke ofte. Butikken er et funn å ha i
30 nabolaget for oss som liker å bygge litt selv. :)&lt;/p&gt;
31 </description>
32 </item>
33
34 <item>
35 <title>Visualizing GSM radio chatter using gr-gsm and Hopglass</title>
36 <link>http://people.skolelinux.org/pere/blog/Visualizing_GSM_radio_chatter_using_gr_gsm_and_Hopglass.html</link>
37 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Visualizing_GSM_radio_chatter_using_gr_gsm_and_Hopglass.html</guid>
38 <pubDate>Fri, 29 Sep 2017 10:30:00 +0200</pubDate>
39 <description>&lt;p&gt;Every mobile phone announce its existence over radio to the nearby
40 mobile cell towers. And this radio chatter is available for anyone
41 with a radio receiver capable of receiving them. Details about the
42 mobile phones with very good accuracy is of course collected by the
43 phone companies, but this is not the topic of this blog post. The
44 mobile phone radio chatter make it possible to figure out when a cell
45 phone is nearby, as it include the SIM card ID (IMSI). By paying
46 attention over time, one can see when a phone arrive and when it leave
47 an area. I believe it would be nice to make this information more
48 available to the general public, to make more people aware of how
49 their phones are announcing their whereabouts to anyone that care to
50 listen.&lt;/p&gt;
51
52 &lt;p&gt;I am very happy to report that we managed to get something
53 visualizing this information up and running for
54 &lt;a href=&quot;http://norwaymakers.org/osf17&quot;&gt;Oslo Skaperfestival 2017&lt;/a&gt;
55 (Oslo Makers Festival) taking place today and tomorrow at Deichmanske
56 library. The solution is based on the
57 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Easier_recipe_to_observe_the_cell_phones_around_you.html&quot;&gt;simple
58 recipe for listening to GSM chatter&lt;/a&gt; I posted a few days ago, and
59 will show up at the stand of &lt;a href=&quot;http://sonen.ifi.uio.no/&quot;&gt;Åpen
60 Sone from the Computer Science department of the University of
61 Oslo&lt;/a&gt;. The presentation will show the nearby mobile phones (aka
62 IMSIs) as dots in a web browser graph, with lines to the dot
63 representing mobile base station it is talking to. It was working in
64 the lab yesterday, and was moved into place this morning.&lt;/p&gt;
65
66 &lt;p&gt;We set up a fairly powerful desktop machine using Debian
67 Buster/Testing with several (five, I believe) RTL2838 DVB-T receivers
68 connected and visualize the visible cell phone towers using an
69 &lt;a href=&quot;https://github.com/marlow925/hopglass&quot;&gt;English version of
70 Hopglass&lt;/a&gt;. A fairly powerfull machine is needed as the
71 grgsm_livemon_headless processes from
72 &lt;a href=&quot;https://tracker.debian.org/pkg/gr-gsm&quot;&gt;gr-gsm&lt;/a&gt; converting
73 the radio signal to data packages is quite CPU intensive.&lt;/p&gt;
74
75 &lt;p&gt;The frequencies to listen to, are identified using a slightly
76 patched scan-and-livemon (to set the --args values for each receiver),
77 and the Hopglass data is generated using the
78 &lt;a href=&quot;https://github.com/petterreinholdtsen/IMSI-catcher/tree/meshviewer-output&quot;&gt;patches
79 in my meshviewer-output branch&lt;/a&gt;. For some reason we could not get
80 more than four SDRs working. There is also a geographical map trying
81 to show the location of the base stations, but I believe their
82 coordinates are hardcoded to some random location in Germany, I
83 believe. The code should be replaced with code to look up location in
84 a text file, a sqlite database or one of the online databases
85 mentioned in
86 &lt;a href=&quot;https://github.com/Oros42/IMSI-catcher/issues/14&quot;&gt;the github
87 issue for the topic&lt;/a&gt;.
88
89 &lt;p&gt;If this sound interesting, visit the stand at the festival!&lt;/p&gt;
90 </description>
91 </item>
92
93 <item>
94 <title>Easier recipe to observe the cell phones around you</title>
95 <link>http://people.skolelinux.org/pere/blog/Easier_recipe_to_observe_the_cell_phones_around_you.html</link>
96 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Easier_recipe_to_observe_the_cell_phones_around_you.html</guid>
97 <pubDate>Sun, 24 Sep 2017 08:30:00 +0200</pubDate>
98 <description>&lt;p&gt;A little more than a month ago I wrote
99 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Simpler_recipe_on_how_to_make_a_simple__7_IMSI_Catcher_using_Debian.html&quot;&gt;how
100 to observe the SIM card ID (aka IMSI number) of mobile phones talking
101 to nearby mobile phone base stations using Debian GNU/Linux and a
102 cheap USB software defined radio&lt;/a&gt;, and thus being able to pinpoint
103 the location of people and equipment (like cars and trains) with an
104 accuracy of a few kilometer. Since then we have worked to make the
105 procedure even simpler, and it is now possible to do this without any
106 manual frequency tuning and without building your own packages.&lt;/p&gt;
107
108 &lt;p&gt;The &lt;a href=&quot;https://tracker.debian.org/pkg/gr-gsm&quot;&gt;gr-gsm&lt;/a&gt;
109 package is now included in Debian testing and unstable, and the
110 IMSI-catcher code no longer require root access to fetch and decode
111 the GSM data collected using gr-gsm.&lt;/p&gt;
112
113 &lt;p&gt;Here is an updated recipe, using packages built by Debian and a git
114 clone of two python scripts:&lt;/p&gt;
115
116 &lt;ol&gt;
117
118 &lt;li&gt;Start with a Debian machine running the Buster version (aka
119 testing).&lt;/li&gt;
120
121 &lt;li&gt;Run &#39;&lt;tt&gt;apt install gr-gsm python-numpy python-scipy
122 python-scapy&lt;/tt&gt;&#39; as root to install required packages.&lt;/li&gt;
123
124 &lt;li&gt;Fetch the code decoding GSM packages using &#39;&lt;tt&gt;git clone
125 github.com/Oros42/IMSI-catcher.git&lt;/tt&gt;&#39;.&lt;/li&gt;
126
127 &lt;li&gt;Insert USB software defined radio supported by GNU Radio.&lt;/li&gt;
128
129 &lt;li&gt;Enter the IMSI-catcher directory and run &#39;&lt;tt&gt;python
130 scan-and-livemon&lt;/tt&gt;&#39; to locate the frequency of nearby base
131 stations and start listening for GSM packages on one of them.&lt;/li&gt;
132
133 &lt;li&gt;Enter the IMSI-catcher directory and run &#39;&lt;tt&gt;python
134 simple_IMSI-catcher.py&lt;/tt&gt;&#39; to display the collected information.&lt;/li&gt;
135
136 &lt;/ol&gt;
137
138 &lt;p&gt;Note, due to a bug somewhere the scan-and-livemon program (actually
139 &lt;a href=&quot;https://github.com/ptrkrysik/gr-gsm/issues/336&quot;&gt;its underlying
140 program grgsm_scanner&lt;/a&gt;) do not work with the HackRF radio. It does
141 work with RTL 8232 and other similar USB radio receivers you can get
142 very cheaply
143 (&lt;a href=&quot;https://www.ebay.com/sch/items/?_nkw=rtl+2832&quot;&gt;for example
144 from ebay&lt;/a&gt;), so for now the solution is to scan using the RTL radio
145 and only use HackRF for fetching GSM data.&lt;/p&gt;
146
147 &lt;p&gt;As far as I can tell, a cell phone only show up on one of the
148 frequencies at the time, so if you are going to track and count every
149 cell phone around you, you need to listen to all the frequencies used.
150 To listen to several frequencies, use the --numrecv argument to
151 scan-and-livemon to use several receivers. Further, I am not sure if
152 phones using 3G or 4G will show as talking GSM to base stations, so
153 this approach might not see all phones around you. I typically see
154 0-400 IMSI numbers an hour when looking around where I live.&lt;/p&gt;
155
156 &lt;p&gt;I&#39;ve tried to run the scanner on a
157 &lt;a href=&quot;https://wiki.debian.org/RaspberryPi&quot;&gt;Raspberry Pi 2 and 3
158 running Debian Buster&lt;/a&gt;, but the grgsm_livemon_headless process seem
159 to be too CPU intensive to keep up. When GNU Radio print &#39;O&#39; to
160 stdout, I am told there it is caused by a buffer overflow between the
161 radio and GNU Radio, caused by the program being unable to read the
162 GSM data fast enough. If you see a stream of &#39;O&#39;s from the terminal
163 where you started scan-and-livemon, you need a give the process more
164 CPU power. Perhaps someone are able to optimize the code to a point
165 where it become possible to set up RPi3 based GSM sniffers? I tried
166 using Raspbian instead of Debian, but there seem to be something wrong
167 with GNU Radio on raspbian, causing glibc to abort().&lt;/p&gt;
168 </description>
169 </item>
170
171 <item>
172 <title>Datalagringsdirektivet kaster skygger over Høyre og Arbeiderpartiet</title>
173 <link>http://people.skolelinux.org/pere/blog/Datalagringsdirektivet_kaster_skygger_over_H_yre_og_Arbeiderpartiet.html</link>
174 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Datalagringsdirektivet_kaster_skygger_over_H_yre_og_Arbeiderpartiet.html</guid>
175 <pubDate>Thu, 7 Sep 2017 21:35:00 +0200</pubDate>
176 <description>&lt;p&gt;For noen dager siden publiserte Jon Wessel-Aas en bloggpost om
177 «&lt;a href=&quot;http://www.uhuru.biz/?p=1821&quot;&gt;Konklusjonen om datalagring som
178 EU-kommisjonen ikke ville at vi skulle få se&lt;/a&gt;». Det er en
179 interessant gjennomgang av EU-domstolens syn på snurpenotovervåkning
180 av befolkningen, som er klar på at det er i strid med
181 EU-lovgivingen.&lt;/p&gt;
182
183 &lt;p&gt;Valgkampen går for fullt i Norge, og om noen få dager er siste
184 frist for å avgi stemme. En ting er sikkert, Høyre og Arbeiderpartiet
185 får ikke min stemme
186 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Datalagringsdirektivet_gj_r_at_Oslo_H_yre_og_Arbeiderparti_ikke_f_r_min_stemme_i__r.html&quot;&gt;denne
187 gangen heller&lt;/a&gt;. Jeg har ikke glemt at de tvang igjennom loven som
188 skulle pålegge alle data- og teletjenesteleverandører å overvåke alle
189 sine kunder. En lov som er vedtatt, og aldri opphevet igjen.&lt;/p&gt;
190
191 &lt;p&gt;Det er tydelig fra diskusjonen rundt grenseløs digital overvåkning
192 (eller &quot;Digital Grenseforsvar&quot; som det kalles i Orvellisk nytale) at
193 hverken Høyre og Arbeiderpartiet har noen prinsipielle sperrer mot å
194 overvåke hele befolkningen, og diskusjonen så langt tyder på at flere
195 av de andre partiene heller ikke har det. Mange av
196 &lt;a href=&quot;https://data.holderdeord.no/votes/1301946411e&quot;&gt;de som stemte
197 for Datalagringsdirektivet i Stortinget&lt;/a&gt; (64 fra Arbeiderpartiet,
198 25 fra Høyre) er fortsatt aktive og argumenterer fortsatt for å radere
199 vekk mer av innbyggernes privatsfære.&lt;/p&gt;
200
201 &lt;p&gt;Når myndighetene demonstrerer sin mistillit til folket, tror jeg
202 folket selv bør legge litt innsats i å verne sitt privatliv, ved å ta
203 i bruk ende-til-ende-kryptert kommunikasjon med sine kjente og kjære,
204 og begrense hvor mye privat informasjon som deles med uvedkommende.
205 Det er jo ingenting som tyder på at myndighetene kommer til å være vår
206 privatsfære.
207 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/How_to_talk_with_your_loved_ones_in_private.html&quot;&gt;Det
208 er mange muligheter&lt;/a&gt;. Selv har jeg litt sans for
209 &lt;a href=&quot;https://ring.cx/&quot;&gt;Ring&lt;/a&gt;, som er basert på p2p-teknologi
210 uten sentral kontroll, er fri programvare, og støtter meldinger, tale
211 og video. Systemet er tilgjengelig ut av boksen fra
212 &lt;a href=&quot;https://tracker.debian.org/pkg/ring&quot;&gt;Debian&lt;/a&gt; og
213 &lt;a href=&quot;https://launchpad.net/ubuntu/+source/ring&quot;&gt;Ubuntu&lt;/a&gt;, og det
214 finnes pakker for Android, MacOSX og Windows. Foreløpig er det få
215 brukere med Ring, slik at jeg også bruker
216 &lt;a href=&quot;https://signal.org/&quot;&gt;Signal&lt;/a&gt; som nettleserutvidelse.&lt;/p&gt;
217 </description>
218 </item>
219
220 <item>
221 <title>Simpler recipe on how to make a simple $7 IMSI Catcher using Debian</title>
222 <link>http://people.skolelinux.org/pere/blog/Simpler_recipe_on_how_to_make_a_simple__7_IMSI_Catcher_using_Debian.html</link>
223 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Simpler_recipe_on_how_to_make_a_simple__7_IMSI_Catcher_using_Debian.html</guid>
224 <pubDate>Wed, 9 Aug 2017 23:59:00 +0200</pubDate>
225 <description>&lt;p&gt;On friday, I came across an interesting article in the Norwegian
226 web based ICT news magazine digi.no on
227 &lt;a href=&quot;https://www.digi.no/artikler/sikkerhetsforsker-lagde-enkel-imsi-catcher-for-60-kroner-na-kan-mobiler-kartlegges-av-alle/398588&quot;&gt;how
228 to collect the IMSI numbers of nearby cell phones&lt;/a&gt; using the cheap
229 DVB-T software defined radios. The article refered to instructions
230 and &lt;a href=&quot;https://www.youtube.com/watch?v=UjwgNd_as30&quot;&gt;a recipe by
231 Keld Norman on Youtube on how to make a simple $7 IMSI Catcher&lt;/a&gt;, and I decided to test them out.&lt;/p&gt;
232
233 &lt;p&gt;The instructions said to use Ubuntu, install pip using apt (to
234 bypass apt), use pip to install pybombs (to bypass both apt and pip),
235 and the ask pybombs to fetch and build everything you need from
236 scratch. I wanted to see if I could do the same on the most recent
237 Debian packages, but this did not work because pybombs tried to build
238 stuff that no longer build with the most recent openssl library or
239 some other version skew problem. While trying to get this recipe
240 working, I learned that the apt-&gt;pip-&gt;pybombs route was a long detour,
241 and the only piece of software dependency missing in Debian was the
242 gr-gsm package. I also found out that the lead upstream developer of
243 gr-gsm (the name stand for GNU Radio GSM) project already had a set of
244 Debian packages provided in an Ubuntu PPA repository. All I needed to
245 do was to dget the Debian source package and built it.&lt;/p&gt;
246
247 &lt;p&gt;The IMSI collector is a python script listening for packages on the
248 loopback network device and printing to the terminal some specific GSM
249 packages with IMSI numbers in them. The code is fairly short and easy
250 to understand. The reason this work is because gr-gsm include a tool
251 to read GSM data from a software defined radio like a DVB-T USB stick
252 and other software defined radios, decode them and inject them into a
253 network device on your Linux machine (using the loopback device by
254 default). This proved to work just fine, and I&#39;ve been testing the
255 collector for a few days now.&lt;/p&gt;
256
257 &lt;p&gt;The updated and simpler recipe is thus to&lt;/p&gt;
258
259 &lt;ol&gt;
260
261 &lt;li&gt;start with a Debian machine running Stretch or newer,&lt;/li&gt;
262
263 &lt;li&gt;build and install the gr-gsm package available from
264 &lt;a href=&quot;http://ppa.launchpad.net/ptrkrysik/gr-gsm/ubuntu/pool/main/g/gr-gsm/&quot;&gt;http://ppa.launchpad.net/ptrkrysik/gr-gsm/ubuntu/pool/main/g/gr-gsm/&lt;/a&gt;,&lt;/li&gt;
265
266 &lt;li&gt;clone the git repostory from &lt;a href=&quot;https://github.com/Oros42/IMSI-catcher&quot;&gt;https://github.com/Oros42/IMSI-catcher&lt;/a&gt;,&lt;/li&gt;
267
268 &lt;li&gt;run grgsm_livemon and adjust the frequency until the terminal
269 where it was started is filled with a stream of text (meaning you
270 found a GSM station).&lt;/li&gt;
271
272 &lt;li&gt;go into the IMSI-catcher directory and run &#39;sudo python simple_IMSI-catcher.py&#39; to extract the IMSI numbers.&lt;/li&gt;
273
274 &lt;/ol&gt;
275
276 &lt;p&gt;To make it even easier in the future to get this sniffer up and
277 running, I decided to package
278 &lt;a href=&quot;https://github.com/ptrkrysik/gr-gsm/&quot;&gt;the gr-gsm project&lt;/a&gt;
279 for Debian (&lt;a href=&quot;https://bugs.debian.org/871055&quot;&gt;WNPP
280 #871055&lt;/a&gt;), and the package was uploaded into the NEW queue today.
281 Luckily the gnuradio maintainer has promised to help me, as I do not
282 know much about gnuradio stuff yet.&lt;/p&gt;
283
284 &lt;p&gt;I doubt this &quot;IMSI cacher&quot; is anywhere near as powerfull as
285 commercial tools like
286 &lt;a href=&quot;https://www.thespyphone.com/portable-imsi-imei-catcher/&quot;&gt;The
287 Spy Phone Portable IMSI / IMEI Catcher&lt;/a&gt; or the
288 &lt;a href=&quot;https://en.wikipedia.org/wiki/Stingray_phone_tracker&quot;&gt;Harris
289 Stingray&lt;/a&gt;, but I hope the existance of cheap alternatives can make
290 more people realise how their whereabouts when carrying a cell phone
291 is easily tracked. Seeing the data flow on the screen, realizing that
292 I live close to a police station and knowing that the police is also
293 wearing cell phones, I wonder how hard it would be for criminals to
294 track the position of the police officers to discover when there are
295 police near by, or for foreign military forces to track the location
296 of the Norwegian military forces, or for anyone to track the location
297 of government officials...&lt;/p&gt;
298
299 &lt;p&gt;It is worth noting that the data reported by the IMSI-catcher
300 script mentioned above is only a fraction of the data broadcasted on
301 the GSM network. It will only collect one frequency at the time,
302 while a typical phone will be using several frequencies, and not all
303 phones will be using the frequencies tracked by the grgsm_livemod
304 program. Also, there is a lot of radio chatter being ignored by the
305 simple_IMSI-catcher script, which would be collected by extending the
306 parser code. I wonder if gr-gsm can be set up to listen to more than
307 one frequency?&lt;/p&gt;
308 </description>
309 </item>
310
311 <item>
312 <title>Norwegian Bokmål edition of Debian Administrator&#39;s Handbook is now available</title>
313 <link>http://people.skolelinux.org/pere/blog/Norwegian_Bokm_l_edition_of_Debian_Administrator_s_Handbook_is_now_available.html</link>
314 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Norwegian_Bokm_l_edition_of_Debian_Administrator_s_Handbook_is_now_available.html</guid>
315 <pubDate>Tue, 25 Jul 2017 21:10:00 +0200</pubDate>
316 <description>&lt;p align=&quot;center&quot;&gt;&lt;img align=&quot;center&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2017-07-25-debian-handbook-nb-testprint.png&quot;/&gt;&lt;/p&gt;
317
318 &lt;p&gt;I finally received a copy of the Norwegian Bokmål edition of
319 &quot;&lt;a href=&quot;https://debian-handbook.info/&quot;&gt;The Debian Administrator&#39;s
320 Handbook&lt;/a&gt;&quot;. This test copy arrived in the mail a few days ago, and
321 I am very happy to hold the result in my hand. We spent around one and a half year translating it. This paperbook edition
322 &lt;a href=&quot;https://debian-handbook.info/get/#norwegian&quot;&gt;is available
323 from lulu.com&lt;/a&gt;. If you buy it quickly, you save 25% on the list
324 price. The book is also available for download in electronic form as
325 PDF, EPUB and Mobipocket, as can be
326 &lt;a href=&quot;https://debian-handbook.info/browse/nb-NO/stable/&quot;&gt;read online
327 as a web page&lt;/a&gt;.&lt;/p&gt;
328
329 &lt;p&gt;This is the second book I publish (the first was the book
330 &quot;&lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture&lt;/a&gt;&quot; by Lawrence Lessig
331 in
332 &lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22440520.html&quot;&gt;English&lt;/a&gt;,
333 &lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-22645082.html&quot;&gt;French&lt;/a&gt;
334 and
335 &lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22441576.html&quot;&gt;Norwegian
336 Bokmål&lt;/a&gt;), and I am very excited to finally wrap up this
337 project. I hope
338 &quot;&lt;a href=&quot;http://www.lulu.com/shop/rapha%C3%ABl-hertzog-and-roland-mas/h%C3%A5ndbok-for-debian-administratoren/paperback/product-23262290.html&quot;&gt;Håndbok
339 for Debian-administratoren&lt;/a&gt;&quot; will be well received.&lt;/p&gt;
340 </description>
341 </item>
342
343 <item>
344 <title>«Rapporten ser ikke på informasjonssikkerhet knyttet til personlig integritet»</title>
345 <link>http://people.skolelinux.org/pere/blog/_Rapporten_ser_ikke_p__informasjonssikkerhet_knyttet_til_personlig_integritet_.html</link>
346 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/_Rapporten_ser_ikke_p__informasjonssikkerhet_knyttet_til_personlig_integritet_.html</guid>
347 <pubDate>Tue, 27 Jun 2017 17:50:00 +0200</pubDate>
348 <description>&lt;p&gt;Jeg kom over teksten
349 «&lt;a href=&quot;https://freedom-to-tinker.com/2017/06/21/killing-car-privacy-by-federal-mandate/&quot;&gt;Killing
350 car privacy by federal mandate&lt;/a&gt;» av Leonid Reyzin på Freedom to
351 Tinker i dag, og det gleder meg å se en god gjennomgang om hvorfor det
352 er et urimelig inngrep i privatsfæren å la alle biler kringkaste sin
353 posisjon og bevegelse via radio. Det omtalte forslaget basert på
354 Dedicated Short Range Communication (DSRC) kalles Basic Safety Message
355 (BSM) i USA og Cooperative Awareness Message (CAM) i Europa, og det
356 norske Vegvesenet er en av de som ser ut til å kunne tenke seg å
357 pålegge alle biler å fjerne nok en bit av innbyggernes privatsfære.
358 Anbefaler alle å lese det som står der.
359
360 &lt;p&gt;Mens jeg tittet litt på DSRC på biler i Norge kom jeg over et sitat
361 jeg synes er illustrativt for hvordan det offentlige Norge håndterer
362 problemstillinger rundt innbyggernes privatsfære i SINTEF-rapporten
363 «&lt;a href=&quot;https://www.sintef.no/publikasjoner/publikasjon/Download/?pubid=SINTEF+A23933&quot;&gt;Informasjonssikkerhet
364 i AutoPASS-brikker&lt;/a&gt;» av Trond Foss:&lt;/p&gt;
365
366 &lt;p&gt;&lt;blockquote&gt;
367 «Rapporten ser ikke på informasjonssikkerhet knyttet til personlig
368 integritet.»
369 &lt;/blockquote&gt;&lt;/p&gt;
370
371 &lt;p&gt;Så enkelt kan det tydeligvis gjøres når en vurderer
372 informasjonssikkerheten. Det holder vel at folkene på toppen kan si
373 at «Personvernet er ivaretatt», som jo er den populære intetsigende
374 frasen som gjør at mange tror enkeltindividers integritet tas vare på.
375 Sitatet fikk meg til å undres på hvor ofte samme tilnærming, å bare se
376 bort fra behovet for personlig itegritet, blir valgt når en velger å
377 legge til rette for nok et inngrep i privatsfæren til personer i
378 Norge. Det er jo sjelden det får reaksjoner. Historien om
379 reaksjonene på Helse Sør-Østs tjenesteutsetting er jo sørgelig nok et
380 unntak og toppen av isfjellet, desverre. Tror jeg fortsatt takker nei
381 til både AutoPASS og holder meg så langt unna det norske helsevesenet
382 som jeg kan, inntil de har demonstrert og dokumentert at de verdsetter
383 individets privatsfære og personlige integritet høyere enn kortsiktig
384 gevist og samfunnsnytte.&lt;/p&gt;
385 </description>
386 </item>
387
388 <item>
389 <title>Updated sales number for my Free Culture paper editions</title>
390 <link>http://people.skolelinux.org/pere/blog/Updated_sales_number_for_my_Free_Culture_paper_editions.html</link>
391 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Updated_sales_number_for_my_Free_Culture_paper_editions.html</guid>
392 <pubDate>Mon, 12 Jun 2017 11:40:00 +0200</pubDate>
393 <description>&lt;p&gt;It is pleasing to see that the work we put down in publishing new
394 editions of the classic &lt;a href=&quot;http://www.free-culture.cc/&quot;&gt;Free
395 Culture book&lt;/a&gt; by the founder of the Creative Commons movement,
396 Lawrence Lessig, is still being appreciated. I had a look at the
397 latest sales numbers for the paper edition today. Not too impressive,
398 but happy to see some buyers still exist. All the revenue from the
399 books is sent to the &lt;a href=&quot;https://creativecommons.org/&quot;&gt;Creative
400 Commons Corporation&lt;/a&gt;, and they receive the largest cut if you buy
401 directly from Lulu. Most books are sold via Amazon, with Ingram
402 second and only a small fraction directly from Lulu. The ebook
403 edition is available for free from
404 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;Github&lt;/a&gt;.&lt;/p&gt;
405
406 &lt;table border=&quot;0&quot;&gt;
407 &lt;tr&gt;&lt;th rowspan=&quot;2&quot; valign=&quot;bottom&quot;&gt;Title / language&lt;/th&gt;&lt;th colspan=&quot;3&quot;&gt;Quantity&lt;/th&gt;&lt;/tr&gt;
408 &lt;tr&gt;&lt;th&gt;2016 jan-jun&lt;/th&gt;&lt;th&gt;2016 jul-dec&lt;/th&gt;&lt;th&gt;2017 jan-may&lt;/th&gt;&lt;/tr&gt;
409
410 &lt;tr&gt;
411 &lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-22645082.html&quot;&gt;Culture Libre / French&lt;/a&gt;&lt;/td&gt;
412 &lt;td align=&quot;right&quot;&gt;3&lt;/td&gt;
413 &lt;td align=&quot;right&quot;&gt;6&lt;/td&gt;
414 &lt;td align=&quot;right&quot;&gt;15&lt;/td&gt;
415 &lt;/tr&gt;
416
417 &lt;tr&gt;
418 &lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22441576.html&quot;&gt;Fri kultur / Norwegian&lt;/a&gt;&lt;/td&gt;
419 &lt;td align=&quot;right&quot;&gt;7&lt;/td&gt;
420 &lt;td align=&quot;right&quot;&gt;1&lt;/td&gt;
421 &lt;td align=&quot;right&quot;&gt;0&lt;/td&gt;
422 &lt;/tr&gt;
423
424 &lt;tr&gt;
425 &lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22440520.html&quot;&gt;Free Culture / English&lt;/a&gt;&lt;/td&gt;
426 &lt;td align=&quot;right&quot;&gt;14&lt;/td&gt;
427 &lt;td align=&quot;right&quot;&gt;27&lt;/td&gt;
428 &lt;td align=&quot;right&quot;&gt;16&lt;/td&gt;
429 &lt;/tr&gt;
430
431 &lt;tr&gt;
432 &lt;td&gt;Total&lt;/td&gt;
433 &lt;td align=&quot;right&quot;&gt;24&lt;/td&gt;
434 &lt;td align=&quot;right&quot;&gt;34&lt;/td&gt;
435 &lt;td align=&quot;right&quot;&gt;31&lt;/td&gt;
436 &lt;/tr&gt;
437
438 &lt;/table&gt;
439
440 &lt;p&gt;A bit sad to see the low sales number on the Norwegian edition, and
441 a bit surprising the English edition still selling so well.&lt;/p&gt;
442
443 &lt;p&gt;If you would like to translate and publish the book in your native
444 language, I would be happy to help make it happen. Please get in
445 touch.&lt;/p&gt;
446 </description>
447 </item>
448
449 <item>
450 <title>Release 0.1.1 of free software archive system Nikita announced</title>
451 <link>http://people.skolelinux.org/pere/blog/Release_0_1_1_of_free_software_archive_system_Nikita_announced.html</link>
452 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Release_0_1_1_of_free_software_archive_system_Nikita_announced.html</guid>
453 <pubDate>Sat, 10 Jun 2017 00:40:00 +0200</pubDate>
454 <description>&lt;p&gt;I am very happy to report that the
455 &lt;a href=&quot;https://github.com/hiOA-ABI/nikita-noark5-core&quot;&gt;Nikita Noark 5
456 core project&lt;/a&gt; tagged its second release today. The free software
457 solution is an implementation of the Norwegian archive standard Noark
458 5 used by government offices in Norway. These were the changes in
459 version 0.1.1 since version 0.1.0 (from NEWS.md):
460
461 &lt;ul&gt;
462
463 &lt;li&gt;Continued work on the angularjs GUI, including document upload.&lt;/li&gt;
464 &lt;li&gt;Implemented correspondencepartPerson, correspondencepartUnit and
465 correspondencepartInternal&lt;/li&gt;
466 &lt;li&gt;Applied for coverity coverage and started submitting code on
467 regualr basis.&lt;/li&gt;
468 &lt;li&gt;Started fixing bugs reported by coverity&lt;/li&gt;
469 &lt;li&gt;Corrected and completed HATEOAS links to make sure entire API is
470 available via URLs in _links.&lt;/li&gt;
471 &lt;li&gt;Corrected all relation URLs to use trailing slash.&lt;/li&gt;
472 &lt;li&gt;Add initial support for storing data in ElasticSearch.&lt;/li&gt;
473 &lt;li&gt;Now able to receive and store uploaded files in the archive.&lt;/li&gt;
474 &lt;li&gt;Changed JSON output for object lists to have relations in _links.&lt;/li&gt;
475 &lt;li&gt;Improve JSON output for empty object lists.&lt;/li&gt;
476 &lt;li&gt;Now uses correct MIME type application/vnd.noark5-v4+json.&lt;/li&gt;
477 &lt;li&gt;Added support for docker container images.&lt;/li&gt;
478 &lt;li&gt;Added simple API browser implemented in JavaScript/Angular.&lt;/li&gt;
479 &lt;li&gt;Started on archive client implemented in JavaScript/Angular.&lt;/li&gt;
480 &lt;li&gt;Started on prototype to show the public mail journal.&lt;/li&gt;
481 &lt;li&gt;Improved performance by disabling Sprint FileWatcher.&lt;/li&gt;
482 &lt;li&gt;Added support for &#39;arkivskaper&#39;, &#39;saksmappe&#39; and &#39;journalpost&#39;.&lt;/li&gt;
483 &lt;li&gt;Added support for some metadata codelists.&lt;/li&gt;
484 &lt;li&gt;Added support for Cross-origin resource sharing (CORS).&lt;/li&gt;
485 &lt;li&gt;Changed login method from Basic Auth to JSON Web Token (RFC 7519)
486 style.&lt;/li&gt;
487 &lt;li&gt;Added support for GET-ing ny-* URLs.&lt;/li&gt;
488 &lt;li&gt;Added support for modifying entities using PUT and eTag.&lt;/li&gt;
489 &lt;li&gt;Added support for returning XML output on request.&lt;/li&gt;
490 &lt;li&gt;Removed support for English field and class names, limiting ourself
491 to the official names.&lt;/li&gt;
492 &lt;li&gt;...&lt;/li&gt;
493
494 &lt;/ul&gt;
495
496 &lt;p&gt;If this sound interesting to you, please contact us on IRC (#nikita
497 on irc.freenode.net) or email
498 (&lt;a href=&quot;https://lists.nuug.no/mailman/listinfo/nikita-noark&quot;&gt;nikita-noark
499 mailing list).&lt;/p&gt;
500 </description>
501 </item>
502
503 <item>
504 <title>Idea for storing trusted timestamps in a Noark 5 archive</title>
505 <link>http://people.skolelinux.org/pere/blog/Idea_for_storing_trusted_timestamps_in_a_Noark_5_archive.html</link>
506 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Idea_for_storing_trusted_timestamps_in_a_Noark_5_archive.html</guid>
507 <pubDate>Wed, 7 Jun 2017 21:40:00 +0200</pubDate>
508 <description>&lt;p&gt;&lt;em&gt;This is a copy of
509 &lt;a href=&quot;https://lists.nuug.no/pipermail/nikita-noark/2017-June/000297.html&quot;&gt;an
510 email I posted to the nikita-noark mailing list&lt;/a&gt;. Please follow up
511 there if you would like to discuss this topic. The background is that
512 we are making a free software archive system based on the Norwegian
513 &lt;a href=&quot;https://www.arkivverket.no/forvaltning-og-utvikling/regelverk-og-standarder/noark-standarden&quot;&gt;Noark
514 5 standard&lt;/a&gt; for government archives.&lt;/em&gt;&lt;/p&gt;
515
516 &lt;p&gt;I&#39;ve been wondering a bit lately how trusted timestamps could be
517 stored in Noark 5.
518 &lt;a href=&quot;https://en.wikipedia.org/wiki/Trusted_timestamping&quot;&gt;Trusted
519 timestamps&lt;/a&gt; can be used to verify that some information
520 (document/file/checksum/metadata) have not been changed since a
521 specific time in the past. This is useful to verify the integrity of
522 the documents in the archive.&lt;/p&gt;
523
524 &lt;p&gt;Then it occured to me, perhaps the trusted timestamps could be
525 stored as dokument variants (ie dokumentobjekt referered to from
526 dokumentbeskrivelse) with the filename set to the hash it is
527 stamping?&lt;/p&gt;
528
529 &lt;p&gt;Given a &quot;dokumentbeskrivelse&quot; with an associated &quot;dokumentobjekt&quot;,
530 a new dokumentobjekt is associated with &quot;dokumentbeskrivelse&quot; with the
531 same attributes as the stamped dokumentobjekt except these
532 attributes:&lt;/p&gt;
533
534 &lt;ul&gt;
535
536 &lt;li&gt;format -&gt; &quot;RFC3161&quot;
537 &lt;li&gt;mimeType -&gt; &quot;application/timestamp-reply&quot;
538 &lt;li&gt;formatDetaljer -&gt; &quot;&amp;lt;source URL for timestamp service&amp;gt;&quot;
539 &lt;li&gt;filenavn -&gt; &quot;&amp;lt;sjekksum&amp;gt;.tsr&quot;
540
541 &lt;/ul&gt;
542
543 &lt;p&gt;This assume a service following
544 &lt;a href=&quot;https://tools.ietf.org/html/rfc3161&quot;&gt;IETF RFC 3161&lt;/a&gt; is
545 used, which specifiy the given MIME type for replies and the .tsr file
546 ending for the content of such trusted timestamp. As far as I can
547 tell from the Noark 5 specifications, it is OK to have several
548 variants/renderings of a dokument attached to a given
549 dokumentbeskrivelse objekt. It might be stretching it a bit to make
550 some of these variants represent crypto-signatures useful for
551 verifying the document integrity instead of representing the dokument
552 itself.&lt;/p&gt;
553
554 &lt;p&gt;Using the source of the service in formatDetaljer allow several
555 timestamping services to be used. This is useful to spread the risk
556 of key compromise over several organisations. It would only be a
557 problem to trust the timestamps if all of the organisations are
558 compromised.&lt;/p&gt;
559
560 &lt;p&gt;The following oneliner on Linux can be used to generate the tsr
561 file. $input is the path to the file to checksum, and $sha256 is the
562 SHA-256 checksum of the file (ie the &quot;&lt;sjekksum&gt;.tsr&quot; value mentioned
563 above).&lt;/p&gt;
564
565 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
566 openssl ts -query -data &quot;$inputfile&quot; -cert -sha256 -no_nonce \
567 | curl -s -H &quot;Content-Type: application/timestamp-query&quot; \
568 --data-binary &quot;@-&quot; http://zeitstempel.dfn.de &gt; $sha256.tsr
569 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
570
571 &lt;p&gt;To verify the timestamp, you first need to download the public key
572 of the trusted timestamp service, for example using this command:&lt;/p&gt;
573
574 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
575 wget -O ca-cert.txt \
576 https://pki.pca.dfn.de/global-services-ca/pub/cacert/chain.txt
577 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
578
579 &lt;p&gt;Note, the public key should be stored alongside the timestamps in
580 the archive to make sure it is also available 100 years from now. It
581 is probably a good idea to standardise how and were to store such
582 public keys, to make it easier to find for those trying to verify
583 documents 100 or 1000 years from now. :)&lt;/p&gt;
584
585 &lt;p&gt;The verification itself is a simple openssl command:&lt;/p&gt;
586
587 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
588 openssl ts -verify -data $inputfile -in $sha256.tsr \
589 -CAfile ca-cert.txt -text
590 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
591
592 &lt;p&gt;Is there any reason this approach would not work? Is it somehow against
593 the Noark 5 specification?&lt;/p&gt;
594 </description>
595 </item>
596
597 </channel>
598 </rss>