You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 13, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: UserStories/PrivateSharing.md
+6-82Lines changed: 6 additions & 82 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,10 @@ Point 1 is just a desire. We cut point 2. into two parts: the first is uploading
11
11
12
12
### Background
13
13
14
-
This story has a privacy aspect so we will use [WebID+TLS authentication](http://www.w3.org/2005/Incubator/webid/spec/tls/) to illustrate it. Other authentication methods should also work with [Web Access Control](http://www.w3.org/2005/Incubator/webid/spec/), such as WebID which is easy, and others that need to be looked at.
14
+
This story has a privacy aspect so we will use [WebID-OIDC authentication](https://github.com/solid/webid-oidc-spec) to illustrate it. Other authentication methods should also work with [Web Access Control](http://www.w3.org/2005/Incubator/webid/spec/), such as WebID which is easy, and others that need to be looked at.
15
15
16
16
17
-
Ian has WebID `<https://ian.name/card#me>` with a public key.
In order to be able to do command line curl demos, we will assume that
57
-
Ian has saved his certificate and private key in the [`cert.pem`](#ians-ssl-certificate) file locally. (Of course it is not needed to do this in browsers...)
58
-
59
-
The certificate public key is the one in the profile.
52
+
Ian has already obtained a Bearer token via the [WebId-OIDC process](https://github.com/solid/webid-oidc-spec).
60
53
61
54
62
55
### Ian posts the file
@@ -65,8 +58,8 @@ Here curl makes the connection, and authenticates Ian with his Certificate. As a
65
58
66
59
```sh
67
60
$ curl -X POST -k -i -H "Content-Type: text/turtle" \
@@ -196,73 +190,3 @@ At this point we have the following set of links:
196
190
### Jane views the file
197
191
198
192
Jane reads her inbox at some point, and just does a normal GET on the `<https://ian.name/2014/financials> resource, using her certificate containing a WebID.
199
-
200
-
## Notes
201
-
202
-
### Ian's ssl certificate
203
-
204
-
You need
205
-
206
-
```sh
207
-
$ openssl x509 -in IanCert.pem -inform pem -text
208
-
Certificate:
209
-
Data:
210
-
Version: 3 (0x2)
211
-
Serial Number:
212
-
01:49:f1:d4:3d:e6
213
-
Signature Algorithm: sha1WithRSAEncryption
214
-
Issuer: CN=WebID, O={}
215
-
Validity
216
-
Not Before: Nov 27 15:07:38 2014 GMT
217
-
Not After : Nov 24 15:17:38 2024 GMT
218
-
Subject: dnQualifier=tester@localhost.edu
219
-
Subject Public Key Info:
220
-
Public Key Algorithm: rsaEncryption
221
-
RSA Public Key: (2048 bit)
222
-
Modulus (2048 bit):
223
-
00:b7:cb:16:af:0a:ee:c5:8a:4c:0c:05:e0:50:4a:
224
-
33:43:82:a1:db:7a:8a:09:20:57:f9:7c:27:14:39:
225
-
f7:ff:8c:fd:46:9b:61:59:34:fa:40:1b:4b:32:0b:
226
-
75:6c:f0:17:e1:6c:8e:e0:d5:af:ce:ed:1a:54:39:
227
-
07:38:72:0c:67:81:3b:76:5e:1b:f9:e3:10:80:9e:
228
-
13:3b:7f:7c:2a:ca:34:e1:85:c3:bd:cd:42:fc:40:
229
-
d8:47:72:ad:69:1f:36:b9:07:8c:8e:00:79:f6:40:
230
-
89:ae:0a:dc:aa:80:d4:18:6c:f6:83:40:3d:64:85:
231
-
e5:78:db:de:16:1a:82:b4:e3:46:50:cb:77:fd:27:
232
-
4f:e8:4b:b7:ae:48:8a:32:36:f1:46:17:8c:f8:36:
233
-
cc:70:1b:1d:3c:40:c0:d7:a8:e8:38:af:c2:09:e3:
234
-
b5:c8:25:fa:97:02:01:7b:52:49:2f:4c:f4:bd:eb:
235
-
08:97:26:e2:77:8e:b6:3b:88:54:c8:b3:66:b2:c5:
236
-
42:5f:5d:ec:23:6c:02:c8:e7:60:b7:30:3a:df:b2:
237
-
a9:4b:f8:35:c2:e2:89:01:ab:ec:a2:92:d7:ca:04:
238
-
c1:ae:3c:37:7e:2d:2f:3e:01:1b:e7:68:68:d9:41:
239
-
67:8a:18:c2:ab:f7:8f:98:f7:96:f4:93:f2:a9:46:
240
-
cf:2d
241
-
Exponent: 65537 (0x10001)
242
-
X509v3 extensions:
243
-
X509v3 Subject Alternative Name: critical
244
-
URI: https://ian.name/card#me
245
-
X509v3 Key Usage: critical
246
-
Digital Signature, Non Repudiation, Key Encipherment, Key Agreement, Certificate Sign
0 commit comments