2008.01.03

Improbulus has put up video from the BarCamp London 3 session "What is fair use?" 2008-01-03T09:17:17ZUntitled entry permalink

SKOSRoll for everybody! 2008-01-03T07:08:13ZTitled entry permalink

Danny has a post that describes turning OPML into a "SKOSRoll" - basically a set of SKOS concepts with related resources. I hadn't thought of SKOS as being an appropriate ontology for OPML mapping. I'm thinking that one could quite easily create what I call a 'modal outliner' - it could pull in an XML file that lists a set of semantic concepts and maps them to an outliner representation. Tree structures fit quite well for how a lot of people think. For instance, one could have a FOAF representation, which would simply be a file that explains that the outliner is dealing with people, their details (ie. name, contact details etc.) and that they are all 'known' by the creator of the outline. It would also define a simple transformation back into OPML and HTML so that it can be displayed in legacy OPML tools and in browsers. The transformations could be described using SPARQL CONSTRUCT queries, or perhaps using a pre-set list of query fields for a SPARQL SELECT.

Outliners force you to think in a certain way, and that is quite a good way of bootstraping a web of objects and relationships.

Use your phone as a fob 2008-01-03T22:50:04ZTitled entry permalink

When I recently built the current incarnation of my blogging software, I decided against passwords. Passwords are quite ugly things. One of the things that irritates me most is people doing "password protection" on files. Access control lists is much more secure because you can revoke someone's access to a resource without having to spread a new password to other users. So, no passwords.

I've solved this by using OpenID. I can login with any of my fifteen or so OpenIDs to post to my blog. But what about having a two-factor authentication instead? Why not use that gadget I carry around with me called a phone? People carry around these silly-looking RSA SecurID things. But I carry around a phone with me. Why not just generate a hash key on that?

To solve this, I wrote a J2ME midlet called CellFob that generates a new token using SHA-1 every one hundred seconds based on a pre-loaded seed key. I had put this together a while back, but for some reason my old Motorola V3 RAZR just borked on the damn thing, despite it working with the emulators. Then I changed my phone to a Sony-Ericsson W810i, so decided to reload the JAR file. It works great. There's something really cool and magic when one loads one's first J2ME app on to your phone. It makes the whole platform feel so much more open, just like a terminal window does compared to a DOS prompt on modern computers or a BASIC interpreter on old computers like the BBC Micro. Ah, nostalgia.

Anyway, I have implemented it on my blog's management utility. Just took the hashing procedure from my Java client and rewrote it in PHP. Amazingly, it works! This is being used for me as a backup when OpenID fails. Which it does occasionally. Some portable devices don't seem to support some of the major OpenID servers very well.

The whole thing isn't terribly high security, alas. The problems that exist are mainly focused on ensuring that the client and the server are running with times relatively close to one another. When I was first testing it on my laptop, my phone was a few minutes behind my laptop and it wouldn't work. More seriously, there are probable timezone issues. In order to get it to work reliably, one would have to make sure that the client and server are both hashing the same timezones. If one were to try and turn this into a product, setting it to use what it believes to be GMT would solve that problem. Similarly, what with rainbow tables and so on, one should remain cautious about the security of SHA-1. Hashing algorithms are a trade-off between all sorts of difficult factors. I read my Bruce Schneier fanatically, but I'm still not sure that widespread promotion of using SHA-1 tokens is the best way forward. Plus it needs to be easy for the user to revoke 'fob' identification - in case their phone is compromised.

Bug me in real life and I'll show you. I may even record a video of it if you guys want it. And if there's no glaring security problems, I'll release the (alpha-grade) J2ME code. Open source developers should be ripping things like SecurID to shreds and replacing them with a simple two-factor authentication scheme that could be applied by individuals rather than large corporations.

Links from del.icio.us

 

Login with your OpenID:
Le Web '08, Paris, December 9th and 10th, Register Now! 20% off.
No. 734
Tom Morris
Currently in: East Sussex, England
Usually in: East Sussex, United Kingdom
AIM: tommorris
YIM: tom.morris

I am a , an , like to code in and noodle about with and the . I also have a BA in philosophy from London, and am studying for an MA. My philosophical interests are in Victorian-era German philosophy, Kierkegaard, Robert Nozick, hermeneutics and current approaches to the demarcation problem in the philosophy of science. Musically, I like jazz fusion, soul and P-Funk. My musical nirvana would be a mixture of Beethoven, Miles Davis and George Clinton topped with a side-serving of Erykah, Jill and Angie.

I also write for the Citizendium, an online encyclopedia project. If you know about stuff, you should join in.

Elsewhere:

  • GPG Key
  • del.icio.us
  • Flickr
  • Twitter
  • digg
  • Jaiku
  • LinkedIn
  • ma.gnolia
  • blip.tv
  • upcoming.org
  • MetaFilter
  • LiveJournal
  • CiteULike
  • Technorati Profile

RSS Feed Subscribe:

RDF

« January 2008 »
SuMoTuWeThFrSa
 12345
6789101112
13141516171819
20212223242526
2728293031 

View in month context

On this day in: 2004 2006 2007