You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When issuing a credential for a schema/credential definition with attribute names that do not match the schema, a vague CommonInvalidStructure error will be thrown when issuing the credential.
We should add a check when offering a credential (CredentialService.createOffer and CredentialService.createOfferAsResponse) to make sure the attributes from the preview match the attributes from the schema.
When issuing a credential for a schema/credential definition with attribute names that do not match the schema, a vague
CommonInvalidStructure
error will be thrown when issuing the credential.We should add a check when offering a credential (
CredentialService.createOffer
andCredentialService.createOfferAsResponse
) to make sure the attributes from the preview match the attributes from the schema.Implementation in ACA-Py: https://github.com/hyperledger/aries-cloudagent-python/blob/cd5588f79beb7314f03d78bdfb979d1d6b99acd8/aries_cloudagent/protocols/issue_credential/v1_0/manager.py#L274-L283
The text was updated successfully, but these errors were encountered: