Monthly Archives: April 2011

Linked Data Projects

MyProfile Project

I am proud to announce that today we have launched the project MyProfile, as part of my PhD thesis at TELECOM SudParis.

MyProfile intends to provide a solution for managing the numerous accounts and profiles that users have on the Internet. Its main purpose is to provide a unified user account, or simply ‘user profile’, which as opposed to current ‘silo’ profiles, would really be under the user’s control, on a device controlled by the user — possibly a plug computer.
read more »

Projects

Releasing WebIDauth v0.1

What is WebIDauth?

WebIDauth is a PHP authentication service for WebID enabled FOAF profiles, aiming to provide a service similar to foafssl.org. It is this library that is powering https://auth.fcns.eu.

Functionalities

Right now, WebIDauth supports the following functionalities:

  • checks if the SubjectAltName filed contains something else other than the webid uri, and only processeses the URI:
  • checks if the webid profile contains multiple values for modulus (e.g. multiple public keys) and cycles through them until it gets a match
  • if you select ‘Display certificate instead of authenticating?’ you can see the contents of the certificate you are using to connect to this site

read more »

General

Exporting certificates from Firefox store using pk12util

If you ever want to export a certificate (with it’s keys) from Firefox but you have no access to Firefox itself (the GUI), then I have a solution for you. It is based on “certutil” and “pk12util”, two command line utils. I am assuming that you are in your home directory (i.e. ~/). You can change to your home directory by typing `cd ~/`.

First, in order to find which certificate you need to export, you can get a list of all currently installed certificates:

certutil -L -d ~/.mozilla/firefox/x2m9ft1a.default

read more »

Linked Data

How to serve a WebID using Apache’s .htaccess file

Having updated my FOAF profile lately to include my WebID, I had to set up a way to serve the foaf profile based on the type of HTTP request. Meaning that when a browser requests the document as text/html, it gets redirected to a php script which uses some libraries to print a user-friendly version of the profile. Otherwise, if the request is for rdf/xml, the rdf file will be served instead. The configuration example I am presenting here is based on the Best Practice Recipes for Publishing RDF Vocabularies document, with slight modifications made by me. It should be noted that this configuration applies for publishing any foaf profile, using rdf/xml.

In case you were wondering, all these configuration lines go into a .htaccess file which you have to put in the same directory with where you have both rdf and html files. Let’s suppose you have a directory structure which resembles mine: http://domain.com/people/user/
read more »

Linked Data Projects

WebID Test Suite

Hello everyone! I am proud to announce that I have finally finished implementing several basic functionalities for a WebID test suite, as part of a personal project related to my PhD research. You can access it by going to this link: http://webid.fcns.eu/ (the link is temporary, as I am still deciding where to host it).

So far, several functionalities are available:

  • in-browser x509 certificate generation
  • WebID authentication through foafssl.org
  • WebID authentication done locally
  • WebID profile lookup

read more »

General

Taming the Cyborg R.A.T. 7 mouse under Linux

Finally it is here! My new and shiny gaming mouse is everything I ever hoped for…except if I try using it under Linux. Somehow it gets “stuck” in the first window, and I can’t use it without restarting X. At the moment of writing this post, there is still no official patch, even though the mouse has been out for more than half an year.

Anyway, to get it to play nice under Linux, all you have to do is to add this section to you xorg.conf file. You can do it by typing this in a terminal: sudo gedit /etc/X11/xorg.conf, and then pasting the following block of text at the bottom of the file.

Section "InputClass"
        Identifier "Mouse Remap"
        MatchProduct "Saitek Cyborg R.A.T.7 Mouse"
        MatchDevicePath "/dev/input/event*"
        Option "ButtonMapping" "1 2 3 4 5 6 7 2 9 10 11 12 0 0 0"
EndSection

Until an official patch is released, this hack should get your Cyborg RAT 7 to work under Linux.

Andrei