aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

Create new registry in AnonCredsRevocation.get_or_create_active_registry if necessary

Open dbluhm opened this issue 2 years ago • 1 comments

See: https://github.com/hyperledger/aries-cloudagent-python/blob/anoncreds-rs/aries_cloudagent/anoncreds/revocation.py#L670-L672

This method should trigger the creation of a new registry if one is not available.

Reference: https://github.com/hyperledger/aries-cloudagent-python/blob/2b0e27abb598cadc6453202aec593512c29abf3f/aries_cloudagent/revocation/indy.py#L224-L251

As an aside, I'm not sure this will ever actually trigger the creation of a new registry when using automated setup. The registry creation should be triggered by the handle_full_registry method.

dbluhm avatar Jul 31 '23 19:07 dbluhm

If this is part of the controller-handled revocation, this can be left off, as that will not be supported.

swcurran avatar Aug 08 '23 13:08 swcurran