In the world of decentralized identity, users are likely to have many DIDs, which will be used in numerous contexts to form relationships with one or more entities. Numerous DID-related activities, such as DID disclosure/authentication, permission grants, etc., are sensitive interactions that form privacy and security boundaries. These boundaries must known and shared between all User Agent apps in a standard way, else UAs will not be able to consistently enforce them, and risk inadvertently violating user privacy and security guarantees.
The following is a crude example of what DID Contexts might capture:
var contexts = [{
did: 'did:foo:123',
relationships: {
'did:test:456': {
alias: "Bob",
authenticated: false,
log: ['92dj8dvhs8fsdh', ...],
permissions: { /* Same permission scheme as Identity Hubs? */ }
},
'www.test.com': {
authenticated: true,
log: ['34f5w4fw3fw43f', ...],
permissions: { /* Same permission scheme as Identity Hubs */ }
}
}
},
{
did: 'did:bar:789',
relationships: {
'did:blah:654': {
alias: "Carroll",
authenticated: true,
permissions: { /* Same permission scheme as Identity Hubs */ }
},
'www.foo.com': {
alias: "Acme Inc.",
authenticated: false,
permissions: { /* Same permission scheme as Identity Hubs */ }
}
}
}]
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing