1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" dir=
"ltr">
5 <meta http-equiv=
"Content-Type" content=
"text/html;charset=utf-8" />
6 <title>Petter Reinholdtsen: entries from March
2014</title>
7 <link rel=
"stylesheet" type=
"text/css" media=
"screen" href=
"http://people.skolelinux.org/pere/blog/style.css" />
8 <link rel=
"stylesheet" type=
"text/css" media=
"screen" href=
"http://people.skolelinux.org/pere/blog/vim.css" />
9 <link rel=
"alternate" title=
"RSS Feed" href=
"03.rss" type=
"application/rss+xml" />
15 <a href=
"http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen
</a>
22 <h3>Entries from March
2014.
</h3>
26 <a href=
"http://people.skolelinux.org/pere/blog/Dokumentaren_om_Datalagringsdirektivet_sendes_endelig_p__NRK.html">Dokumentaren om Datalagringsdirektivet sendes endelig på NRK
</a>
32 <p><a href=
"http://www.nuug.no/">Foreningen NUUG
</a> melder i natt at
33 NRK nå har bestemt seg for
34 <a href=
"http://www.nuug.no/news/NRK_viser_filmen_om_Datalagringsdirektivet_f_rste_gang_2014_03_31.shtml">når
35 den norske dokumentarfilmen om datalagringsdirektivet skal
36 sendes
</a> (se
<a href=
"http://www.imdb.com/title/tt2832844/">IMDB
</a>
37 for detaljer om filmen) . Første visning blir på NRK2 mandag
38 2014-
03-
31 kl.
19:
50, og deretter visninger onsdag
2014-
04-
02
39 kl.
12:
30, fredag
2014-
04-
04 kl.
19:
40 og søndag
2014-
04-
06 kl.
15:
10.
40 Jeg har sett dokumentaren, og jeg anbefaler enhver å se den selv. Som
41 oppvarming mens vi venter anbefaler jeg Bjørn Stærks kronikk i
42 Aftenposten fra i går,
43 <a href=
"http://www.aftenposten.no/meninger/kronikker/Autoritar-gjokunge-7514915.html">Autoritær
44 gjøkunge
</a>, der han gir en grei skisse av hvor ille det står til med
45 retten til privatliv og beskyttelsen av demokrati i Norge og resten
46 verden, og helt riktig slår fast at det er vi i databransjen som
47 sitter med nøkkelen til å gjøre noe med dette. Jeg har involvert meg
48 i prosjektene
<a href=
"http://www.dugnadsnett.no/">dugnadsnett.no
</a>
49 og
<a href=
"https://wiki.debian.org/FreedomBox">FreedomBox
</a> for å
50 forsøke å gjøre litt selv for å bedre situasjonen, men det er mye
51 hardt arbeid fra mange flere enn meg som gjenstår før vi kan sies å ha
52 gjenopprettet balansen.
</p>
54 <p>Jeg regner med at nettutgaven dukker opp på
55 <a href=
"http://tv.nrk.no/program/koid75005313/tema-dine-digitale-spor-datalagringsdirektivet">NRKs
56 side om filmen om datalagringsdirektivet
</a> om frem dager. Hold et
57 øye med siden, og tips venner og slekt om at de også bør se den.
</p>
63 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/freedombox">freedombox
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/mesh network">mesh network
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance
</a>.
68 <div class=
"padding"></div>
72 <a href=
"http://people.skolelinux.org/pere/blog/Public_Trusted_Timestamping_services_for_everyone.html">Public Trusted Timestamping services for everyone
</a>
78 <p>Did you ever need to store logs or other files in a way that would
79 allow it to be used as evidence in court, and needed a way to
80 demonstrate without reasonable doubt that the file had not been
81 changed since it was created? Or, did you ever need to document that
82 a given document was received at some point in time, like some
83 archived document or the answer to an exam, and not changed after it
84 was received? The problem in these settings is to remove the need to
85 trust yourself and your computers, while still being able to prove
86 that a file is the same as it was at some given time in the past.
</p>
88 <p>A solution to these problems is to have a trusted third party
89 "stamp" the document and verify that at some given time the document
90 looked a given way. Such
91 <a href=
"https://en.wikipedia.org/wiki/Notarius">notarius
</a> service
92 have been around for thousands of years, and its digital equivalent is
94 <a href=
"http://en.wikipedia.org/wiki/Trusted_timestamping">trusted
95 timestamping service
</a>.
<a href=
"http://www.ietf.org/">The Internet
96 Engineering Task Force
</a> standardised how such service could work a
97 few years ago as
<a href=
"http://tools.ietf.org/html/rfc3161">RFC
98 3161</a>. The mechanism is simple. Create a hash of the file in
99 question, send it to a trusted third party which add a time stamp to
100 the hash and sign the result with its private key, and send back the
101 signed hash + timestamp. Both email, FTP and HTTP can be used to
102 request such signature, depending on what is provided by the service
103 used. Anyone with the document and the signature can then verify that
104 the document matches the signature by creating their own hash and
105 checking the signature using the trusted third party public key.
106 There are several commercial services around providing such
107 timestamping. A quick search for
108 "
<a href=
"https://duckduckgo.com/?q=rfc+3161+service">rfc
3161
109 service
</a>" pointed me to at least
110 <a href="https://www.digistamp.com/technical/how-a-digital-time-stamp-works/
">DigiStamp</a>,
111 <a href="http://www.quovadisglobal.co.uk/CertificateServices/SigningServices/TimeStamp.aspx
">Quo
113 <a href="https://www.globalsign.com/timestamp-service/
">Global Sign</a>
114 and <a href="http://www.globaltrustfinder.com/TSADefault.aspx
">Global
115 Trust Finder</a>. The system work as long as the private key of the
116 trusted third party is not compromised.</p>
118 <p>But as far as I can tell, there are very few public trusted
119 timestamp services available for everyone. I've been looking for one
120 for a while now. But yesterday I found one over at
121 <a href="https://www.pki.dfn.de/zeitstempeldienst/
">Deutches
122 Forschungsnetz</a> mentioned in
123 <a href="http://www.d-mueller.de/blog/dealing-with-trusted-timestamps-in-php-rfc-
3161/
">a
124 blog by David Müller</a>. I then found
125 <a href="http://www.rz.uni-greifswald.de/support/dfn-pki-zertifikate/zeitstempeldienst.html
">a
126 good recipe on how to use the service</a> over at the University of
129 <p><a href="http://www.openssl.org/
">The OpenSSL library</a> contain
130 both server and tools to use and set up your own signing service. See
131 the ts(1SSL), tsget(1SSL) manual pages for more details. The
132 following shell script demonstrate how to extract a signed timestamp
133 for any file on the disk in a Debian environment:</p>
138 url="http://zeitstempel.dfn.de"
139 caurl="https://pki.pca.dfn.de/global-services-ca/pub/cacert/chain.txt"
140 reqfile=$(mktemp -t tmp.XXXXXXXXXX.tsq)
141 resfile=$(mktemp -t tmp.XXXXXXXXXX.tsr)
143 if [ ! -f $cafile ] ; then
144 wget -O $cafile "$caurl"
146 openssl ts -query -data "$
1" -cert | tee "$reqfile" \
147 | /usr/lib/ssl/misc/tsget -h "$url" -o "$resfile"
148 openssl ts -reply -in "$resfile" -text
1>&
2
149 openssl ts -verify -data "$
1" -in "$resfile" -CAfile "$cafile"
1>&
2
151 rm "$reqfile" "$resfile"
152 </pre></blockquote></p>
154 <p>The argument to the script is the file to timestamp, and the output
155 is a base64 encoded version of the signature to STDOUT and details
156 about the signature to STDERR. Note that due to
157 <a href=
"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742553">a bug
158 in the tsget script
</a>, you might need to modify the included script
159 and remove the last line. Or just write your own HTTP uploader using
160 curl. :) Now you too can prove and verify that files have not been
163 <p>But the Internet need more public trusted timestamp services.
164 Perhaps something for
<a href=
"http://www.uninett.no/">Uninett
</a> or
165 my work place the
<a href=
"http://www.uio.no/">University of Oslo
</a>
172 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet
</a>.
177 <div class=
"padding"></div>
181 <a href=
"http://people.skolelinux.org/pere/blog/Video_DVD_reader_library___python_dvdvideo___nice_free_software.html">Video DVD reader library / python-dvdvideo - nice free software
</a>
187 <p>Keeping your DVD collection safe from scratches and curious
188 children fingers while still having it available when you want to see a
189 movie is not straight forward. My preferred method at the moment is
190 to store a full copy of the ISO on a hard drive, and use VLC, Popcorn
191 Hour or other useful players to view the resulting file. This way the
192 subtitles and bonus material are still available and using the ISO is
193 just like inserting the original DVD record in the DVD player.
</p>
195 <p>Earlier I used dd for taking security copies, but it do not handle
196 DVDs giving read errors (which are quite a few of them). I've also
198 <a href=
"http://people.skolelinux.org/pere/blog/Ripping_problematic_DVDs_using_dvdbackup_and_genisoimage.html">dvdbackup
199 and genisoimage
</a>, but these days I use the marvellous python library
201 <a href=
"http://bblank.thinkmo.de/blog/new-software-python-dvdvideo">python-dvdvideo
</a>
202 written by Bastian Blank. It is
203 <a href=
"http://packages.qa.debian.org/p/python-dvdvideo.html">in Debian
204 already
</a> and the binary package name is python3-dvdvideo. Instead
205 of trying to read every block from the DVD, it parses the file
206 structure and figure out which block on the DVD is actually in used,
207 and only read those blocks from the DVD. This work surprisingly well,
208 and I have been able to almost backup my entire DVD collection using
209 this method.
</p> So far, python-dvdvideo have failed on between
10 and
210 20 DVDs, which is a small fraction of my collection. The most common
212 <a href=
"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720831">DVDs
213 using UTF-
16 instead of UTF-
8 characters
</a>, which according to
214 Bastian is against the DVD specification (and seem to cause some
215 players to fail too). A rarer problem is what seem to be inconsistent
216 DVD structures, as the python library
217 <a href=
"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=723079">claim
218 there is a overlap between objects
</a>. An equally rare problem claim
219 <a href=
"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741878">some
220 value is out of range
</a>. No idea what is going on there. I wish I
221 knew enough about the DVD format to fix these, to ensure my movie
222 collection will stay with me in the future.
</p>
224 <p>So, if you need to keep your DVDs safe, back them up using
225 python-dvdvideo. :)
</p>
231 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/video">video
</a>.
236 <div class=
"padding"></div>
240 <a href=
"http://people.skolelinux.org/pere/blog/Norsk_utgave_av_Alaveteli___WhatDoTheyKnow_p__trappene.html">Norsk utgave av Alaveteli / WhatDoTheyKnow på trappene
</a>
246 <p>Det offentlige Norge har mye kunnskap og informasjon. Men hvordan
247 kan en få tilgang til den på en enkel måte? Takket være et lite
248 knippe lover og tilhørende forskrifter, blant annet
249 <a href=
"http://lovdata.no/dokument/NL/lov/2006-05-19-16">offentlighetsloven
</a>,
250 <a href=
"http://lovdata.no/dokument/NL/lov/2003-05-09-31">miljøinformasjonsloven
</a>
252 <a href=
"http://lovdata.no/dokument/NL/lov/1967-02-10/">forvaltningsloven
</a>
253 har en rett til å spørre det offentlige og få svar. Men det finnes
254 intet offentlig arkiv over hva andre har spurt om, og dermed risikerer en
255 å måtte forstyrre myndighetene gang på gang for å få tak i samme
256 informasjonen på nytt.
<a href=
"http://www.mysociety.org/">Britiske
257 mySociety
</a> har laget tjenesten
258 <a href=
"http://www.whatdotheyknow.com/">WhatDoTheyKnow
</a> som gjør
259 noe med dette. I Storbritannia blir WhatdoTheyKnow brukt i
260 <a href=
"http://www.mysociety.org/2011/07/01/whatdotheyknows-share-of-central-government-foi-requests-q2-2011/">ca
261 15% av alle innsynsforespørsler mot sentraladministrasjonen
</a>.
262 Prosjektet heter
<a href=
"http://www.alaveteli.org/">Alaveteli
</A>, og
263 er takk i bruk en rekke steder etter at løsningen ble generalisert og
264 gjort mulig å oversette. Den hjelper borgerne med å be om innsyn,
265 rådgir ved purringer og klager og lar alle se hvilke henvendelser som
266 er sendt til det offentlige og hvilke svar som er kommet inn, i et
267 søkpart arkiv. Her i Norge holder vi i foreningen NUUG på å få opp en
268 norsk utgave av Alaveteli, og her trenger vi din hjelp med
271 <p>Så langt er
76 % av Alaveteli oversatt til norsk bokmål, men vi
272 skulle gjerne vært oppe i
100 % før lansering. Oversettelsen gjøres
273 på
<a href=
"https://www.transifex.com/projects/p/alaveteli/">Transifex,
274 der enhver som registrerer seg
</a> og ber om tilgang til
275 bokmålsoversettelsen får bidra. Vi har satt opp en test av tjenesten
276 (som ikke sender epost til det offentlige, kun til oss som holder på å
277 sette opp tjenesten) på maskinen
278 <a href=
"http://alaveteli-dev.nuug.no/">alaveteli-dev.nuug.no
</a>, der
279 en kan se hvordan de oversatte meldingen blir seende ut på nettsiden.
280 Når tjenesten lanseres vil den hete
281 <a href=
"https://www.mimesbrønn.no/">Mimes brønn
</a>, etter
282 visdomskilden som Odin måtte gi øyet sitt for å få drikke i. Den
283 nettsiden er er ennå ikke klar til bruk.
</p>
285 <p>Hvis noen vil oversette til nynorsk også, så skal vi finne ut
286 hvordan vi lager en flerspråklig tjeneste. Men i første omgang er
287 fokus på bokmålsoversettelsen, der vi selv har nok peiling til å ha
288 fått oversatt
76%, men trenger hjelp for å komme helt i mål. :)
</p>
294 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn
</a>.
299 <div class=
"padding"></div>
303 <a href=
"http://people.skolelinux.org/pere/blog/Freedombox_on_Dreamplug__Raspberry_Pi_and_virtual_x86_machine.html">Freedombox on Dreamplug, Raspberry Pi and virtual x86 machine
</a>
309 <p>The
<a href=
"https://wiki.debian.org/FreedomBox">Freedombox
310 project
</a> is working on providing the software and hardware for
311 making it easy for non-technical people to host their data and
312 communication at home, and being able to communicate with their
313 friends and family encrypted and away from prying eyes. It has been
314 going on for a while, and is slowly progressing towards a new test
317 <p>And what day could be better than the Pi day to announce that the
318 new version will provide "hard drive" / SD card / USB stick images for
319 Dreamplug, Raspberry Pi and VirtualBox (or any other virtualization
320 system), and can also be installed using a Debian installer preseed
321 file. The Debian based Freedombox is now based on Debian Jessie,
322 where most of the needed packages used are already present. Only one,
323 the freedombox-setup package, is missing. To try to build your own
324 boot image to test the current status, fetch the freedom-maker scripts
326 <a href=
"http://packages.qa.debian.org/vmdebootstrap">vmdebootstrap
</a>
327 with a user with sudo access to become root:
330 git clone http://anonscm.debian.org/git/freedombox/freedom-maker.git \
332 sudo apt-get install git vmdebootstrap mercurial python-docutils \
333 mktorrent extlinux virtualbox qemu-user-static binfmt-support \
335 make -C freedom-maker dreamplug-image raspberry-image virtualbox-image
338 <p>Root access is needed to run debootstrap and mount loopback
339 devices. See the README for more details on the build. If you do not
340 want all three images, trim the make line. But note that thanks to
<a
341 href=
"https://bugs.debian.org/741407">a race condition in
342 vmdebootstrap
</a>, the build might fail without the patch to the
345 <p>If you instead want to install using a Debian CD and the preseed
346 method, boot a Debian Wheezy ISO and use this boot argument to load
347 the preseed values:
</p>
350 url=
<a href=
"http://www.reinholdtsen.name/freedombox/preseed-jessie.dat">http://www.reinholdtsen.name/freedombox/preseed-jessie.dat
</a>
353 <p>But note that due to
<a href=
"https://bugs.debian.org/740673">a
354 recently introduced bug in apt in Jessie
</a>, the installer will
355 currently hang while setting up APT sources. Killing the
356 '
<tt>apt-cdrom ident
</tt>' process when it hang a few times during the
357 installation will get the installation going. This affect all
358 installations in Jessie, and I expect it will be fixed soon.
</p>
360 Give it a go and let us know how it goes on the mailing list, and help
361 us get the new release published. :) Please join us on
362 <a href=
"irc://irc.debian.org:6667/%23freedombox">IRC (#freedombox on
363 irc.debian.org)
</a> and
364 <a href=
"http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss">the
365 mailing list
</a> if you want to help make this vision come true.
</p>
371 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/freedombox">freedombox
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/web">web
</a>.
376 <div class=
"padding"></div>
380 <a href=
"http://people.skolelinux.org/pere/blog/How_to_add_extra_storage_servers_in_Debian_Edu___Skolelinux.html">How to add extra storage servers in Debian Edu / Skolelinux
</a>
386 <p>On larger sites, it is useful to use a dedicated storage server for
387 storing user home directories and data. The design for handling this
388 in
<a href=
"http://www.skolelinux.org/">Debian Edu / Skolelinux
</a>, is
389 to update the automount rules in LDAP and let the automount daemon on
390 the clients take care of the rest. I was reminded about the need to
391 document this better when one of the customers of
392 <a href=
"http://www.slxdrift.no/">Skolelinux Drift AS
</a>, where I am
393 on the board of directors, asked about how to do this. The steps to
394 get this working are the following:
</p>
398 <li>Add new storage server in DNS. I use nas-server.intern as the
399 example host here.
</li>
401 <li>Add automoun LDAP information about this server in LDAP, to allow
402 all clients to automatically mount it on reqeust.
</li>
404 <li>Add the relevant entries in tjener.intern:/etc/fstab, because
405 tjener.intern do not use automount to avoid mounting loops.
</li>
409 <p>DNS entries are added in GOsa², and not described here. Follow the
410 <a href=
"https://wiki.debian.org/DebianEdu/Documentation/Wheezy/GettingStarted">instructions
411 in the manual
</a> (Machine Management with GOsa² in section Getting
414 <p>Ensure that the NFS export points on the server are exported to the
415 relevant subnets or machines:
</p>
418 root@tjener:~# showmount -e nas-server
419 Export list for nas-server:
422 </pre></blockquote></p>
424 <p>Here everything on the backbone network is granted access to the
425 /storage export. With NFSv3 it is slightly better to limit it to
426 netgroup membership or single IP addresses to have some limits on the
429 <p>The next step is to update LDAP. This can not be done using GOsa²,
430 because it lack a module for automount. Instead, use ldapvi and add
431 the required LDAP objects using an editor.
</p>
434 ldapvi --ldap-conf -ZD '(cn=admin)' -b ou=automount,dc=skole,dc=skolelinux,dc=no
435 </pre></blockquote></p>
437 <p>When the editor show up, add the following LDAP objects at the
438 bottom of the document. The "/&" part in the last LDAP object is a
439 wild card matching everything the nas-server exports, removing the
440 need to list individual mount points in LDAP.
</p>
443 add cn=nas-server,ou=auto.skole,ou=automount,dc=skole,dc=skolelinux,dc=no
444 objectClass: automount
446 automountInformation: -fstype=autofs --timeout=
60 ldap:ou=auto.nas-server,ou=automount,dc=skole,dc=skolelinux,dc=no
448 add ou=auto.nas-server,ou=automount,dc=skole,dc=skolelinux,dc=no
450 objectClass: automountMap
453 add cn=/,ou=auto.nas-server,ou=automount,dc=skole,dc=skolelinux,dc=no
454 objectClass: automount
456 automountInformation: -fstype=nfs,tcp,rsize=
32768,wsize=
32768,rw,intr,hard,nodev,nosuid,noatime nas-server.intern:/&
457 </pre></blockquote></p>
459 <p>The last step to remember is to mount the relevant mount points in
460 tjener.intern by adding them to /etc/fstab, creating the mount
461 directories using mkdir and running "mount -a" to mount them.
</p>
463 <p>When this is done, your users should be able to access the files on
464 the storage server directly by just visiting the
465 /tjener/nas-server/storage/ directory using any application on any
466 workstation, LTSP client or LTSP server.
</p>
472 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/ldap">ldap
</a>.
477 <div class=
"padding"></div>
481 <a href=
"http://people.skolelinux.org/pere/blog/Hvordan_b_r_RFC_822_formattert_epost_lagres_i_en_NOARK5_database_.html">Hvordan bør RFC
822-formattert epost lagres i en NOARK5-database?
</a>
487 <p>For noen uker siden ble NXCs fri programvarelisenserte
489 <a href=
"http://www.nuug.no/aktiviteter/20140211-noark/">presentert hos
491 <a href=
"https://www.youtube.com/watch?v=JCb_dNS3MHQ">på youtube
492 foreløbig
</a>), og det fikk meg til å titte litt mer på NOARK5,
493 standarden for arkivhåndtering i det offentlige Norge. Jeg lurer på
494 om denne kjernen kan være nyttig i et par av mine prosjekter, og for ett
495 av dem er det mest aktuelt å lagre epost. Jeg klarte ikke finne noen
496 anbefaling om hvordan RFC
822-formattert epost (aka Internett-epost)
497 burde lagres i NOARK5, selv om jeg vet at noen arkiver tar
498 PDF-utskrift av eposten med sitt epostprogram og så arkiverer PDF-en
499 (eller enda værre, tar papirutskrift og lagrer bildet av eposten som
502 <p>Det er ikke så mange formater som er akseptert av riksarkivet til
503 langtidsoppbevaring av offentlige arkiver, og PDF og XML er de mest
504 aktuelle i så måte. Det slo meg at det måtte da finnes en eller annen
505 egnet XML-representasjon og at det kanskje var enighet om hvilken som
506 burde brukes, så jeg tok mot til meg og spurte
507 <a href=
"http://samdok.com/">SAMDOK
</a>, en gruppe tilknyttet
508 arkivverket som ser ut til å jobbe med NOARK-samhandling, om de hadde
514 <p>Usikker på om dette er riktig forum å ta opp mitt spørsmål, men jeg
515 lurer på om det er definert en anbefaling om hvordan RFC
516 822-formatterte epost (aka vanlig Internet-epost) bør lages håndteres
517 i NOARK5, slik at en bevarer all informasjon i eposten
518 (f.eks. Received-linjer). Finnes det en anbefalt XML-mapping ala den
520 <URL:
<a href=
"https://www.informit.com/articles/article.aspx?p=32074">https://www.informit.com/articles/article.aspx?p=
32074</a> >? Mitt
521 mål er at det skal være mulig å lagre eposten i en NOARK5-kjerne og
522 kunne få ut en identisk formattert kopi av opprinnelig epost ved
526 <p>Postmottaker hos SAMDOK mente spørsmålet heller burde stilles
527 direkte til riksarkivet, og jeg fikk i dag svar derfra formulert av
528 seniorrådgiver Geir Ivar Tungesvik:
</p>
531 <p>Riksarkivet har ingen anbefalinger når det gjelder konvertering fra
532 e-post til XML. Det står arkivskaper fritt å eventuelt definere/bruke
533 eget format. Inklusive da - som det spørres om - et format der det er
534 mulig å re-etablere e-post format ut fra XML-en. XML (e-post)
535 dokumenter må være referert i arkivstrukturen, og det må vedlegges et
536 gyldig XML skjema (.xsd) for XML-filene. Arkivskaper står altså fritt
537 til å gjøre hva de vil, bare det dokumenteres og det kan dannes et
538 utrekk ved avlevering til depot.
</p>
540 <p>De obligatoriske kravene i Noark
5 standarden må altså oppfylles -
541 etter dialog med Riksarkivet i forbindelse med godkjenning. For
542 offentlige arkiv er det særlig viktig med filene loependeJournal.xml
543 og offentligJournal.xml. Private arkiv som vil forholde seg til Noark
544 5 standarden er selvsagt frie til å bruke det som er relevant for dem
545 av obligatoriske krav.
</p>
548 <p>Det ser dermed ut for meg som om det er et lite behov for å
549 standardisere XML-lagring av RFC-
822-formatterte meldinger. Noen som
550 vet om god spesifikasjon i så måte? I tillegg til den omtalt over,
551 har jeg kommet over flere aktuelle beskrivelser (søk på "rfc
822
552 xml", så finner du aktuelle alternativer).
</p>
556 <li><a href=
"http://www.openhealth.org/xmtp/">XML MIME Transformation
557 protocol (XMTP)
</a> fra OpenHealth, sist oppdatert
2001.
</li>
559 <li><a href=
"https://tools.ietf.org/html/draft-klyne-message-rfc822-xml-03">An
560 XML format for mail and other messages
</a> utkast fra IETF datert
563 <li><a href=
"http://www.informit.com/articles/article.aspx?p=32074">xMail:
564 E-mail as XML
</a> en artikkel fra
2003 som beskriver python-modulen
565 rfc822 som gir ut XML-representasjon av en RFC
822-formattert epost.
</li>
569 <p>Finnes det andre og bedre spesifikasjoner for slik lagring? Send
570 meg en epost hvis du har innspill.
</p>
576 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn
</a>.
581 <div class=
"padding"></div>
583 <p style=
"text-align: right;"><a href=
"03.rss"><img src=
"http://people.skolelinux.org/pere/blog/xml.gif" alt=
"RSS Feed" width=
"36" height=
"14" /></a></p>
594 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/01/">January (
2)
</a></li>
596 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/02/">February (
3)
</a></li>
598 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/03/">March (
7)
</a></li>
605 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/01/">January (
11)
</a></li>
607 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/02/">February (
9)
</a></li>
609 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/03/">March (
9)
</a></li>
611 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/04/">April (
6)
</a></li>
613 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/05/">May (
9)
</a></li>
615 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/06/">June (
10)
</a></li>
617 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/07/">July (
7)
</a></li>
619 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/08/">August (
3)
</a></li>
621 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/09/">September (
5)
</a></li>
623 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/10/">October (
7)
</a></li>
625 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/11/">November (
9)
</a></li>
627 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/12/">December (
3)
</a></li>
634 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/01/">January (
7)
</a></li>
636 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/02/">February (
10)
</a></li>
638 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/03/">March (
17)
</a></li>
640 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/04/">April (
12)
</a></li>
642 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/05/">May (
12)
</a></li>
644 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/06/">June (
20)
</a></li>
646 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/07/">July (
17)
</a></li>
648 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/08/">August (
6)
</a></li>
650 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/09/">September (
9)
</a></li>
652 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/10/">October (
17)
</a></li>
654 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/11/">November (
10)
</a></li>
656 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/12/">December (
7)
</a></li>
663 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/01/">January (
16)
</a></li>
665 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/02/">February (
6)
</a></li>
667 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/03/">March (
6)
</a></li>
669 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/04/">April (
7)
</a></li>
671 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/05/">May (
3)
</a></li>
673 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/06/">June (
2)
</a></li>
675 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/07/">July (
7)
</a></li>
677 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/08/">August (
6)
</a></li>
679 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/09/">September (
4)
</a></li>
681 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/10/">October (
2)
</a></li>
683 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/11/">November (
3)
</a></li>
685 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/12/">December (
1)
</a></li>
692 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/01/">January (
2)
</a></li>
694 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/02/">February (
1)
</a></li>
696 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/03/">March (
3)
</a></li>
698 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/04/">April (
3)
</a></li>
700 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/05/">May (
9)
</a></li>
702 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/06/">June (
14)
</a></li>
704 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/07/">July (
12)
</a></li>
706 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/08/">August (
13)
</a></li>
708 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/09/">September (
7)
</a></li>
710 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/10/">October (
9)
</a></li>
712 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/11/">November (
13)
</a></li>
714 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/12/">December (
12)
</a></li>
721 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/01/">January (
8)
</a></li>
723 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/02/">February (
8)
</a></li>
725 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/03/">March (
12)
</a></li>
727 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/04/">April (
10)
</a></li>
729 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/05/">May (
9)
</a></li>
731 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/06/">June (
3)
</a></li>
733 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/07/">July (
4)
</a></li>
735 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/08/">August (
3)
</a></li>
737 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/09/">September (
1)
</a></li>
739 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/10/">October (
2)
</a></li>
741 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/11/">November (
3)
</a></li>
743 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/12/">December (
3)
</a></li>
750 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/11/">November (
5)
</a></li>
752 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/12/">December (
7)
</a></li>
763 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (
13)
</a></li>
765 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/amiga">amiga (
1)
</a></li>
767 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/aros">aros (
1)
</a></li>
769 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bankid">bankid (
4)
</a></li>
771 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (
8)
</a></li>
773 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (
14)
</a></li>
775 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bsa">bsa (
2)
</a></li>
777 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/chrpath">chrpath (
2)
</a></li>
779 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian (
95)
</a></li>
781 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (
145)
</a></li>
783 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/digistan">digistan (
10)
</a></li>
785 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/docbook">docbook (
10)
</a></li>
787 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (
4)
</a></li>
789 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/english">english (
240)
</a></li>
791 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (
21)
</a></li>
793 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (
12)
</a></li>
795 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/freeculture">freeculture (
12)
</a></li>
797 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/freedombox">freedombox (
7)
</a></li>
799 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen (
11)
</a></li>
801 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/intervju">intervju (
39)
</a></li>
803 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram (
7)
</a></li>
805 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/kart">kart (
18)
</a></li>
807 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ldap">ldap (
9)
</a></li>
809 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/lenker">lenker (
7)
</a></li>
811 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (
1)
</a></li>
813 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/mesh network">mesh network (
8)
</a></li>
815 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (
26)
</a></li>
817 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk (
243)
</a></li>
819 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug (
162)
</a></li>
821 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn (
11)
</a></li>
823 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/open311">open311 (
2)
</a></li>
825 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (
46)
</a></li>
827 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern (
70)
</a></li>
829 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/raid">raid (
1)
</a></li>
831 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/reprap">reprap (
11)
</a></li>
833 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rfid">rfid (
2)
</a></li>
835 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/robot">robot (
9)
</a></li>
837 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rss">rss (
1)
</a></li>
839 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ruter">ruter (
4)
</a></li>
841 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/scraperwiki">scraperwiki (
2)
</a></li>
843 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (
37)
</a></li>
845 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (
4)
</a></li>
847 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/skepsis">skepsis (
4)
</a></li>
849 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/standard">standard (
44)
</a></li>
851 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (
3)
</a></li>
853 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (
9)
</a></li>
855 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (
23)
</a></li>
857 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sysadmin">sysadmin (
1)
</a></li>
859 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/valg">valg (
8)
</a></li>
861 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/video">video (
40)
</a></li>
863 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (
4)
</a></li>
865 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/web">web (
29)
</a></li>
871 <p style=
"text-align: right">
872 Created by
<a href=
"http://steve.org.uk/Software/chronicle">Chronicle v4.6
</a>