-
Notifications
You must be signed in to change notification settings - Fork 204
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
Always store qualified identifiers for AnonCreds objects, still supporting legacy indy identifiers in exchange #1391
Comments
Nice writeup @TimoGlastra! I have two points:
|
Makes sense @blu3beri. The like statement is only supported for unencrypted tags, not encrypted tags, so we'll have to store all these tags unencrypted in the database. |
So for now:
Later:
|
how do we want to call it? @blu3beri prefers |
FYI — a similar discussion is going on in the Aries Working Group for the last few weeks. The leaning right now is to convert unqualified DIDs into a variation on |
To make the transition to qualified identifiers as easy as possible, I think from now on we should start storing the anoncreds credential records with qualified identifiers. This means we know which network it is associated with. We should add tags that allow us to query it based on the legacy/unqualified identifiers (only if the qualified identifiers are
did:indy
identifiers).did:indy
identifierslegacySchemaIssuerId
,legacyIssuerId
,legacyCredentialDefinitionId
,legacyRevocationRegistryId
,legacySchemaId
legacySchemaId
,legacyIssuerId
legacyIssuerId
,legacySchemaId
,legacyCredentialDefinitionId
did:indy
identifiers for schemas and credential definitions, we should also store the unqualified/legacy tags.legacyXXX
tags instead of the normal tags.getCredential
,getCredentials
,getCredentialsForProofRequest
We could also say the AnonCreds RS services only support qualified identifiers, and the mapping needs to be done on a higher level, but that increases complexity I think.
Currently issuing using unqualified identifiers is broken using AnonCreds RS and Aries Askar because we store the schema and credential definition using qualified identifiers.
Unresolved questions
did:indy
identifiers using the Indy SDK and transform everything before sending it to the indy-sdk, but I'm not sure if it's worth the effort, and focusing on AnonCreds RS / Aries Askar going forward means people will start migrating sooner.The text was updated successfully, but these errors were encountered: