-
Notifications
You must be signed in to change notification settings - Fork 45
DDO as composite object #12
Comments
From @ChristopherA on July 13, 2017 18:20 It can also be implied that if we can append one thing, we can append more. So one DDO object may add a link where to find more parts of the DDO object, just like the op_return points to the first object. |
From @ChristopherA on July 14, 2017 7:18 cc: @kimdhamilton Here is a deterministic DDO, based on my DDO transaction. Unfortunately I broke the JSON someplace in here but I think you can get the basic idea.
|
Cleaned up formatting; without comments this is valid JSON:
|
I think we need to distinguish between pointers to immutable content (e.g. content addressable store) vs mutable content. If the address of immutable content is stored in the transaction, this can be considered signed by the transaction. If the content is mutable, we can't say the same. For methods like BTCR, where the DID is only known afterward, this only works if we can use a scheme like @ChristopherA described, for a placeholder DID in the referenced content. (In BTCR we don't know the txref until the tx is confirmed.) |
The group seems to have settled on the following: "Boostrapping/interim/composite DID Documents are fine for implementers to use. However, the thing that the DID spec is about, and the thing that Resolvers do is return fully formed DID Documents to developers." Closing this issue as it seems like this is stuff that the group seems to agree on these days. Please open a new, more specific issue if there are still concerns. |
From @ChristopherA on July 13, 2017 18:19
One of the insights from this hackathon is that the DDO can be a composite object.
We have the deterministic part that is, in effect, signed by the blockchain. In BTCR this part verifies an persistent unique confirmed identifier (the txref that is an encoding of chain, block and index), another unique by unconfirmed identifier (the txid), one owner key (which signed the transaction), one control key identifier (the hash of a future key to be revealed), and a pointer out. But nothing more. However, in Sovrin, in effect everything is signed by the blockchain.
Since I don't think you can override anything in BTCR that is deterministic, that means having any there is redundant. So we can some some current problems with IPFS objects as we can create there DDOs that don't include the txref. All that is required is that it is singed by the owner key.
In a sense, the object pointed to on the op_return is a self-signed verifiable claim from the owner key in the deterministic part that appends more information to the deterministic part.
Copied from original issue: WebOfTrustInfo/btcr-hackathon-2017#37
The text was updated successfully, but these errors were encountered: