acapy_agent.anoncreds.default.legacy_indy package

Submodules

acapy_agent.anoncreds.default.legacy_indy.author module

acapy_agent.anoncreds.default.legacy_indy.recover module

Recover a revocation registry.

acapy_agent.anoncreds.default.legacy_indy.recover.LOGGER = <Logger acapy_agent.anoncreds.default.legacy_indy.recover (WARNING)>

This module calculates a new ledger accumulator, based on the revocation status on the ledger vs revocations recorded in the wallet. The calculated transaction can be written to the ledger to get the ledger back in sync with the wallet. This function can be used if there were previous revocation errors (i.e. the credential revocation was successfully written to the wallet but the ledger write failed.)

exception acapy_agent.anoncreds.default.legacy_indy.recover.RevocRecoveryException[source]

Bases: Exception

Raise exception generating the recovery transaction.

async acapy_agent.anoncreds.default.legacy_indy.recover.fetch_txns(genesis_txns: str, registry_id: str, issuer_id: str) tuple[dict, set[int]][source]

Fetch tails file and revocation registry information.

async acapy_agent.anoncreds.default.legacy_indy.recover.generate_ledger_rrrecovery_txn(genesis_txns: str, rev_list: RevList) dict[source]

Generate a new ledger accum entry, using the wallet value if revocations ahead of ledger.

acapy_agent.anoncreds.default.legacy_indy.registry module

acapy_agent.anoncreds.default.legacy_indy.routes module

Routes for Legacy Indy Registry.