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">
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" />
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 <a href=
"https://www.thingiverse.com/thing:
676916">en boks til en
17 HDMI-touch-skjerm
</a
> 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 <a href=
"http://www.zachskruer.no/
">Zachariassen Jernvare AS
</a
> i
23 <a href=
"http://www.openstreetmap.org/?mlat=
59.93421&mlon=
10.76795#map=
19/
59.93421/
10.76795">Hegermannsgate
24 23A på Torshov
</a
> 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. :)
</p
>
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><p
>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
52 <p
>I am very happy to report that we managed to get something
53 visualizing this information up and running for
54 <a href=
"http://norwaymakers.org/osf17
">Oslo Skaperfestival
2017</a
>
55 (Oslo Makers Festival) taking place today and tomorrow at Deichmanske
56 library. The solution is based on the
57 <a href=
"http://people.skolelinux.org/pere/blog/Easier_recipe_to_observe_the_cell_phones_around_you.html
">simple
58 recipe for listening to GSM chatter
</a
> I posted a few days ago, and
59 will show up at the stand of
<a href=
"http://sonen.ifi.uio.no/
">Åpen
60 Sone from the Computer Science department of the University of
61 Oslo
</a
>. 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.
</p
>
66 <p
>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 <a href=
"https://github.com/marlow925/hopglass
">English version of
70 Hopglass
</a
>. A fairly powerfull machine is needed as the
71 grgsm_livemon_headless processes from
72 <a href=
"https://tracker.debian.org/pkg/gr-gsm
">gr-gsm
</a
> converting
73 the radio signal to data packages is quite CPU intensive.
</p
>
75 <p
>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 <a href=
"https://github.com/petterreinholdtsen/IMSI-catcher/tree/meshviewer-output
">patches
79 in my meshviewer-output branch
</a
>. 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
86 <a href=
"https://github.com/Oros42/IMSI-catcher/issues/
14">the github
87 issue for the topic
</a
>.
89 <p
>If this sound interesting, visit the stand at the festival!
</p
>
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><p
>A little more than a month ago I wrote
99 <a href=
"http://people.skolelinux.org/pere/blog/Simpler_recipe_on_how_to_make_a_simple__7_IMSI_Catcher_using_Debian.html
">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
</a
>, 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.
</p
>
108 <p
>The
<a href=
"https://tracker.debian.org/pkg/gr-gsm
">gr-gsm
</a
>
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.
</p
>
113 <p
>Here is an updated recipe, using packages built by Debian and a git
114 clone of two python scripts:
</p
>
118 <li
>Start with a Debian machine running the Buster version (aka
121 <li
>Run
'<tt
>apt install gr-gsm python-numpy python-scipy
122 python-scapy
</tt
>' as root to install required packages.
</li
>
124 <li
>Fetch the code decoding GSM packages using
'<tt
>git clone
125 github.com/Oros42/IMSI-catcher.git
</tt
>'.
</li
>
127 <li
>Insert USB software defined radio supported by GNU Radio.
</li
>
129 <li
>Enter the IMSI-catcher directory and run
'<tt
>python
130 scan-and-livemon
</tt
>' to locate the frequency of nearby base
131 stations and start listening for GSM packages on one of them.
</li
>
133 <li
>Enter the IMSI-catcher directory and run
'<tt
>python
134 simple_IMSI-catcher.py
</tt
>' to display the collected information.
</li
>
138 <p
>Note, due to a bug somewhere the scan-and-livemon program (actually
139 <a href=
"https://github.com/ptrkrysik/gr-gsm/issues/
336">its underlying
140 program grgsm_scanner
</a
>) do not work with the HackRF radio. It does
141 work with RTL
8232 and other similar USB radio receivers you can get
143 (
<a href=
"https://www.ebay.com/sch/items/?_nkw=rtl+
2832">for example
144 from ebay
</a
>), so for now the solution is to scan using the RTL radio
145 and only use HackRF for fetching GSM data.
</p
>
147 <p
>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.
</p
>
156 <p
>I
've tried to run the scanner on a
157 <a href=
"https://wiki.debian.org/RaspberryPi
">Raspberry Pi
2 and
3
158 running Debian Buster
</a
>, but the grgsm_livemon_headless process seem
159 to be too CPU intensive to keep up. When GNU Radio print
'O
' 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
'O
'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().
</p
>
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><p
>For noen dager siden publiserte Jon Wessel-Aas en bloggpost om
177 «
<a href=
"http://www.uhuru.biz/?p=
1821">Konklusjonen om datalagring som
178 EU-kommisjonen ikke ville at vi skulle få se
</a
>». 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.
</p
>
183 <p
>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
186 <a href=
"http://people.skolelinux.org/pere/blog/Datalagringsdirektivet_gj_r_at_Oslo_H_yre_og_Arbeiderparti_ikke_f_r_min_stemme_i__r.html
">denne
187 gangen heller
</a
>. 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.
</p
>
191 <p
>Det er tydelig fra diskusjonen rundt grenseløs digital overvåkning
192 (eller
"Digital Grenseforsvar
" 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 <a href=
"https://data.holderdeord.no/votes/
1301946411e
">de som stemte
197 for Datalagringsdirektivet i Stortinget
</a
> (
64 fra Arbeiderpartiet,
198 25 fra Høyre) er fortsatt aktive og argumenterer fortsatt for å radere
199 vekk mer av innbyggernes privatsfære.
</p
>
201 <p
>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
207 <a href=
"http://people.skolelinux.org/pere/blog/How_to_talk_with_your_loved_ones_in_private.html
">Det
208 er mange muligheter
</a
>. Selv har jeg litt sans for
209 <a href=
"https://ring.cx/
">Ring
</a
>, 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 <a href=
"https://tracker.debian.org/pkg/ring
">Debian
</a
> og
213 <a href=
"https://launchpad.net/ubuntu/+source/ring
">Ubuntu
</a
>, 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 <a href=
"https://signal.org/
">Signal
</a
> som nettleserutvidelse.
</p
>
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><p
>On friday, I came across an interesting article in the Norwegian
226 web based ICT news magazine digi.no on
227 <a href=
"https://www.digi.no/artikler/sikkerhetsforsker-lagde-enkel-imsi-catcher-for-
60-kroner-na-kan-mobiler-kartlegges-av-alle/
398588">how
228 to collect the IMSI numbers of nearby cell phones
</a
> using the cheap
229 DVB-T software defined radios. The article refered to instructions
230 and
<a href=
"https://www.youtube.com/watch?v=UjwgNd_as30
">a recipe by
231 Keld Norman on Youtube on how to make a simple $
7 IMSI Catcher
</a
>, and I decided to test them out.
</p
>
233 <p
>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-
>pip-
>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.
</p
>
247 <p
>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
've been testing the
255 collector for a few days now.
</p
>
257 <p
>The updated and simpler recipe is thus to
</p
>
261 <li
>start with a Debian machine running Stretch or newer,
</li
>
263 <li
>build and install the gr-gsm package available from
264 <a href=
"http://ppa.launchpad.net/ptrkrysik/gr-gsm/ubuntu/pool/main/g/gr-gsm/
">http://ppa.launchpad.net/ptrkrysik/gr-gsm/ubuntu/pool/main/g/gr-gsm/
</a
>,
</li
>
266 <li
>clone the git repostory from
<a href=
"https://github.com/Oros42/IMSI-catcher
">https://github.com/Oros42/IMSI-catcher
</a
>,
</li
>
268 <li
>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).
</li
>
272 <li
>go into the IMSI-catcher directory and run
'sudo python simple_IMSI-catcher.py
' to extract the IMSI numbers.
</li
>
276 <p
>To make it even easier in the future to get this sniffer up and
277 running, I decided to package
278 <a href=
"https://github.com/ptrkrysik/gr-gsm/
">the gr-gsm project
</a
>
279 for Debian (
<a href=
"https://bugs.debian.org/
871055">WNPP
280 #
871055</a
>), 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.
</p
>
284 <p
>I doubt this
"IMSI cacher
" is anywhere near as powerfull as
285 commercial tools like
286 <a href=
"https://www.thespyphone.com/portable-imsi-imei-catcher/
">The
287 Spy Phone Portable IMSI / IMEI Catcher
</a
> or the
288 <a href=
"https://en.wikipedia.org/wiki/Stingray_phone_tracker
">Harris
289 Stingray
</a
>, 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...
</p
>
299 <p
>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?
</p
>
312 <title>Norwegian Bokmål edition of Debian Administrator
'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><p align=
"center
"><img align=
"center
" src=
"http://people.skolelinux.org/pere/blog/images/
2017-
07-
25-debian-handbook-nb-testprint.png
"/
></p
>
318 <p
>I finally received a copy of the Norwegian Bokmål edition of
319 "<a href=
"https://debian-handbook.info/
">The Debian Administrator
's
320 Handbook
</a
>". 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 <a href=
"https://debian-handbook.info/get/#norwegian
">is available
323 from lulu.com
</a
>. 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 <a href=
"https://debian-handbook.info/browse/nb-NO/stable/
">read online
327 as a web page
</a
>.
</p
>
329 <p
>This is the second book I publish (the first was the book
330 "<a href=
"http://free-culture.cc/
">Free Culture
</a
>" by Lawrence Lessig
332 <a href=
"http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-
22440520.html
">English
</a
>,
333 <a href=
"http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-
22645082.html
">French
</a
>
335 <a href=
"http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-
22441576.html
">Norwegian
336 Bokmål
</a
>), and I am very excited to finally wrap up this
338 "<a href=
"http://www.lulu.com/shop/rapha%C3%ABl-hertzog-and-roland-mas/h%C3%A5ndbok-for-debian-administratoren/paperback/product-
23262290.html
">Håndbok
339 for Debian-administratoren
</a
>" will be well received.
</p
>
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><p
>Jeg kom over teksten
349 «
<a href=
"https://freedom-to-tinker.com/
2017/
06/
21/killing-car-privacy-by-federal-mandate/
">Killing
350 car privacy by federal mandate
</a
>» 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.
360 <p
>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 «
<a href=
"https://www.sintef.no/publikasjoner/publikasjon/Download/?pubid=SINTEF+A23933
">Informasjonssikkerhet
364 i AutoPASS-brikker
</a
>» av Trond Foss:
</p
>
366 <p
><blockquote
>
367 «Rapporten ser ikke på informasjonssikkerhet knyttet til personlig
369 </blockquote
></p
>
371 <p
>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.
</p
>
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><p
>It is pleasing to see that the work we put down in publishing new
394 editions of the classic
<a href=
"http://www.free-culture.cc/
">Free
395 Culture book
</a
> 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
<a href=
"https://creativecommons.org/
">Creative
400 Commons Corporation
</a
>, 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 <a href=
"https://github.com/petterreinholdtsen/free-culture-lessig
">Github
</a
>.
</p
>
406 <table border=
"0">
407 <tr
><th rowspan=
"2" valign=
"bottom
">Title / language
</th
><th colspan=
"3">Quantity
</th
></tr
>
408 <tr
><th
>2016 jan-jun
</th
><th
>2016 jul-dec
</th
><th
>2017 jan-may
</th
></tr
>
411 <td
><a href=
"http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-
22645082.html
">Culture Libre / French
</a
></td
>
412 <td align=
"right
">3</td
>
413 <td align=
"right
">6</td
>
414 <td align=
"right
">15</td
>
418 <td
><a href=
"http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-
22441576.html
">Fri kultur / Norwegian
</a
></td
>
419 <td align=
"right
">7</td
>
420 <td align=
"right
">1</td
>
421 <td align=
"right
">0</td
>
425 <td
><a href=
"http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-
22440520.html
">Free Culture / English
</a
></td
>
426 <td align=
"right
">14</td
>
427 <td align=
"right
">27</td
>
428 <td align=
"right
">16</td
>
432 <td
>Total
</td
>
433 <td align=
"right
">24</td
>
434 <td align=
"right
">34</td
>
435 <td align=
"right
">31</td
>
440 <p
>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.
</p
>
443 <p
>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
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><p
>I am very happy to report that the
455 <a href=
"https://github.com/hiOA-ABI/nikita-noark5-core
">Nikita Noark
5
456 core project
</a
> 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):
463 <li
>Continued work on the angularjs GUI, including document upload.
</li
>
464 <li
>Implemented correspondencepartPerson, correspondencepartUnit and
465 correspondencepartInternal
</li
>
466 <li
>Applied for coverity coverage and started submitting code on
467 regualr basis.
</li
>
468 <li
>Started fixing bugs reported by coverity
</li
>
469 <li
>Corrected and completed HATEOAS links to make sure entire API is
470 available via URLs in _links.
</li
>
471 <li
>Corrected all relation URLs to use trailing slash.
</li
>
472 <li
>Add initial support for storing data in ElasticSearch.
</li
>
473 <li
>Now able to receive and store uploaded files in the archive.
</li
>
474 <li
>Changed JSON output for object lists to have relations in _links.
</li
>
475 <li
>Improve JSON output for empty object lists.
</li
>
476 <li
>Now uses correct MIME type application/vnd.noark5-v4+json.
</li
>
477 <li
>Added support for docker container images.
</li
>
478 <li
>Added simple API browser implemented in JavaScript/Angular.
</li
>
479 <li
>Started on archive client implemented in JavaScript/Angular.
</li
>
480 <li
>Started on prototype to show the public mail journal.
</li
>
481 <li
>Improved performance by disabling Sprint FileWatcher.
</li
>
482 <li
>Added support for
'arkivskaper
',
'saksmappe
' and
'journalpost
'.
</li
>
483 <li
>Added support for some metadata codelists.
</li
>
484 <li
>Added support for Cross-origin resource sharing (CORS).
</li
>
485 <li
>Changed login method from Basic Auth to JSON Web Token (RFC
7519)
487 <li
>Added support for GET-ing ny-* URLs.
</li
>
488 <li
>Added support for modifying entities using PUT and eTag.
</li
>
489 <li
>Added support for returning XML output on request.
</li
>
490 <li
>Removed support for English field and class names, limiting ourself
491 to the official names.
</li
>
492 <li
>...
</li
>
496 <p
>If this sound interesting to you, please contact us on IRC (#nikita
497 on irc.freenode.net) or email
498 (
<a href=
"https://lists.nuug.no/mailman/listinfo/nikita-noark
">nikita-noark
499 mailing list).
</p
>
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><p
><em
>This is a copy of
509 <a href=
"https://lists.nuug.no/pipermail/nikita-noark/
2017-June/
000297.html
">an
510 email I posted to the nikita-noark mailing list
</a
>. 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 <a href=
"https://www.arkivverket.no/forvaltning-og-utvikling/regelverk-og-standarder/noark-standarden
">Noark
514 5 standard
</a
> for government archives.
</em
></p
>
516 <p
>I
've been wondering a bit lately how trusted timestamps could be
518 <a href=
"https://en.wikipedia.org/wiki/Trusted_timestamping
">Trusted
519 timestamps
</a
> 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.
</p
>
524 <p
>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
529 <p
>Given a
"dokumentbeskrivelse
" with an associated
"dokumentobjekt
",
530 a new dokumentobjekt is associated with
"dokumentbeskrivelse
" with the
531 same attributes as the stamped dokumentobjekt except these
532 attributes:
</p
>
536 <li
>format -
> "RFC3161
"
537 <li
>mimeType -
> "application/timestamp-reply
"
538 <li
>formatDetaljer -
> "&lt;source URL for timestamp service
&gt;
"
539 <li
>filenavn -
> "&lt;sjekksum
&gt;.tsr
"
543 <p
>This assume a service following
544 <a href=
"https://tools.ietf.org/html/rfc3161
">IETF RFC
3161</a
> 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
554 <p
>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.
</p
>
560 <p
>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
"<sjekksum
>.tsr
" value mentioned
565 <p
><blockquote
><pre
>
566 openssl ts -query -data
"$inputfile
" -cert -sha256 -no_nonce \
567 | curl -s -H
"Content-Type: application/timestamp-query
" \
568 --data-binary
"@-
" http://zeitstempel.dfn.de
> $sha256.tsr
569 </pre
></blockquote
></p
>
571 <p
>To verify the timestamp, you first need to download the public key
572 of the trusted timestamp service, for example using this command:
</p
>
574 <p
><blockquote
><pre
>
575 wget -O ca-cert.txt \
576 https://pki.pca.dfn.de/global-services-ca/pub/cacert/chain.txt
577 </pre
></blockquote
></p
>
579 <p
>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. :)
</p
>
585 <p
>The verification itself is a simple openssl command:
</p
>
587 <p
><blockquote
><pre
>
588 openssl ts -verify -data $inputfile -in $sha256.tsr \
589 -CAfile ca-cert.txt -text
590 </pre
></blockquote
></p
>
592 <p
>Is there any reason this approach would not work? Is it somehow against
593 the Noark
5 specification?
</p
>