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

Issue revocable creds using anoncreds interface #126

Merged

Conversation

dbluhm
Copy link
Member

@dbluhm dbluhm commented May 23, 2023

This PR finishes off the full issuance flow using the generic anoncreds interface. Places where the original Indy-specific components were used have been replaced with generic calls, most of which happen in the anoncreds/issuer.py file. There is room for further refinement; issuer.py is now quite long and many of the methods are specific to revocation and some of those methods are actually used by both issuer and holder. This suggests a need for an AnonCredsRevocation component. This can be introduced in a follow up PR.

This PR supersedes #125. Those commits are included here and were necessary to complete the full issuance flow with revocation. (Thanks, @burdettadam)

This PR (currently) conflicts with #124; I believe we can simplify the revocation logic by eliminating the IssuerRevRegRecord and RevocationRegistry classes (both of which had questionable value and an overloading of responsibilities). This PR represents an "MVP" that does not make use of those classes. However, there may be cause to rework and reintroduce those classes still so I'm not ruling out the changes in #124 completely (which already goes a long way towards making those classes make a whole lot more sense -- thanks, @cjhowland).

burdettadam and others added 7 commits May 19, 2023 15:37
Signed-off-by: Adam Burdett <burdettadam@gmail.com>
Signed-off-by: Adam Burdett <burdettadam@gmail.com>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
@dbluhm dbluhm merged commit 34a67bc into feature/anoncreds-revocation-again May 23, 2023
@dbluhm dbluhm deleted the feature/anoncreds-revocable-issuance branch July 7, 2023 13:45
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.

3 participants