W3C home > Mailing lists > Public > public-xg-webid@w3.org > January 2012

Re: WebIDRealm RDFa

From: Jürgen Jakobitsch <j.jakobitsch@semantic-web.at>
Date: Wed, 04 Jan 2012 22:00:16 +0100 (CET)
To: Henry Story <henry.story@bblfish.net>
Cc: Peter Williams <home_pw@msn.com>, public-xg-webid@w3.org
Message-ID: <a58adb8a-f823-4457-8579-f5c27fa3765b@zcs>
hi henry,

i don't think thats the problem.

i now removed every whitespace to have one single row of characters (like here http://www.turnguard.com/turnguard)
now the test fails because it assumes that the key from the profile and the key from the certificate are not equal.

i attached a screeny.

please also take a look at the source code from http://2sea.org/sea.jsp#j to see how it looks there.

please note :

how to i copy the modulus from cert to profile :

1. open cert in firefox
2. copy the modulus
3. paste it into texteditor (gedit on openSuse)
4. replace all whitespaces by "nothing"
5. mark all and copy the text again to clipboard
6. insert it in my profile (vim on openSuse)
7. remove leading and trailing whitespaces from pasting

wkr j

----- Original Message -----
From: "Henry Story" <henry.story@bblfish.net>
To: "Jürgen Jakobitsch" <j.jakobitsch@semantic-web.at>
Cc: "Peter Williams" <home_pw@msn.com>, public-xg-webid@w3.org
Sent: Wednesday, January 4, 2012 9:51:51 PM
Subject: Re: WebIDRealm RDFa


On 4 Jan 2012, at 21:39, Jürgen Jakobitsch wrote:

> btw,
> 
> i just realized that http://2sea.org/sea.jsp#j
> doesn't pass the authentication here https://foafssl.org/test/WebId
> 
> http://validator.w3.org says its valid xhtml+rdfa
> http://rdf-translator.appspot.com/ and http://www.w3.org/2007/08/pyRdfa/ parse without problem

Ok, so I look at 
http://www.w3.org/2007/08/pyRdfa/

and the graph returned is

@prefix cert: <http://www.w3.org/ns/auth/cert#> .
@prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix turnguard: <http://www.turnguard.com/> .
@prefix xhv: <http://www.w3.org/1999/xhtml/vocab#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .


<http://2sea.org/sea.jsp> a foaf:PersonalProfileDocument ;
     foaf:maker <http://2sea.org/sea.jsp#j> . 

<http://2sea.org/sea.jsp#j> a foaf:Person ;
     cert:key
         [ a cert:RSAPublicKey ;
             cert:exponent "65537"^^xsd:integer ;
             cert:modulus """
986534d06d133821f40157c15891857d
537d20af028656ddca1caf93cd3cc910
4d4f172cf14d6102ddf13b16852c09b3
fccb0a2fe2a2e895b8f5993fd87321d1
a03b656cac78726715f7198f7c5d539b
8197fd35bafe274ceade6694ec38c866
09a25d6988f6e749f401c37145ac1114
2d84d775f4f929dbcd6ba809ab4e39b3
dc36087062efcf73050e313f60929b7f
969b8b6bc80e25ef6000bbe66d6925ab
a09aed8a16271d6d9651edb27c6bb50a
1ffc6bc7d8bfe8346965cf0b59933853
52157fb7df1b143a97ac7d642428c1f8
7dd7988364115dcfa05cfb020b595417
feb54febaa8ac4a81c40ba9ac1dc6a09
7f53b379ba9850e0a45e2f1c452f3743
      """^^xsd:hexBinary
         ] ;
     foaf:depiction <http://2sea.org/2sealogo.png> ;
     foaf:name "jürgen" . 


But your cert:modulus is not a well formed hexBinary. A hexBinary I believe only allows white space at the beginning and end of 
the URI, not newlines in between.

So the other parsers are not conforming to spec at this level.

Henry

> i attached the screenshot from foafssl.org
> 
> any idea?
> 
> wkr http://www.turnguard.com/turnguard
> 
> <Screenshot-WebId Tests - Mozilla Firefox.png>

Social Web Architect
http://bblfish.net/


-- 
| Jürgen Jakobitsch, 
| Software Developer
| Semantic Web Company GmbH
| Mariahilfer Straße 70 / Neubaugasse 1, Top 8
| A - 1070 Wien, Austria
| Mob +43 676 62 12 710 | Fax +43.1.402 12 35 - 22

COMPANY INFORMATION
| http://www.semantic-web.at/

PERSONAL INFORMATION
| web   : http://www.turnguard.com
| foaf  : http://www.turnguard.com/turnguard
| skype : jakobitsch-punkt


Screenshot-WebId_Tests_-_Mozilla_Firefox-1.png
(image/png attachment: Screenshot-WebId_Tests_-_Mozilla_Firefox-1.png)

Received on Wednesday, 4 January 2012 21:00:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 4 January 2012 21:00:48 GMT