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

DID Document hosting/retrieval and managing the latest state #35

Closed
alenhorvat opened this issue Jul 20, 2023 · 2 comments
Closed

DID Document hosting/retrieval and managing the latest state #35

alenhorvat opened this issue Jul 20, 2023 · 2 comments

Comments

@alenhorvat
Copy link

Hi.

If my understanding is correct, currently the DID operations are validated by a "central PLC directory server".
From the description and the use of CIDv1, I guess the DID Documents are/can be stored on IPFS.
Since all the operations are signed, everyone can verify the history of changes.

Role of the PLC server is to validate the changes and to maintain the latest valid state of the DID Document?

Is my understanding correct?

If so, is there a plan/vision to establish a network of "trusted witnesses" (like the PLC server; all witnesses need to adhere to the same rules) that would enable to establish a global network for did:plc that could be then used by any application/system?

@bnewbold
Copy link
Member

bnewbold commented Aug 1, 2023

Mostly correct:

  • currently there is a central PLC directory server
  • we use some IPFS tech (IPLD dag-cbor, CIDs, etc), but nothing is actually stored in the IPFS network or transferred over the IPFS network protocol. Everything is currently in a simple SQL database
  • the PLC server accepts valid PLC operations, which must be signed with a currently-valid key (according to the rules outlined in the spec), and then stores the operation. when returning DID Documents, the server computes the document based on the current state of the DID metadata (according to the rules in the spec)
  • there is a vision to have more parties involved, either as mirrors, observers, auditors, etc. the did:plc method was designed to make this possible. however, nobody is currently working on this vision and there is no specific roadmap. interested in giving it a try?

@bnewbold
Copy link
Member

I'm going to close this as resolved, feel free to re-open if you have any other questions.

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

2 participants