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

Implementation of deactivate-did RPC #80

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

arnabghose997
Copy link
Contributor

Implementation Details

  • A DID Document can be deactivated if the User belongs to the controller group or is the DID Subject
  • The did field of didDoc is set to null. The deactivated field of metadata is set to true
  • Any attempt to update the already deactivated DID will result in error.
  • Upon Deactivation, querying of the DID Document will result in error.
  • The version of the DID changes after deactivation.
  • The CLI signature of deactivate-did rpc is similar to that of update-did rpc

@arnabghose997 arnabghose997 self-assigned this Feb 22, 2022
@arnabghose997 arnabghose997 linked an issue Feb 22, 2022 that may be closed by this pull request
@arnabghose997 arnabghose997 merged commit 13d01a2 into v0.0.3 Feb 22, 2022
@arnabghose997 arnabghose997 deleted the ssi-module-did-deactivate-rpc branch February 22, 2022 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement deactivate_did RPC
1 participant