This repository contains test vectors for using AnonCreds with W3C credentials.
The test vectors in this repository are mostly real test-vectors, creating by actual implementations. The goal is to have a set of test vectors that can be used to test interoperability between implementations.
- (I) Create AnonCreds offer
- (I) Send Aries Issue Credential DI Offer
- (H) Create AnonCreds request
- (H) Create Signed Attachment (eddsa binding)
- (H) Send Aries Issue Credential DI Request
- (I) Create AnonCreds W3C credential
- (I) Add eddsa signature to W3C credential
- (I) Send Aries Issue Credential DI Issue
- (V) Create DIF PE
- (V) Send Aries Present Proof PEX request
- (H) Create AnonCreds presentation
- (H) Send Aries Present Proof PEX submission
See Test Vectors Directory for all the test vectors.
- anoncreds-credential-definition.json
- aries-issue-credential-di-offer.json
- anoncreds-legacy-credential.json
- aries-issue-credential-di-request-signed-attachment.json
- anoncreds-link-secret.json
- aries-issue-credential-di-request.json
- anoncreds-offer.json
- dif-presentation-definition.json
- anoncreds-presentation-request.json
- dif-presentation-submission.json
- anoncreds-request.json
- eddsa-holder-key.json
- eddsa-issuer-key.json
- anoncreds-revocation-registry-definition.json
- anoncreds-revocation-status-list.json
- w3c-credential-anoncreds-eddsa.json
- anoncreds-schema.json
- w3c-credential-anoncreds.json
- aries-issue-credential-di-issue.json
- w3c-presentation-anoncreds.json
- final PD structure is dependant on how we approach decentralized-identity/claim-format-registry#8
- Current presentation signature in test vectors is not valid as proof request is different than example PD in here.
- DI attachments are not fully ready yet (pending RFC updates)
- hyperledger/anoncreds-spec#194
- hyperledger/anoncreds-rs#293