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