-
Go to a URI without access
-
Login with webid and password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<script | |
src="https://solid.github.io/releases/solid.js/solid-client.min.js" | |
></script> | |
<script type="module" src="./main.js"></script> | |
<style> | |
li > input:checked ~ .child {display: none;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<script src="https://solid.github.io/solid-auth-client/dist/solid-auth-client.bundle.js"></script> | |
<script type="module" src="./main.js"></script> | |
<style> | |
#login {display: none;} | |
#webid:empty ~ #login {display: inline;} | |
#webid:empty ~ #logout {display: none;} |
-
Use Firefox Browser
-
Go to https://databox.me/ and get a username
-
Note down your username
-
Enter your name and in the Webid box enter : https://username.databox.me/profile/card#me
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require("fs"); | |
var forge = require('node-forge'); | |
var debug = require('debug')('converter'); | |
var BigInteger = forge.jsbn.BigInteger; | |
// change as necessary | |
var countryName = 'UK'; | |
var domain = 'http://databox.me/'; | |
var localityName = 'London'; | |
var organizationName = 'databox.me'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function write_cert($cert) { | |
echo "$cert"; | |
$myFile = "/tmp/tmp1234.spkac"; | |
$fh = fopen($myFile, 'w') or die("can't open file"); | |
fwrite($fh, $cert); | |
fclose($fh); |
Tim Berners-Lee @timbl
I lke webid-tls because
-
Public keys are sooo much better than passwords
-
I want to have 1 or more public ID consistently in a bunch of stuff I do, not a different ID in each silo.
-
I feel it is simpler/quicker/more secure to authenticate directly from client to server in general than get redirected to other third parties.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) AccountManager (account creation tests) accessing accounts should be able to access public file of an account: | |
TypeError: Cannot read property 'status' of undefined | |
at Test._assertStatus (node_modules/supertest/lib/test.js:229:10) | |
at Test._assertFunction (node_modules/supertest/lib/test.js:247:11) | |
at Test.assert (node_modules/supertest/lib/test.js:148:18) | |
at assert (node_modules/supertest/lib/test.js:127:12) | |
at node_modules/supertest/lib/test.js:124:5 | |
at Test.Request.callback (node_modules/superagent/lib/node/index.js:687:12) | |
at ClientRequest.<anonymous> (node_modules/superagent/lib/node/index.js:639:10) | |
at TLSSocket.socketErrorListener (_http_client.js:306:9) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) AccountManager (account creation tests) accessing accounts should be able to access public file of an account: | |
TypeError: Cannot read property 'status' of undefined | |
at Test._assertStatus (node_modules/supertest/lib/test.js:229:10) | |
at Test._assertFunction (node_modules/supertest/lib/test.js:247:11) | |
at Test.assert (node_modules/supertest/lib/test.js:148:18) | |
at assert (node_modules/supertest/lib/test.js:127:12) | |
at node_modules/supertest/lib/test.js:124:5 | |
at Test.Request.callback (node_modules/superagent/lib/node/index.js:687:12) | |
at ClientRequest.<anonymous> (node_modules/superagent/lib/node/index.js:639:10) | |
at TLSSocket.socketErrorListener (_http_client.js:306:9) |