Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insight for DID spec: proofs, not keys #39

Closed
ChristopherA opened this issue Jul 14, 2017 · 8 comments
Closed

Insight for DID spec: proofs, not keys #39

ChristopherA opened this issue Jul 14, 2017 · 8 comments

Comments

@ChristopherA
Copy link
Member

ChristopherA commented Jul 14, 2017

An insight from the work this week is we should not be talking about owner key, or control key, etc.

Instead, we should be talking about proofs.

For instance, this fragment from a DDO

{
"control":
[{
"control-bond": 1.25
"rotate-proof": [{
"proof-type": "pubkeyhash",
"bond-value": 1.25
"hash-base58check": "mvZ3MyLgsvYr87GGSbsPBWEDduLRptfzEU"
}]
},{
"revocation-proof": [{
"bond-value": 1.25
"proof-type": "pubkeyhash",
"hash-base58check": "mvZ3MyLgsvYr87GGSbsPBWEDduLRptfzEU"
}]
}

It basically says that for control (which permits rotating the owner key and the DDO address) that there are two subtypes, a rotate proof and a revocation proof. In another ddo system the proof-type could be "signature", or even "revocation list".

Similar with owner (which permits updating of the keys allowed to issue claims, and the other content of the DDO, but not the control key or the DDO address), it can be proofs as well which may not just be signatures.

cc: @talltree @msporny @dlongley

@kimdhamilton
Copy link
Collaborator

TODO: insights and links from BTCR hackathon

@ChristopherA
Copy link
Member Author

I started this at https://github.com/opencreds/did-spec/issues/4#issuecomment-315449659

I'd like to see a paragraph or so from each of us of top lessons learned, and important links to code, text, or issues contributed to.

@msporny
Copy link

msporny commented Jul 17, 2017

I suggest we start moving a lot of these issues to the DID spec issue repository. @talltree, @dlongley, and I met in DC this past week to go through a revision of the DID spec that Digital Bazaar needs so it can align it w/ our implementation and thinking. I expect this will be an area of focus at the next RWoT.

Specifically, a capabilities based security model for DDOs and what you can do w/ keys associated w/ DIDs.

@ChristopherA
Copy link
Member Author

Moving these issues is in progress — many of the issues from this hackathon have already been moved there. @kimdhamilton found a useful tool that moves them intact.

@talltree
Copy link

talltree commented Jul 17, 2017 via email

@kimdhamilton
Copy link
Collaborator

I'm open to both. Btw, tomorrow we have about 15 minutes that you (and/or Manu) can spend on DID topics as you see fit. Given the priority of this spec, I imagine we could carve out a large amount of time for the weekly meeting on an ongoing basis. As the year proceeds, we could juggle the weekly meeting focus.

It's possible that even this won't be enough, so we could have either dedicated recurring or off-by-one meetings as well.

@ChristopherA what do you think?

@talltree
Copy link

talltree commented Jul 18, 2017 via email

@kimdhamilton
Copy link
Collaborator

This issue was moved to w3c/vc-data-model#62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants