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

Display of DDO if no OP_RETURN present #42

Open
kimdhamilton opened this issue Aug 12, 2017 · 1 comment
Open

Display of DDO if no OP_RETURN present #42

kimdhamilton opened this issue Aug 12, 2017 · 1 comment

Comments

@kimdhamilton
Copy link
Contributor

From @kimdhamilton on July 16, 2017 23:55

What should happen if no OP_RETURN is present?

At the moment, this can happen in 2 cases:

  • Intent was to create a DID with no continuations
  • No intent of creating a DID with a transaction

This ends up with weird cases if the signer did not intend to create a BTCR did:

  • if OP_RETURN is present in the tx, it is listed as a DDO continuation
  • either way, it's as if they are getting a btcr did "for free" without some special marker. This may be acceptable, but if so we should call out this interesting side effect.

This issue is two-fold:

  • How to address in UI
  • How to address in spec

The latter can be moved to the proper repo after we determine how to address.

Copied from original issue: WebOfTrustInfo/btcr-tx-playground.github.io#9

@kimdhamilton
Copy link
Contributor Author

From @ChristopherA on July 17, 2017 0:8

If there is no op_return, but a verifiable claim points to it and is signed with the same key, the presumption is that it is a for DID/DDO pair, and you can only use the deterministic DDO (e.g fragement /0). This can still be revoked and rotated, however, it can't be rotated without the new transaction revealing an op_return (which can still be relatively censorship resistant as in the IPFS case a ipfs hash is indistinquisable from other hashes and signatures put in op_returns. Only in the URL case might it possibly be censored (currently today almost no miners are censoring op_returns).

In some ways, an op_return-less transaction is a like pre-commit to a DID — you can start issuing verifiable claims. it is censorship resistant as it look totally like another transaction. You can decide later if you wish to rotate it to be able to add an additional fragment /1 to the DDO, and you can put your old owner key as a new issuer key, making all your prior verifiable claims still valid.

cc: @msporny @talltree @rxgrant

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