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 ocap revocation implementation and tests #19

Open
dlongley opened this issue Dec 3, 2018 · 2 comments
Open

Add ocap revocation implementation and tests #19

dlongley opened this issue Dec 3, 2018 · 2 comments

Comments

@dlongley
Copy link
Contributor

dlongley commented Dec 3, 2018

Add tests to ensure that operations invoked using ocaps that were revoked at the basisBlockHeight time of the event that the operation occurs in are disallowed.

[EDIT] changed basisHash to basisBlockHeight

@mattcollier
Copy link
Contributor

One example of this would be making an update to an existing DID where the key used has been revoked/removed prior to the new update operation.

@dlongley what is the key revocation story on Veres One? Are keys removed from the capabilities array or are they somehow marked as revoked or some combination of both of these things?

@dlongley
Copy link
Contributor Author

@mattcollier,

Currently, key revocation can be done by removing the key or adding a revoked property to the key with a user specified date as the value.

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

2 participants