openwallet-foundation/credo-ts

Wrong schema Id is stored for credentials

sairanjit opened this issue · 3 comments

While storing the credential in wallet if thedid of schemaId and credDefId are different then the wallet uses the did of credDefId for schemaId.

From where can we use the same namespaceIdentifier for schemaId ?

Ah good catch. We should probably add tests where the schema creator is different from the cred def creator.

Would you be able to create a fix, and also add some tests?

@sairanjit @TimoGlastra I am looking into this . I will raise the PR soon