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

Fix anoncreds non-endorsement revocation #2814

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions aries_cloudagent/anoncreds/default/legacy_indy/registry.py
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@
from ....anoncreds.default.legacy_indy.author import get_endorser_info
from ....cache.base import BaseCache
from ....config.injection_context import InjectionContext
from ....core.event_bus import EventBus
from ....core.profile import Profile
from ....ledger.base import BaseLedger
from ....ledger.error import (
@@ -967,10 +968,12 @@ async def update_revocation_list(
)

if write_ledger:
await self.notify(
event_bus = profile.inject(EventBus)
await event_bus.notify(
profile,
RevListFinishedEvent.with_payload(
curr_list.rev_reg_def_id, newly_revoked_indices
)
),
)
return RevListResult(
job_id=None,
2 changes: 1 addition & 1 deletion demo/features/revocation-api.feature
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ Feature: ACA-Py Revocation API
Then "Bob" can verify the credential from "<issuer>" was revoked
Examples:
| issuer | Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Proof_request |
#| Acme | --revocation --public-did | | driverslicense_v2 | Data_DL_MaxValues | DL_age_over_19_v2 |
| Acme | --revocation --public-did | | driverslicense_v2 | Data_DL_MaxValues | DL_age_over_19_v2 |
| Acme | --revocation --public-did --wallet-type askar-anoncreds | --wallet-type askar-anoncreds | driverslicense_v2 | Data_DL_MaxValues | DL_age_over_19_v2 |

@Revoc-api.x @GHA-Anoncreds-break