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

Design Decisions (implicit DDO, Satoshi Audit Trail) #7

Open
kimdhamilton opened this issue Aug 6, 2019 · 1 comment
Open

Design Decisions (implicit DDO, Satoshi Audit Trail) #7

kimdhamilton opened this issue Aug 6, 2019 · 1 comment

Comments

@kimdhamilton
Copy link
Collaborator

kimdhamilton commented Aug 6, 2019

BTCR DID Method spec and libraries/samples will need to be updated

See #4 for type reference

  • Decision 1: per Satoshi audit trail should be part of DID resolution metadata #9, Satoshi audit trail is not part of the DID document; instead it is DID resolver metadata.
    • this metadata should only be returned for implicit DDOs
  • Decision 2: OP_RETURN clarification
  • Decision 2a: There are 2 cases that may lead to implicit DDOs
    • Case 1: TX no OP_RETURN (no change here)
      • Verification/Auth key is signing key
      • Resolver must create/return Satoshi audit trail as resolver metadata
    • Case 2: TX with OP_RETURN and is URL. But the URL returns no JSON object with type ContinuationService
      • Same as Case 1 + Verification/Auth key is signing key of every object at that location
  • Decision 4: if JSON object returned from OP_RETURN has type CredentialRepositoryService:BTCR (see Need a Canonical BTCR 'Implicit' DID Document #4) then that is a VC repo
    • these must be signed by implicit DDO key
  • Decision 5: Resolver Failfast behavior
    • can't replace key-1 (must exist and be the same)
@kimdhamilton
Copy link
Collaborator Author

kimdhamilton commented Aug 7, 2019

Regarding Decision 4, the DID resolver only cares about json objects that are continuation DID documents (typed by ContinuationService above).

What is the software component that's resolving VC repos, e.g. typed by CredentialRepositoryService:BTCR above?

It seems we'll need to be explicit about which software component is responsible for which part. I.e. Universal Resolver only responsible for returning DID Document and its own metadata, but not claims. TBD other component is doing that.

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

No branches or pull requests

1 participant