Skip to content

Define AnonCredsCredentialDefinition verification method #195

Open
@TimoGlastra

Description

@TimoGlastra

In the AnonCreds RS implementation for W3C AnonCreds credentials we've opted to include the credential definition id as the verificationMethod property in the proof.

I think this makes sense, as the cred def contains the public key material needed to verify an AnonCreds credential. However the DI spec assumes that a verificationMethod included in the proof links to a controller document with an underlying verificationMethod.

For that purpose I think it would be good to also include in this spec a definition for an AnonCreds credential definition verification method. Implementers of this spec could then integrate this into their document loaders to resolve verificationMethods based on AnonCreds credential definitions.

{
  "id": "did:indy:sovrin:5nDyJVP1NrcPAttP3xwMB9/anoncreds/v0/CLAIM_DEF/56495/npdb",
  "type": "AnonCredsCredentialDefinition",
  "controller": "did:indy:sovrin:5nDyJVP1NrcPAttP3xwMB9", // same as issuerId from the anoncreds objects
}

In addition, (but this is for later) I think we may want to move the Data Integrity definition for AnonCreds out into a separate spec, e.g. based on https://www.w3.org/TR/vc-di-eddsa/. I think this makes it look even more like AnonCreds is just another proof type you can use now

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions