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