-
Notifications
You must be signed in to change notification settings - Fork 0
Creating user graphs
peacekeeper edited this page Nov 16, 2014
·
7 revisions
- The CSP's cloud name and cloud number are +testcsp / [+]!:uuid:9999.
- The user's cloud name and cloud number are =alice / [=]!:uuid:1111.
This creates a user's cloud name, cloud number, and hashed secret token in the "registry" graph:
[+]!:uuid:9999[$msg]!:uuid:1234/$is()/([+]!:uuid:9999)
[+]!:uuid:9999[$msg]!:uuid:1234/$do/([+]!:uuid:9999/[+]!:uuid:9999)$do
[+]!:uuid:9999[$msg]!:uuid:1234<$secret><$token>/&/"cspsecret"
([+]!:uuid:9999[$msg]!:uuid:1234$do/$set)(=alice)/$ref/([=]!:uuid:1111)
([+]!:uuid:9999[$msg]!:uuid:1234$do/$set)([=]!:uuid:1111)/$is$ref/(=alice)
([+]!:uuid:9999[$msg]!:uuid:1234$do/$do<$digest><$secret><$token>)([=]!:uuid:1111)<$digest><$secret><$token>/&/"alicesecret"