{% comment %} See: http://www.w3.org/2005/Incubator/webid/wiki/Test_Suite http://www.w3.org/TR/EARL10-Guide/ http://infomesh.net/2001/05/earl/model/primer/ {% endcomment %} {% comment %} Should be earl:Software??? {% endcomment %} Python WebID validator Python WebID validator. {% comment %} is it more correct if the assertor is the service??? -- USE DOAP http://www.w3.org/TR/EARL10-Schema/#Software {% endcomment %} 0.1 {% comment %} MISSING: verificationTimestamp Loop over all possible subjects/pointers before describing assertions about tests {% endcomment %} {{ webidinfo.cert.b64der }} {% comment %}missing cert:identity???{% endcomment %} {{ webidinfo.cert.get_mod }} {{ webidinfo.cert.get_exp }} {% for pubkey in webidinfo.all_webidkeys %} {{ pubkey.mod }} {{ pubkey.exp }} {% ifequal webidinfo.cert.pubkey pubkey %}{% endifequal %} {{ pubkey.to_rdf }} {% endfor %} {% comment %} 1) We SHOULD include ONLY the relevant portions of the WebIDProfile document 2) we should link to a resource dscription using rdf http voc. {% endcomment %} {% for profile in webidinfo.all_profiles %} {% comment %} should we include the URI here somehow??? {% endcomment %} {{ profile.rawprofile.dump }} {% endfor %} {% for webidclaim in webidinfo.all_webidclaims %} {% comment %} XXX WE ARE MISSING earl:subject {% endcomment %} {% comment %} XXX FIXME ##!!!!!!!!!!!!!!!!!!!!!!!!!!!!! XXX FIXME if the claimed key matches the cert rsa key, we should point there (to that uuid) XXX FIXME !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! if not, we should add a RSAPubKey block here. Hmm or can we say something like owl:sameAs {% endcomment %} {{ webidclaim.claimedURI }} {% endfor %} {% for test in webidinfo.testbed.tests %} {% for result in test.results %} {% if result.subject %}{% endif %} {{ test.description }} {% if result.details %}"{{ result.details }}"{% endif %} {% comment %}Info in Human-Readable form!!!{% endcomment %} {% comment %} add other things: testMode (auto); outcome: notTested / cantTell missing: TIMESTAMPS {% endcomment %}{% if result.pointer %}{% if result.pointer.id_uuid %}{% else %}{{ result.pointer }}{% endif %}{% endif %} {% endfor %} {% endfor %}