]> 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>Nikita version 0.6 released - free software archive API server</title>
11 <link>http://people.skolelinux.org/pere/blog/Nikita_version_0_6_released___free_software_archive_API_server.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Nikita_version_0_6_released___free_software_archive_API_server.html</guid>
13 <pubDate>Thu, 10 Jun 2021 17:10:00 +0200</pubDate>
14 <description>&lt;p&gt;I am very pleased to be able to share with you
15 &lt;a href=&quot;https://lists.nuug.no/pipermail/nikita-noark/2021-June/000576.html&quot;&gt;the
16 announcement of a new version of the archiving system Nikita&lt;/a&gt;
17 published by its lead developer Thomas Sødring:&lt;/p&gt;
18
19 &lt;p&gt;&lt;blockquote&gt;
20
21 &lt;p&gt;It is with great pleasure that we can announce a new release of
22 nikita. Version 0.6
23 (&lt;a href=&quot;https://gitlab.com/OsloMet-ABI/nikita-noark5-core&quot;&gt;https://gitlab.com/OsloMet-ABI/nikita-noark5-core&lt;/a&gt;). This
24 release makes new record keeping functionality available. This really
25 is a maturity release. Both in terms of functionality but also code.
26 Considerable effort has gone into refactoring the codebase and
27 simplifying the code. Notable changes for this release include:&lt;/p&gt;
28
29 &lt;ul&gt;
30
31 &lt;li&gt;Significantly improved OData parsing&lt;/li&gt;
32 &lt;li&gt;Support for business specific metadata and national identifiers&lt;/li&gt;
33 &lt;li&gt;Continued implementation of domain model and endpoints&lt;/li&gt;
34 &lt;li&gt;Improved testing&lt;/li&gt;
35 &lt;li&gt;Ability to export and import from arkivstruktur.xml&lt;/li&gt;
36
37 &lt;/ul&gt;
38
39 &lt;p&gt;We are currently in the process of reaching an agreement with an
40 archive institution to publish their picture archive using nikita with
41 business specific metadata and we hope that we can share this with you
42 soon. This is an interesting project as it allows the organisation to
43 bring an older picture archive back to life while using the original
44 metadata values stored as business specific metadata. Combined with
45 OData means the scope and use of the archive is significantly
46 increased and will showcase both the flexibility and power of
47 Noark.&lt;/p&gt;
48
49 &lt;p&gt;I really think we are approaching a version 1.0 of nikita, even
50 though there is still a lot of work to be done. The notable work at
51 the moment is to implement access-control and full text indexing of
52 documents.&lt;/p&gt;
53
54 &lt;p&gt;My sincere thanks to everyone who has contributed to this
55 release!&lt;/p&gt;
56
57 &lt;p&gt;- Thomas&lt;/p&gt;
58
59 &lt;p&gt;&lt;strong&gt;Release 0.6 2021-06-10 (d1ba5fc7e8bad0cfdce45ac20354b19d10ebbc7b)&lt;/strong&gt;&lt;/p&gt;
60
61 &lt;ul&gt;
62
63 &lt;li&gt;Refactor metadata entity search&lt;/li&gt;
64 &lt;li&gt;Remove redundant security configuration&lt;/li&gt;
65 &lt;li&gt;Make OpenAPI documentation work&lt;/li&gt;
66 &lt;li&gt;Change database structure / inheritance model to a more sensible approach&lt;/li&gt;
67 &lt;li&gt;Make it possible to move entities around the fonds structure&lt;/li&gt;
68 &lt;li&gt;Implemented a number of missing endpoints&lt;/li&gt;
69 &lt;li&gt;Make sure yml files are in sync&lt;/li&gt;
70 &lt;li&gt;Implemented/finalised storing and use of
71 &lt;ul&gt;
72     &lt;li&gt;Business Specific Metadata&lt;/li&gt;
73     &lt;li&gt;Norwegian National Identifiers&lt;/li&gt;
74     &lt;li&gt;Cross Reference&lt;/li&gt;
75     &lt;li&gt;Keyword&lt;/li&gt;
76     &lt;li&gt;StorageLocation&lt;/li&gt;
77     &lt;li&gt;Author&lt;/li&gt;
78     &lt;li&gt;Screening for relevant objects&lt;/li&gt;
79     &lt;li&gt;ChangeLog&lt;/li&gt;
80     &lt;li&gt;EventLog&lt;/li&gt;
81 &lt;/ul&gt;&lt;/li&gt;
82 &lt;li&gt;Make generation of updated docker image part of successful CI pipeline&lt;/li&gt;
83 &lt;li&gt;Implement pagination for all list requests
84 &lt;ul&gt;
85     &lt;li&gt;Refactor code to support lists&lt;/li&gt;
86     &lt;li&gt;Refactor code for readability&lt;/li&gt;
87     &lt;li&gt;Standardise the controller/service code&lt;/li&gt;
88 &lt;/ul&gt;&lt;/li&gt;
89 &lt;li&gt;Finalise File-&gt;CaseFile expansion and Record-&gt;registryEntry/recordNote
90 expansion&lt;/li&gt;
91 &lt;li&gt;Improved Continuous Integration (CI) approach via gitlab&lt;/li&gt;
92 &lt;li&gt;Changed conversion approach to generate tagged PDF documents&lt;/li&gt;
93 &lt;li&gt;Updated dependencies
94 &lt;ul&gt;
95     &lt;li&gt;For security reasons&lt;/li&gt;
96     &lt;li&gt;Brought codebase to spring-boot version 2.5.0&lt;/li&gt;
97     &lt;li&gt;Remove import of necessary dependencies&lt;/li&gt;
98     &lt;li&gt;Remove non-used metrics classes&lt;/li&gt;
99 &lt;/ul&gt;&lt;/li&gt;
100 &lt;li&gt;Added new analysis to CI including&lt;/li&gt;
101 &lt;li&gt;Implemented storing of Keyword&lt;/li&gt;
102 &lt;li&gt;Implemented storing of Screening and ScreeningMetadata&lt;/li&gt;
103 &lt;li&gt;Improved OData support
104 &lt;ul&gt;
105     &lt;li&gt;Better support for inheritance in queries where applicable&lt;/li&gt;
106     &lt;li&gt;Brought in more OData tests&lt;/li&gt;
107     &lt;li&gt;Improved OData/hibernate understanding of queries&lt;/li&gt;
108     &lt;li&gt;Implement $count, $orderby&lt;/li&gt;
109     &lt;li&gt;Finalise $top and $skip&lt;/li&gt;
110     &lt;li&gt;Make sure &amp; is used between query parameters&lt;/li&gt;
111 &lt;/ul&gt;&lt;/li&gt;
112 &lt;li&gt;Improved Testing in codebase
113 &lt;ul&gt;
114     &lt;li&gt;A new approach for integration tests to make test more readable&lt;/li&gt;
115     &lt;li&gt;Introduce tests in parallel with code development for TDD approach&lt;/li&gt;
116     &lt;li&gt;Remove test that required particular access to storage&lt;/li&gt;
117 &lt;/ul&gt;&lt;/li&gt;
118 &lt;li&gt;Implement case-handling process from received email to case-handler
119 &lt;ul&gt;
120     &lt;li&gt;Develop required GUI elements (digital postroom from email)&lt;/li&gt;
121     &lt;li&gt;Introduced leader, quality control and postroom roles&lt;/li&gt;
122 &lt;/ul&gt;&lt;/li&gt;
123 &lt;li&gt;Make PUT requests return 200 OK not 201 CREATED&lt;/li&gt;
124 &lt;li&gt;Make DELETE requests return 204 NO CONTENT not 200 OK&lt;/li&gt;
125 &lt;li&gt;Replaced &#39;oppdatert*&#39; with &#39;endret*&#39; everywhere to match latest spec&lt;/li&gt;
126 &lt;li&gt;Upgrade Gitlab CI to use python &gt; 3 for CI scripts&lt;/li&gt;
127 &lt;li&gt;Bug fixes
128 &lt;ul&gt;
129     &lt;li&gt;Fix missing ALLOW&lt;/li&gt;
130     &lt;li&gt;Fix reading of objects from jar file during start-up&lt;/li&gt;
131     &lt;li&gt;Reduce the number of warnings in the codebase&lt;/li&gt;
132     &lt;li&gt;Fix delete problems&lt;/li&gt;
133     &lt;li&gt;Make better use of cascade for &quot;leaf&quot; objects&lt;/li&gt;
134     &lt;li&gt;Add missing annotations where relevant&lt;/li&gt;
135     &lt;li&gt;Remove the use of ETAG for delete&lt;/li&gt;
136     &lt;li&gt;Fix missing/wrong/broken rels discovered by runtest&lt;/li&gt;
137     &lt;li&gt;Drop unofficial convertFil (konverterFil) end point&lt;/li&gt;
138     &lt;li&gt;Fix regex problem for dateTime&lt;/li&gt;
139     &lt;li&gt;Fix multiple static analysis issues discovered by coverity&lt;/li&gt;
140     &lt;li&gt;Fix proxy problem when looking for object class names&lt;/li&gt;
141     &lt;li&gt;Add many missing translated Norwegian to English (internal)
142 attribute/entity names&lt;/li&gt;
143     &lt;li&gt;Change UUID generation approach to allow code also set a value&lt;/li&gt;
144     &lt;li&gt;Fix problem with Part/PartParson&lt;/li&gt;
145     &lt;li&gt;Fix problem with empty OData search results&lt;/li&gt;
146     &lt;li&gt;Fix metadata entity domain problem&lt;/li&gt;
147 &lt;/ul&gt;&lt;/li&gt;
148 &lt;li&gt;General Improvements
149 &lt;ul&gt;
150     &lt;li&gt;Makes future refactoring easier as coupling is reduced&lt;/li&gt;
151     &lt;li&gt;Allow some constant variables to be set from property file&lt;/li&gt;
152     &lt;li&gt;Refactor code to make reflection work better across codebase&lt;/li&gt;
153     &lt;li&gt;Reduce the number of @Service layer classes used in @Controller
154 classes&lt;/li&gt;
155     &lt;li&gt;Be more consistent on naming of similar variable types&lt;/li&gt;
156     &lt;li&gt;Start printing rels/href if they are applicable&lt;/li&gt;
157     &lt;li&gt;Cleaner / standardised approach to deleting objects&lt;/li&gt;
158     &lt;li&gt;Avoid concatenation when using StringBuilder&lt;/li&gt;
159     &lt;li&gt;Consolidate code to avoid duplication&lt;/li&gt;
160     &lt;li&gt;Tidy formatting for a more consistent reading style across
161 similar class files&lt;/li&gt;
162     &lt;li&gt;Make throw a log.error message not an log.info message&lt;/li&gt;
163     &lt;li&gt;Make throw print the log value rather than printing in multiple
164 places&lt;/li&gt;
165     &lt;li&gt;Add some missing pronom codes&lt;/li&gt;
166     &lt;li&gt;Fix time formatting issue in Gitlab CI&lt;/li&gt;
167     &lt;li&gt;Remove stale / unused code&lt;/li&gt;
168     &lt;li&gt;Use only UUID datatype rather than combination String/UUID for systemID&lt;/li&gt;
169     &lt;li&gt;Mark variables final and @NotNull where relevant to indicate
170 intention&lt;/li&gt;
171 &lt;/ul&gt;&lt;/li&gt;
172 &lt;li&gt;Change Date values to DateTime to maintain compliance with Noark 5
173 standard&lt;/li&gt;
174 &lt;li&gt;Domain model improvements using Hypersistence Optimizer
175 &lt;ul&gt;
176     &lt;li&gt;Move @Transactional from class to methods to avoid borrowing the JDBC Connection unnecessarily&lt;/li&gt;
177     &lt;li&gt;Fix OneToOne performance issues&lt;/li&gt;
178     &lt;li&gt;Fix ManyToMany performance issues&lt;/li&gt;
179     &lt;li&gt;Add missing bidirectional synchronization support&lt;/li&gt;
180     &lt;li&gt;Fix ManyToMany performance issue&lt;/li&gt;
181 &lt;/ul&gt;&lt;/li&gt;
182 &lt;li&gt;Make List&lt;&gt; and Set&lt;&gt; use final-keyword to avoid potential problems
183 during update operations&lt;/li&gt;
184 &lt;li&gt;Changed internal URLs, replaced &quot;hateoas-api&quot; with &quot;api&quot;.&lt;/li&gt;
185 &lt;li&gt;Implemented storing of Precedence.&lt;/li&gt;
186 &lt;li&gt;Corrected handling of screening.&lt;/li&gt;
187 &lt;li&gt;Corrected _links collection returned for list of mixed entity types
188 to match the specific entity.&lt;/li&gt;
189 &lt;li&gt;Improved several internal structures.&lt;/li&gt;
190 &lt;/ul&gt;
191
192 &lt;/blockquote&gt;&lt;/p&gt;
193
194 &lt;p&gt;If free and open standardized archiving API sound interesting to
195 you, please contact us on IRC
196 (&lt;a href=&quot;irc://irc.oftc.net/%23nikita&quot;&gt;#nikita on
197 irc.oftc.net&lt;/a&gt;) or email
198 (&lt;a href=&quot;https://lists.nuug.no/mailman/listinfo/nikita-noark&quot;&gt;nikita-noark
199 mailing list&lt;/a&gt;).&lt;/p&gt;
200
201 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
202 activities, please send Bitcoin donations to my address
203 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
204 </description>
205 </item>
206
207 <item>
208 <title>VLC bittorrent plugin in Bullseye, saved by the bell?</title>
209 <link>http://people.skolelinux.org/pere/blog/VLC_bittorrent_plugin_in_Bullseye__saved_by_the_bell_.html</link>
210 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/VLC_bittorrent_plugin_in_Bullseye__saved_by_the_bell_.html</guid>
211 <pubDate>Sat, 1 May 2021 11:00:00 +0200</pubDate>
212 <description>&lt;p&gt;Yesterday morning I got a warning call from the Debian quality
213 control system that
214 &lt;a href=&quot;https://tracker.debian.org/pkg/vlc-plugin-bittorrent&quot;&gt;the VLC
215 bittorrent plugin&lt;/a&gt; was due to be removed because of a release
216 critical bug in one of its dependencies. As you might remember, this
217 plugin make VLC able to stream videos directly from a bittorrent
218 source using both torrent files and magnet links, similar to using a
219 HTTP source. I believe such protocol support is a vital feature in
220 VLC, allowing efficient streaming from sources such at the almost 7
221 million movies in &lt;a href=&quot;https://archive.org/&quot;&gt;the Internet
222 Archive&lt;/a&gt;.&lt;/p&gt;
223
224 &lt;p&gt;The dependency was the unmaintained
225 &lt;a href=&quot;https://tracker.debian.org/pkg/libtorrent-rasterbar&quot;&gt;libtorrent-rasterbar&lt;/a&gt;
226 package, and &lt;a href=&quot;https://bugs.debian.org/987306&quot;&gt;the bug in
227 question&lt;/a&gt; blocked its python library from working properly. As I
228 did not want Bullseye to release without bittorrent support in VLC, I
229 set out to check out the status, and track down a fix for the problem.
230 Luckily the issue had already been identified and fixed upstream,
231 providing everything needed. All I needed to do was to fetch the
232 Debian git repository, extract and trim the patch from upstream and
233 apply it to the Debian package for upload.&lt;/p&gt;
234
235 &lt;p&gt;The fixed library was uploaded yesterday evening. But that is not
236 enough to get it into Bullseye, as Debian is currently in package
237 freeze to prepare for a new next stable release. Only non-critical
238 packages with
239 &lt;a href=&quot;https://wiki.debian.org/ContinuousIntegration/autopkgtest&quot;&gt;autopkgtest
240 setup&lt;/a&gt; included, in other words able to validate automatically that
241 the package is working, are allowed to migrate automatically into the
242 next release at this stage. And the unmaintained libtorrent-rasterbar
243 lack such testing, and thus needed a manual override. I am happy to
244 report that such manual override was approved a few minutes ago, thus
245 increasing significantly the chance of VLC bittorrent streaming being
246 available out of the box also for Debian/Buster users. A bit too
247 close shave for my liking, as the Bullseye release is most likely just
248 a few days away, and this did feel like the package was saved by the
249 bell. I am so glad the warning email showed up in time for me to
250 handle the issue, and a big thanks go to the Debian Release team for
251 the quick feedback on
252 &lt;a href=&quot;irc://irc.debian.org/%23debian-release&quot;&gt;#debian-release&lt;/a&gt;
253 and their &lt;a href=&quot;https://bugs.debian.org/987865&quot;&gt;swift
254 unblocking&lt;/a&gt;.&lt;/p&gt;
255
256 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
257 activities, please send Bitcoin donations to my address
258 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
259 </description>
260 </item>
261
262 <item>
263 <title>Updated Valutakrambod, now also with information from NBX</title>
264 <link>http://people.skolelinux.org/pere/blog/Updated_Valutakrambod__now_also_with_information_from_NBX.html</link>
265 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Updated_Valutakrambod__now_also_with_information_from_NBX.html</guid>
266 <pubDate>Sat, 27 Feb 2021 13:30:00 +0100</pubDate>
267 <description>&lt;p&gt;I have neglected the Valutakrambod library for a while, but decided
268 this weekend to give it a face lift. I fixed a few minor glitches in
269 several of the service drivers, where the API had changed since I last
270 looked at the code. I also added support for fetching the order book
271 from the newcomer Norwegian Bitcoin Exchange.&lt;/p&gt;
272
273 &lt;p&gt;I also decided to migrate the project from github to gitlab in the
274 process. If you want a python library for talking to various currency
275 exchanges, check out
276 &lt;a href=&quot;https://gitlab.com/petterreinholdtsen/valutakrambod&quot;&gt;code for
277 valutakrambod&lt;/a&gt;.&lt;/p&gt;
278
279 &lt;p&gt;This is what the output from &#39;&lt;tt&gt;bin/btc-rates-curses -c&lt;/tt&gt;&#39;
280 looked like a few minutes ago:&lt;/p&gt;
281
282 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
283 Name Pair Bid Ask Spread Ftcd Age Freq
284 Bitfinex BTCEUR 39229.0000 39246.0000 0.0% 44 44 nan
285 Bitmynt BTCEUR 39071.0000 41048.9000 4.8% 43 74 nan
286 Bitpay BTCEUR 39326.7000 nan nan% 39 nan nan
287 Bitstamp BTCEUR 39398.7900 39417.3200 0.0% 0 0 1
288 Bl3p BTCEUR 39158.7800 39581.9000 1.1% 0 nan 3
289 Coinbase BTCEUR 39197.3100 39621.9300 1.1% 38 nan nan
290 Kraken+BTCEUR 39432.9000 39433.0000 0.0% 0 0 0
291 Paymium BTCEUR 39437.2100 39499.9300 0.2% 0 2264 nan
292 Bitmynt BTCNOK 409750.9600 420516.8500 2.6% 43 74 nan
293 Bitpay BTCNOK 410332.4000 nan nan% 39 nan nan
294 Coinbase BTCNOK 408675.7300 412813.7900 1.0% 38 nan nan
295 MiraiEx BTCNOK 412174.1800 418396.1500 1.5% 34 nan nan
296 NBX BTCNOK 405835.9000 408921.4300 0.8% 33 nan nan
297 Bitfinex BTCUSD 47341.0000 47355.0000 0.0% 44 53 nan
298 Bitpay BTCUSD 47388.5100 nan nan% 39 nan nan
299 Coinbase BTCUSD 47153.6500 47651.3700 1.0% 37 nan nan
300 Gemini BTCUSD 47416.0900 47439.0500 0.0% 36 336 nan
301 Hitbtc BTCUSD 47429.9900 47386.7400 -0.1% 0 0 0
302 Kraken+BTCUSD 47401.7000 47401.8000 0.0% 0 0 0
303 Exchangerates EURNOK 10.4012 10.4012 0.0% 38 76236 nan
304 Norgesbank EURNOK 10.4012 10.4012 0.0% 31 76236 nan
305 Bitstamp EURUSD 1.2030 1.2045 0.1% 2 2 1
306 Exchangerates EURUSD 1.2121 1.2121 0.0% 38 76236 nan
307 Norgesbank USDNOK 8.5811 8.5811 0.0% 31 76236 nan
308 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
309
310 &lt;p&gt;Yes, I notice the negative spread on Hitbtc. Either I fail to
311 understand their Websocket API or they are sending bogus data. I&#39;ve
312 seen the same with Kraken, and suspect there is something wrong with
313 the data they send.&lt;/p&gt;
314
315 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
316 activities, please send Bitcoin donations to my address
317 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
318 </description>
319 </item>
320
321 <item>
322 <title>Boken «Hvordan knuse overvåkningskapitalismen» lanseres på norsk</title>
323 <link>http://people.skolelinux.org/pere/blog/Boken__Hvordan_knuse_overv_kningskapitalismen__lanseres_p__norsk.html</link>
324 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Boken__Hvordan_knuse_overv_kningskapitalismen__lanseres_p__norsk.html</guid>
325 <pubDate>Tue, 26 Jan 2021 19:10:00 +0100</pubDate>
326 <description>&lt;p&gt;Etter intenst arbeid over mange måneder er endelig den norske
327 utgaven av «Hvordan knuse overvåkningskapitalismen» av Cory Doctorow
328 ferdig og klar til å glede millioner av lesere over hele verden.
329 Følgende pressemelding ble nettopp sendt ut til norske redaksjoner:
330
331 &lt;blockquote&gt;
332
333 &lt;p&gt;&lt;strong&gt;Hva gjør stordata med oss, og hvordan gjør algoritmene
334 «fake news» til realiter?&lt;/strong&gt;&lt;/p&gt;
335
336 &lt;p&gt;Nå foreligger en viktig bok om temaet også på norsk. Boken klargjør
337 og foreslår hvordan vi selv som enkeltpersoner, men også nasjonalt og
338 internasjonalt kan bekjempe stordatakonsentrasjonene;
339 «overvåkingskapitalismen». Boken er «Hvordan knuse
340 overvåkingskapitalismen» av dr. Cory Doctorow. Den engelske
341 bokutgivelsen kom for noen dager siden og lanseres med et Webinar
342 torsdag 2021-01-28. Doctorow besøkte Norge og NUUG i desember med sin
343 presentasjon Monopoly, Not Mind Control: What&#39;s Really Happening With
344 &quot;Surveillance Capitalism&quot;.&lt;/p&gt;
345
346 &lt;p&gt;I funn etter funn, eksempel etter eksempel, gjennomgår og
347 analyserer dr. Doctorow de utfordringer vi møter i større og større
348 omfang. Ikke bare i USA, men også her hjemme.&lt;/p&gt;
349
350 &lt;p&gt;Cory Doctorow er en britisk-kanadisk forfatter, journalist og
351 aktivist, kjent for sine science fiction-romaner, for arbeidet for
352 Creative Commons-bevegelsen, og for sine bidrag til reform av
353 opphavsretten. Han er både æresdoktor og gjesteforeleser i
354 datavitenskap ved Open University i UK, konsulent for Electronic
355 Frontier Foundation, og godt kjent for innsiktsfullt å kommentere og
356 skrive om digital utvikling.&lt;/p&gt;
357
358 &lt;p&gt;Boken lanseres nå på norsk, både som ebok og på papir, oversatt av
359 en dugnadsgjeng ledet av Petter Reinholdtsen.&lt;/p&gt;
360
361 &lt;p&gt;Boken reiser noen helt grunnleggende og samfunnskritiske spørsmål:
362 Hva fører det til når store deler av Internettet domineres av få store
363 aktører og deres styringsverktøy og algoritmer?&lt;/p&gt;
364
365 &lt;p&gt;Som individer bør vi være opptatt at grenser blir satt og håndhevet
366 - grenser for overvåkning av individet, for utøvelse av kommersiell
367 og politisk påvirkning, og for monopoldannelser i
368 dataverdenen. Slik grensesetting styrker personvernet.&lt;/p&gt;
369
370 &lt;p&gt;Konkurransetilsynet har ansvaret for at konkurranselovens § 11 skal
371 forby «et dominerende foretak for utilbørlig å utnytte og misbruke
372 sin dominerende stilling». Et tilsvarende forbud omfattes også av
373 EØS-avtalens artikkel 54. Boken går i detalj om serien av
374 innskrenkninger vi møter i valgfriheten, innskrenkninger som denne
375 lovgivningen nettopp skal forhindre. Håndhevelse av en slik lovgivning
376 er også til fordel for mindre næringsdrivende som uten dette får
377 begrenset sine faktiske eller potensielle muligheter for vekst og
378 etablering. «Slik atferd kan utgjøre et misbruk og kan ta ulike
379 former», skriver Konkurransetilsynet.&lt;/p&gt;
380
381 &lt;p&gt;Cory Doctorow går i sin bok lengre enn det med sine mange eksempler
382 på forhold det burde vært grepet inn mot.&lt;/p&gt;
383
384 &lt;p&gt;«Boken bør bidra til et sterkere engasjemen fra voktere av
385 Inter­nettet nasjonalt og internasjonalt - EU medregnet» sier
386 oversetter Ole-Erik Yrvin og fortsetter: «Vi har derfor
387 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2021-01-26-knus-overvaakningskapitalismen-helleland.pdf&quot;&gt;allerede
388 tatt opp bokens forslag&lt;/a&gt; direkte med Distrikts- og
389 digitaliseringsminister Linda Hofstad Helleland (H) og
390 Konkurransetilsynet slik at de kan følges opp.»&lt;/p&gt;
391
392 &lt;p&gt;«Også Norge bør innta en pådriverrolle i denne utviklingen», sier
393 Petter Reinholdtsen. «Tiden er knapp, og tilsynsmyndighetene må få
394 de verktøy og de ressurser de trenger for at vi her hjemme skal oppnå
395 nødvendige resultater. Dette gjelder ikke bare vår egen generasjon;
396 det gjelder alle generasjoner fremover», avslutter Petter
397 Reinholdsen.&lt;/p&gt;
398
399 &lt;p&gt;Kontaktinformasjon:&lt;/p&gt;
400
401 &lt;ul&gt;
402
403 &lt;li&gt;Ole-Erik Yrvin, oeyrvin (at) gmail.com, +47 46500450&lt;/li&gt;
404
405 &lt;li&gt;Petter Reinholdtsen, pere (at) hungry.com&lt;/li&gt;
406
407 &lt;/ul&gt;
408
409 &lt;p&gt;Relevante lenker:&lt;p&gt;
410
411 &lt;ul&gt;
412
413 &lt;li&gt;«Hvordan knuse overvåkingskapitalismen» kan bestilles på papir,
414 som ebok eller leses på nett via
415 &lt;a href=&quot;http://www.hungry.com/~pere/publisher/&quot;&gt;http://www.hungry.com/~pere/publisher/&lt;/a&gt;.&lt;/li&gt;
416
417 &lt;li&gt;Opptak av NUUG-møtet Monopoly, Not Mind Control: What&#39;s Really
418 Happening With &quot;Surveillance Capitalism&quot; med Cory Doctorow,
419 &lt;a href=&quot;https://www.nuug.no/aktiviteter/20201208-doctorow/&quot;&gt;https://www.nuug.no/aktiviteter/20201208-doctorow/&lt;/a&gt;.&lt;/li&gt;
420
421 &lt;li&gt;Påmelding til webinar som lanserer den engelske utgaven kan gjøres
422 via
423 &lt;a href=&quot;https://craphound.com/category/destroy/&quot;&gt;https://craphound.com/category/destroy/&lt;/a&gt;.&lt;/li&gt;
424
425 &lt;li&gt;Cory Doctorows nettsted er
426 &lt;a href=&quot;https://craphound.com/&quot;&gt;https://craphound.com/&lt;/a&gt;.&lt;/li&gt;
427
428 &lt;/ul&gt;
429
430 &lt;/blockquote&gt;
431
432 &lt;p&gt;Som vanlig, hvis du bruker Bitcoin og ønsker å vise din støtte til
433 det jeg driver med, setter jeg pris på om du sender Bitcoin-donasjoner
434 til min adresse
435 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.
436 Merk, betaling med bitcoin er ikke anonymt. :)&lt;/p&gt;
437 </description>
438 </item>
439
440 <item>
441 <title>Latest Jami back in Debian Testing, and scriptable using dbus</title>
442 <link>http://people.skolelinux.org/pere/blog/Latest_Jami_back_in_Debian_Testing__and_scriptable_using_dbus.html</link>
443 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Latest_Jami_back_in_Debian_Testing__and_scriptable_using_dbus.html</guid>
444 <pubDate>Tue, 12 Jan 2021 17:00:00 +0100</pubDate>
445 <description>&lt;p&gt;After a lot of hard work by its maintainer Alexandre Viau and
446 others, the decentralized communication platform
447 &lt;a href=&quot;https://en.wikipedia.org/wiki/Jami_(software)&quot;&gt;Jami&lt;/a&gt;
448 (earlier known as Ring), managed to get
449 &lt;a href=&quot;https://tracker.debian.org/pkg/ring&quot;&gt;its latest version&lt;/a&gt;
450 into Debian Testing. Several of its dependencies has caused build and
451 propagation problems, which all seem to be solved now.&lt;/p&gt;
452
453 &lt;p&gt;In addition to the fact that Jami is decentralized, similar to how
454 bittorrent is decentralized, I first of all like how it is not
455 connected to external IDs like phone numbers. This allow me to set up
456 computers to send me notifications using Jami without having to find
457 get a phone number for each computer. Automatic notification via Jami
458 is also made trivial thanks to the provided client side API (as a DBus
459 service). Here is my bourne shell script demonstrating how to let any
460 system send a message to any Jami address. It will create a new
461 identity before sending the message, if no Jami identity exist
462 already:&lt;/p&gt;
463
464 &lt;p&gt;&lt;pre&gt;
465 #!/bin/sh
466 #
467 # Usage: $0 &lt;jami-address&gt; &lt;message&gt;
468 #
469 # Send &lt;message&gt; to &lt;jami-address&gt;, create local jami account if
470 # missing.
471 #
472 # License: GPL v2 or later at your choice
473 # Author: Petter Reinholdtsen
474
475
476 if [ -z &quot;$HOME&quot; ] ; then
477 echo &quot;error: missing \$HOME, required for dbus to work&quot;
478 exit 1
479 fi
480
481 # First, get dbus running if not already running
482 DBUSLAUNCH=/usr/bin/dbus-launch
483 PIDFILE=/run/asterisk/dbus-session.pid
484 if [ -e $PIDFILE ] ; then
485 . $PIDFILE
486 if ! kill -0 $DBUS_SESSION_BUS_PID 2&gt;/dev/null ; then
487 unset DBUS_SESSION_BUS_ADDRESS
488 fi
489 fi
490 if [ -z &quot;$DBUS_SESSION_BUS_ADDRESS&quot; ] &amp;&amp; [ -x &quot;$DBUSLAUNCH&quot; ]; then
491 DBUS_SESSION_BUS_ADDRESS=&quot;unix:path=$HOME/.dbus&quot;
492 dbus-daemon --session --address=&quot;$DBUS_SESSION_BUS_ADDRESS&quot; --nofork --nopidfile --syslog-only &lt; /dev/null &gt; /dev/null 2&gt;&amp;1 3&gt;&amp;1 &amp;
493 DBUS_SESSION_BUS_PID=$!
494 (
495 echo DBUS_SESSION_BUS_PID=$DBUS_SESSION_BUS_PID
496 echo DBUS_SESSION_BUS_ADDRESS=\&quot;&quot;$DBUS_SESSION_BUS_ADDRESS&quot;\&quot;
497 echo export DBUS_SESSION_BUS_ADDRESS
498 ) &gt; $PIDFILE
499 . $PIDFILE
500 fi &amp;
501
502 dringop() {
503 part=&quot;$1&quot;; shift
504 op=&quot;$1&quot;; shift
505 dbus-send --session \
506 --dest=&quot;cx.ring.Ring&quot; /cx/ring/Ring/$part cx.ring.Ring.$part.$op $*
507 }
508
509 dringopreply() {
510 part=&quot;$1&quot;; shift
511 op=&quot;$1&quot;; shift
512 dbus-send --session --print-reply \
513 --dest=&quot;cx.ring.Ring&quot; /cx/ring/Ring/$part cx.ring.Ring.$part.$op $*
514 }
515
516 firstaccount() {
517 dringopreply ConfigurationManager getAccountList | \
518 grep string | awk -F&#39;&quot;&#39; &#39;{print $2}&#39; | head -n 1
519 }
520
521 account=$(firstaccount)
522
523 if [ -z &quot;$account&quot; ] ; then
524 echo &quot;Missing local account, trying to create it&quot;
525 dringop ConfigurationManager addAccount \
526 dict:string:string:&quot;Account.type&quot;,&quot;RING&quot;,&quot;Account.videoEnabled&quot;,&quot;false&quot;
527 account=$(firstaccount)
528 if [ -z &quot;$account&quot; ] ; then
529 echo &quot;unable to create local account&quot;
530 exit 1
531 fi
532 fi
533
534 # Not using dringopreply to ensure $2 can contain spaces
535 dbus-send --print-reply --session \
536 --dest=cx.ring.Ring \
537 /cx/ring/Ring/ConfigurationManager \
538 cx.ring.Ring.ConfigurationManager.sendTextMessage \
539 string:&quot;$account&quot; string:&quot;$1&quot; \
540 dict:string:string:&quot;text/plain&quot;,&quot;$2&quot;
541 &lt;/pre&gt;&lt;/p&gt;
542
543 &lt;p&gt;If you want to check it out yourself, visit the
544 &lt;a href=&quot;https://jami.net/&quot;&gt;the Jami system project page&lt;/a&gt; to learn
545 more, and install the latest Jami client from Debian Unstable or
546 Testing.&lt;/p&gt;
547
548 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
549 activities, please send Bitcoin donations to my address
550 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
551 </description>
552 </item>
553
554 <item>
555 <title>Boken «Made with Creative Commons» lanseres på norsk</title>
556 <link>http://people.skolelinux.org/pere/blog/Boken__Made_with_Creative_Commons__lanseres_p__norsk.html</link>
557 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Boken__Made_with_Creative_Commons__lanseres_p__norsk.html</guid>
558 <pubDate>Sun, 15 Nov 2020 23:50:00 +0100</pubDate>
559 <description>&lt;p&gt;Endelig er den norske utgaven av «Made with Creative Commons»
560 ferdig og publisert. Følgende pressemelding ble nettopp sendt ut:
561
562 &lt;blockquote&gt;
563
564 &lt;p&gt;&lt;strong&gt;Boken «Made with Creative Commons» lanseres på norsk&lt;/strong&gt;&lt;/p&gt;
565
566 &lt;p&gt;«Gjort med Creative Commons» er en bok om gjenbruk, deling og den
567 digitale allmenningen. Boken omhandler å bygge en forretningsmodell på
568 åpne verdier, endringene i tankesett og filosofi, og fordelene og
569 praksisen som kommer med å være «åpen».&lt;/p&gt;
570
571 &lt;p&gt;Forfatterne Paul Stacey og Sarah Hinchliff Pearson tar oss med inn
572 i samtaler med 24 mennesker, prosjekter og organisasjoner som på ulike
573 måter generere inntekter gjennom deling av sine verk. Som leser får
574 man innsikt i hvordan alt fra forskere, forfattere, kunstnere og
575 filmskapere tjener penger basert på åpne forretningsmodeller. En av
576 referansestudiene i denne boken viser hvordan Blender Animation Studio
577 lager vakre animasjonsfilmer som de publiserer under en fri lisens,
578 basert på en plattform som er fri programvare.&lt;/p&gt;
579
580 &lt;p&gt;Utover praktiske eksempler på forskjellige forretningsmodeller berører
581 også boken forskjellen mellom tradisjonelle kommersielle virksomheter og
582 de som tar utgangspunkt i den globale delingskulturen.&lt;/p&gt;
583
584 &lt;p&gt;«Hvis du ønsker å lære mer om digital delingskultur og Creative Commons
585 er dette en bok som både vil inspirere og gi grunnleggende innsikt» sier
586 leder av Creative Commons Norge, Christer Solheim Gundersen. «De siste
587 årene har denne globale bevegelsen sett en betydelig vekst med totalt
588 over 1,6 milliarder verk med CC-lisens tilgjengelig på nett.»
589
590 Nå er den tilgjengelig på norsk takket være liten gruppe frivillige
591 entusiaster ledet av Petter Reinholdtsen. «På vegne av Creative Commons
592 Norge vil jeg takke hver enkelt bidragsyter. Dette prosjektet er i seg
593 selv et inspirerende eksempel på at delingskulturen også har godt
594 fotfeste her i Norge.», avslutter Gundersen.&lt;/p&gt;
595
596 &lt;p&gt;Boken er selvsagt fritt tilgjengelig under en Creative Commons lisens,
597 og kan også kjøpes som ebok og papirutgave på blant annet Lulu.com og
598 Amazon.&lt;/p&gt;
599
600 &lt;p&gt;&lt;strong&gt;Lenker og kontaktinformasjon&lt;/strong&gt;&lt;/p&gt;
601
602 &lt;ul&gt;
603
604 &lt;li&gt;Kontaktpunkt:
605 &lt;br&gt;Ole-Erik Yrvin (oeyrvin@gmail.com) og
606 &lt;br&gt;Christer Solheim Gundersen (christer@goopen.no), +47 9341 1360&lt;/li&gt;
607
608 &lt;li&gt;Bokens &lt;a href=&quot;https://madewith.cc/&quot;&gt;engelske nettside&lt;/a&gt;&lt;/li&gt;
609
610 &lt;li&gt;Den &lt;a href=&quot;http://www.hungry.com/~pere/publisher/&quot;&gt;norske utgavens nettside&lt;/a&gt;&lt;/li&gt;
611
612 &lt;li&gt;&lt;a href=&quot;https://www.lulu.com/en/us/shop/sarah-hinchliff-pearson-and-paul-stacey-and-bryan-mathers-and-ryan-merkley/gjort-med-creative-commons/paperback/product-m5jy75.html&quot;&gt;Papirutgaven fra Lulu&lt;/a&gt;&lt;/li&gt;
613
614 &lt;li&gt;&lt;a href=&quot;https://www.lulu.com/en/us/shop/sarah-hinchliff-pearson-and-paul-stacey-and-bryan-mathers-and-ryan-merkley/gjort-med-creative-commons/ebook/product-zw2r4k.html&quot;&gt;Epub-utgaven fra lulu&lt;/a&gt;&lt;/li&gt;
615
616 &lt;/ul&gt;
617
618 &lt;/blockquote&gt;
619
620 &lt;p&gt;Nå håper jeg bare den får mange lesere, og finner veien under mange
621 juletrær.&lt;/p&gt;
622
623 &lt;p&gt;Som vanlig, hvis du bruker Bitcoin og ønsker å vise din støtte til
624 det jeg driver med, setter jeg pris på om du sender Bitcoin-donasjoner
625 til min adresse
626 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.
627 Merk, betaling med bitcoin er ikke anonymt. :)&lt;/p&gt;
628 </description>
629 </item>
630
631 <item>
632 <title>Buster based Bokmål edition of Debian Administrator&#39;s Handbook</title>
633 <link>http://people.skolelinux.org/pere/blog/Buster_based_Bokm_l_edition_of_Debian_Administrator_s_Handbook.html</link>
634 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Buster_based_Bokm_l_edition_of_Debian_Administrator_s_Handbook.html</guid>
635 <pubDate>Tue, 20 Oct 2020 18:35:00 +0200</pubDate>
636 <description>&lt;p align=&quot;center&quot;&gt;&lt;img align=&quot;center&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2020-10-20-debian-handbook-nb-testprint.jpeg&quot; width=&quot;60%&quot;/&gt;&lt;/p&gt;
637
638 &lt;p&gt;I am happy to report that we finally made it! Norwegian Bokmål
639 became the first translation published on paper of the new Buster
640 based edition of &quot;&lt;a href=&quot;https://debian-handbook.info/&quot;&gt;The Debian
641 Administrator&#39;s Handbook&lt;/a&gt;&quot;. The print proof reading copy arrived
642 some days ago, and it looked good, so now the book is approved for
643 general distribution. This updated paperback edition &lt;a
644 href=&quot;https://debian-handbook.info/get/#norwegian&quot;&gt;is available from
645 lulu.com&lt;/a&gt;. The book is also available for download in electronic
646 form as PDF, EPUB and Mobipocket, and can also be
647 &lt;a href=&quot;https://debian-handbook.info/browse/nb-NO/stable/&quot;&gt;read online&lt;/a&gt;.&lt;/p&gt;
648
649 &lt;p&gt;I am very happy to wrap up this Creative Common licensed project,
650 which concludes several months of work by several volunteers. The
651 number of Linux related books published in Norwegian are few, and I
652 really hope this one will gain many readers, as it is packed with deep
653 knowledge on Linux and the Debian ecosystem. The book will be
654 available for various Internet book stores like Amazon and Barnes &amp;
655 Noble soon, but I recommend buying
656 &quot;&lt;a href=&quot;https://www.lulu.com/en/us/shop/roland-mas-and-rapha%C3%ABl-hertzog/h%C3%A5ndbok-for-debian-administratoren/paperback/product-9j7qwq.html&quot;&gt;Håndbok
657 for Debian-administratoren&lt;/a&gt;&quot; directly from the source at Lulu.
658
659 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
660 activities, please send Bitcoin donations to my address
661 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
662 </description>
663 </item>
664
665 <item>
666 <title>Buster update of Norwegian Bokmål edition of Debian Administrator&#39;s Handbook almost done</title>
667 <link>http://people.skolelinux.org/pere/blog/Buster_update_of_Norwegian_Bokm_l_edition_of_Debian_Administrator_s_Handbook_almost_done.html</link>
668 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Buster_update_of_Norwegian_Bokm_l_edition_of_Debian_Administrator_s_Handbook_almost_done.html</guid>
669 <pubDate>Fri, 11 Sep 2020 09:45:00 +0200</pubDate>
670 <description>&lt;p&gt;Thanks to the good work of several volunteers, the updated edition
671 of the Norwegian translation for
672 &quot;&lt;a href=&quot;https://debian-handbook.info/&quot;&gt;The Debian Administrator&#39;s
673 Handbook&lt;/a&gt;&quot; is now almost completed. After many months of proof
674 reading, I consider the proof reading complete enough for us to move
675 to the next step, and have asked for the print version to be prepared
676 and sent of to the print on demand service lulu.com. While it is
677 still not to late if you find any incorrect translations on
678 &lt;a href=&quot;https://hosted.weblate.org/languages/nb_NO/debian-handbook/&quot;&gt;the
679 hosted Weblate service&lt;/a&gt;, but it will be soon. :) You can check out
680 &lt;a href=&quot; https://debian-handbook.info/browse/nb-NO/stable/&quot;&gt;the Buster
681 edition on the web&lt;/a&gt; until the print edition is ready.&lt;/p&gt;
682
683 &lt;p&gt;The book will be for sale on lulu.com and various web book stores,
684 with links available from the web site for the book linked to above.
685 I hope a lot of readers find it useful.&lt;/p&gt;
686
687 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
688 activities, please send Bitcoin donations to my address
689 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
690 </description>
691 </item>
692
693 <item>
694 <title>Working on updated Norwegian Bokmål edition of Debian Administrator&#39;s Handbook</title>
695 <link>http://people.skolelinux.org/pere/blog/Working_on_updated_Norwegian_Bokm_l_edition_of_Debian_Administrator_s_Handbook.html</link>
696 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Working_on_updated_Norwegian_Bokm_l_edition_of_Debian_Administrator_s_Handbook.html</guid>
697 <pubDate>Sat, 4 Jul 2020 23:55:00 +0200</pubDate>
698 <description>&lt;p&gt;Three years ago, the first Norwegian Bokmål edition of
699 &quot;&lt;a href=&quot;https://debian-handbook.info/&quot;&gt;The Debian Administrator&#39;s
700 Handbook&lt;/a&gt;&quot; was published. This was based on Debian Jessie. Now a
701 new and updated version based on Buster is getting ready. Work on the
702 updated Norwegian Bokmål edition has been going on for a few months
703 now, and yesterday, we reached the first mile stone, with 100% of the
704 texts being translated. A lot of proof reading remains, of course,
705 but a major step towards a new edition has been taken.&lt;/p&gt;
706
707 &lt;p&gt;The book is translated by volunteers, and we would love to get some
708 help with the proof reading. The translation uses
709 &lt;a href=&quot;https://hosted.weblate.org/languages/nb_NO/debian-handbook/&quot;&gt;the
710 hosted Weblate service&lt;/a&gt;, and we welcome everyone to have a look and
711 submit improvements and suggestions. There is also a proof readers
712 PDF available on request, get in touch if you want to help out that
713 way.&lt;/p&gt;
714
715 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
716 activities, please send Bitcoin donations to my address
717 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
718 </description>
719 </item>
720
721 <item>
722 <title>Secure Socket API - a simple and powerful approach for TLS support in software</title>
723 <link>http://people.skolelinux.org/pere/blog/Secure_Socket_API___a_simple_and_powerful_approach_for_TLS_support_in_software.html</link>
724 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Secure_Socket_API___a_simple_and_powerful_approach_for_TLS_support_in_software.html</guid>
725 <pubDate>Sat, 6 Jun 2020 12:40:00 +0200</pubDate>
726 <description>&lt;p&gt;As a member of the &lt;a href=&quot;https://www.nuug.no/&quot;&gt;Norwegian Unix
727 User Group&lt;/a&gt;, I have the pleasure of receiving the
728 &lt;a href=&quot;https://www.usenix.org/&quot;&gt;USENIX&lt;/a&gt; magazine
729 &lt;a href=&quot;https://www.usenix.org/publications/login/&quot;&gt;;login:&lt;/a&gt;
730 several times a year. I rarely have time to read all the articles,
731 but try to at least skim through them all as there is a lot of nice
732 knowledge passed on there. I even carry the latest issue with me most
733 of the time to try to get through all the articles when I have a few
734 spare minutes.&lt;/p&gt;
735
736 &lt;p&gt;The other day I came across a nice article titled
737 &quot;&lt;a href=&quot;https://www.usenix.org/publications/login/winter2018/oneill&quot;&gt;The
738 Secure Socket API: TLS as an Operating System Service&lt;/a&gt;&quot; with a
739 marvellous idea I hope can make it all the way into the POSIX standard.
740 The idea is as simple as it is powerful. By introducing a new
741 socket() option IPPROTO_TLS to use TLS, and a system wide service to
742 handle setting up TLS connections, one both make it trivial to add TLS
743 support to any program currently using the POSIX socket API, and gain
744 system wide control over certificates, TLS versions and encryption
745 systems used. Instead of doing this:&lt;/p&gt;
746
747 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
748 int socket = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
749 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
750
751 &lt;p&gt;the program code would be doing this:&lt;p&gt;
752
753 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
754 int socket = socket(PF_INET, SOCK_STREAM, IPPROTO_TLS);
755 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
756
757 &lt;p&gt;According to the ;login: article, converting a C program to use TLS
758 would normally modify only 5-10 lines in the code, which is amazing
759 when compared to using for example the OpenSSL API.&lt;/p&gt;
760
761 &lt;p&gt;The project has set up the
762 &lt;a href=&quot;https://securesocketapi.org/&quot;&gt;https://securesocketapi.org/&lt;/a&gt;
763 web site to spread the idea, and the code for a kernel module and the
764 associated system daemon is available from two github repositories:
765 &lt;a href=&quot;https://github.com/markoneill/ssa&quot;&gt;ssa&lt;/a&gt; and
766 &lt;a href=&quot;https://github.com/markoneill/ssa-daemon&quot;&gt;ssa-daemon&lt;/a&gt;.
767 Unfortunately there is no explicit license information with the code,
768 so its copyright status is unclear. A
769 &lt;a href=&quot;https://github.com/markoneill/ssa/issues/2&quot;&gt;request to solve
770 this&lt;/a&gt; about it has been unsolved since 2018-08-17.&lt;/p&gt;
771
772 &lt;p&gt;I love the idea of extending socket() to gain TLS support, and
773 understand why it is an advantage to implement this as a kernel module
774 and system wide service daemon, but can not help to think that it
775 would be a lot easier to get projects to move to this way of setting
776 up TLS if it was done with a user space approach where programs
777 wanting to use this API approach could just link with a wrapper
778 library.&lt;/p&gt;
779
780 &lt;p&gt;I recommend you check out this simple and powerful approach to more
781 secure network connections. :)&lt;/p&gt;
782
783 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
784 activities, please send Bitcoin donations to my address
785 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
786 </description>
787 </item>
788
789 </channel>
790 </rss>