source: examples/experiment_create/README @ 14aa716

abac0-leakabac0-meicompt_changesgec13mei-idmei-rt0-nmei_rt0mei_rt2mei_rt2_fix_1meiyap-rt1meiyap1rt2tvf-new-xml
Last change on this file since 14aa716 was f1817a9, checked in by Mike Ryan <mikeryan@…>, 14 years ago

experiment create example

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[f1817a9]1Acme runs a testbed. They've delegated the authority to create
2experiments to all their partners. The Globotron company is one such
3partner.
4
5    Acme.experiment_create <- Acme.partner.experiment_create
6    Acme.partner <- Globotron
7
8Globotron has delegated the authority to anyone an admin thinks is a
9'power user'.
10
11    Globotron.experiment_create <- Globotron.admin.power_user
12
13Alice is an admin, and her friend Bob is a power user:
14
15    Globotron.admin <- Alice
16    Alice.power_user <- Bob
17
18From these credentials, it is possible to construct a proof graph
19showing that Acme.experiment_create <- Bob.
20
21Note that there is a one-to-one correspondence with each credential
22above and the attribute certificates below.
23
24creddy --generate --cn Acme
25
26creddy --generate --cn Globotron
27
28creddy --generate --cn Alice
29
30creddy --generate --cn Bob
31
32creddy --attribute \
33       --issuer Acme_ID.pem --key Acme_private.pem --role experiment_create \
34       --subject-cert Acme_ID.pem --subject-role partner.experiment_create \
35       --out Acme_experiment_create__Acme_partner_experiment_create_attr.der
36
37creddy --attribute \
38       --issuer Acme_ID.pem --key Acme_private.pem --role partner \
39       --subject-cert Globotron_ID.pem \
40       --out Acme_partner__Globotron_attr.der
41
42creddy --attribute \
43       --issuer Globotron_ID.pem --key Globotron_private.pem --role experiment_create \
44       --subject-cert Globotron_ID.pem --subject-role admin.power_user \
45       --out Globotron_experiment_create__Globotron_admin_power_user_attr.der
46
47creddy --attribute \
48       --issuer Globotron_ID.pem --key Globotron_private.pem --role admin \
49       --subject-cert Alice_ID.pem \
50       --out Globotron_admin__Alice_attr.der
51
52creddy --attribute \
53       --issuer Alice_ID.pem --key Alice_private.pem --role power_user \
54       --subject-cert Bob_ID.pem \
55       --out Alice_admin__Bob_attr.der
Note: See TracBrowser for help on using the repository browser.