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

feat: add revocation functions #250

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

techsavvyash
Copy link
Contributor

This PR adds relevant functions implementing the vc revocation list. W3C discussion doc on revocation lists can be found here

credDID = await this.identityService.generateDID(['verifiable credential']);
} catch (err) {
Logger.error('Error generating DID for revocation list', err);
throw new InternalServerErrorException(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of InternalServerErrorException, can we create an application specific exception.

Copy link
Collaborator

@srprasanna srprasanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@techsavvyash please use the digitalbazaar bitstring library, you can override existing functions within your credentials-service itself.

Also please replace InternalServerExceptions with Application specific exceptions.

@srprasanna srprasanna merged commit 5b8e01e into Sunbird-RC:release-2.0.0 Sep 18, 2023
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