This PR adds support for automatic revocation registry handling when we want to scale the revocation registry beyond what is initially allowed.
Changes are backward compatible. To turn on support for revocation, simply specify that revocation is enabled//supported when creating new credential definition.
Other changes include:
Control where tails files are stored. Use the AgentOptions property RevocationRegistryDirectory to set this. Default is ~/.indy_client/tails.
Added new CreateCredentialDefinition method in SchemaService. This class adds support for controlling the behavior of revocation registry via CredentialDefinitionConfiguration
Specify EnableRevocation to turn on revocation for the cred def
Specify revocation registry size using RevocationRegistrySize. Default is 1024. Using a smaller size allows for easier download on mobile devices.
Specify automatic scaling of revocation registry by enabling RevocationRegistryAutoScale. Default value is true. This option will seamlessly create new revocation registry with different tag when the old one is full.
Added tails middleware as part of the ASP.NET Core pipeline. This middleware will serve tails files on a public endpoint
Existing method for creating credential definition have been marked as Obsolete. Their behavior is unchanged, but they may be removed at some point in the future when breaking changes can be considered.
CredentialRecords now track the revocation registry using RevocationRegistryId
This PR adds support for automatic revocation registry handling when we want to scale the revocation registry beyond what is initially allowed. Changes are backward compatible. To turn on support for revocation, simply specify that revocation is enabled//supported when creating new credential definition. Other changes include:
AgentOptions
propertyRevocationRegistryDirectory
to set this. Default is~/.indy_client/tails
.CreateCredentialDefinition
method inSchemaService
. This class adds support for controlling the behavior of revocation registry viaCredentialDefinitionConfiguration
EnableRevocation
to turn on revocation for the cred defRevocationRegistrySize
. Default is 1024. Using a smaller size allows for easier download on mobile devices.RevocationRegistryAutoScale
. Default value istrue
. This option will seamlessly create new revocation registry with different tag when the old one is full.Obsolete
. Their behavior is unchanged, but they may be removed at some point in the future when breaking changes can be considered.CredentialRecord
s now track the revocation registry usingRevocationRegistryId