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

Add "rotateDidFrom" and "rotateDidTo" to support DID Rotation #32

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

peacekeeper
Copy link
Member

This PR is an attempt to define DID document update operations that implement the concepts in DID Rotation, using the generic DID Registration interfaces.

@peacekeeper peacekeeper changed the title Add "rotateDidFrom" and "rotateDidTo" Add "rotateDidFrom" and "rotateDidTo" to support DID Rotation Jan 23, 2024
@peacekeeper
Copy link
Member Author

@fabianekc

@fabianekc
Copy link

some thoughts on documenting DID Rotation:

section: didDocumentOperation="rotateDidFrom"

  • add info, that the DID document content is maintained
  • add statement, to create a new DID first with the exact content of the original DID
  • add requirement to only perform operation when new DID has same content as original DID

section: didDocumentOperation="rotateDidTo"

  • add info, that the DID document content is maintained
  • add requirement to verify before rotateDidTo-operation that alias to new DID exists in original DID
  • add requirement to verify before rotateDidTo-operation that original DID must be deactivated

other aspects:

  • what happens if only rotateDidFrom operation is performed
    • => Resolver must not resolve to new DID because back-reference is missing and history would be broken
  • what happens during the timespan between performing rotateDidFrom and rotateDidTo
    • => Resolver would report deactivated DID but could hint that a Rotation process is ongoing
  • what happens if only rotateDidTo operation is performed
    • => Resolver must not access original DID Document and previous versions of the original DID Document

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

Successfully merging this pull request may close these issues.

2 participants