decentralized-identity / trustdidweb

Trust DID Web (did:tdw)
https://identity.foundation/trustdidweb/
Other
20 stars 9 forks source link

Include metadata about the DID in the DIDDoc #12

Closed swcurran closed 5 months ago

swcurran commented 6 months ago

Include in the DIDDoc the following information:

andrewwhitehead commented 6 months ago

It would need something like previousHash (maybe within the proof block), but I'm not sure why it needs the previous proof?

swcurran commented 6 months ago

Sounds good — I’ll update the description.

andrewwhitehead commented 6 months ago

Just to add, the DID Core spec defines created, updated and versionId as document metadata that are not (normally) included in the document itself. But I don't see why they couldn't be.

andrewwhitehead commented 6 months ago

I think we're leaning toward removing these from the document to avoid using a custom @context.

We would need to hash the previousHash and timestamp into the CID, and likely set the domain of the proofs to the CID to tie them together.

swcurran commented 5 months ago

Resolved by the log format #20 .