The purpose of this test suite is to demonstrate a path to interoperability for the eddsa-2022 cryptosuite. The technologies explored in this test suite are experimental. This document contains the most recent interoperability report for a DataIntegrityProof using the eddsa-2022 cryptosuite. This report is auto-generated.

Conformance Testing Results

Tests passed 18/20 90%

Tests failed 4/20 20%

Tests skipped 0

Total tests 20

These tests were run on

Key

The results of the tests are shown below:

Data Integrity (issuer)

Issuer ⇒
Test Name
Digital Bazaar API Catalog Danube Tech EWF GS1 US LearnCard MATTR Mavennet mesur.io SecureKey Transmute

eddsa-2022 (issuer)

Implementation ⇒
Test Name
Digital Bazaar API Catalog Danube Tech EWF GS1 US LearnCard MATTR Mavennet mesur.io SecureKey Transmute

Data Integrity (verifier)

Verifier ⇒
Test Name
Digital Bazaar API Catalog Danube Tech EWF GS1 US LearnCard MATTR Mavennet mesur.io SecureKey Transmute
If the "proof" field is missing, a MALFORMED error MUST be returned.
If the "proof" field is invalid, a MALFORMED error MUST be returned.
If the "type" field is missing, a MALFORMED error MUST be returned.
If the "type" field is invalid, a MALFORMED error MUST be returned.
If the "created" field is missing, a MALFORMED error MUST be returned.
{
                      "name": "AssertionError",
                      "message": "Expected no result from verifier.: expected Response{ size: +0, data: { …(3) }, …(2) } to not exist",
                      "stack": "AssertionError: Expected no result from verifier.: expected Response{ size: +0, data: { …(3) }, …(2) } to not exist\n    at Object.should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)\n    at verificationFail (file:///home/runner/work/di-eddsa-2022-test-suite/di-eddsa-2022-test-suite/tests/assertions.js:53:14)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n    at async Context. (file:///home/runner/work/di-eddsa-2022-test-suite/di-eddsa-2022-test-suite/tests/20-verify.js:67:11)"
                    }
If the "created" field is invalid, a MALFORMED error MUST be returned.
{
                      "name": "AssertionError",
                      "message": "Expected no result from verifier.: expected Response{ size: +0, data: { …(3) }, …(2) } to not exist",
                      "stack": "AssertionError: Expected no result from verifier.: expected Response{ size: +0, data: { …(3) }, …(2) } to not exist\n    at Object.should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)\n    at verificationFail (file:///home/runner/work/di-eddsa-2022-test-suite/di-eddsa-2022-test-suite/tests/assertions.js:53:14)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n    at async Context. (file:///home/runner/work/di-eddsa-2022-test-suite/di-eddsa-2022-test-suite/tests/20-verify.js:73:11)"
                    }
If the "verificationMethod" field is missing, a MALFORMED error MUST be returned.
If the "verificationMethod" field is invalid, a MALFORMED error MUST be returned.
If the "proofPurpose" field is missing, a MALFORMED error MUST be returned.
If the "proofPurpose" field is invalid, a MALFORMED error MUST be returned.
If the "proofValue" field is missing, a MALFORMED error MUST be returned.
If the "proofValue" field is invalid, a MALFORMED error MUST be returned.
If the "type" field is not the string "DataIntegrityProof", an UNKNOWN_CRYPTOSUITE_TYPE error MUST be returned.

eddsa-2022 cryptosuite (verifier)

Verifier ⇒
Test Name
Digital Bazaar API Catalog Danube Tech EWF GS1 US LearnCard MATTR Mavennet mesur.io SecureKey Transmute
MUST verify a valid VC with an eddsa-2022 proof
If the "proofValue" field is not a multibase-encoded base58-btc value, an INVALID_PROOF_VALUE error MUST be returned.
If the "proofValue" field, when decoded to raw bytes, is not 64 bytes in length if the associated public key is 32 bytes in length, or 114 bytes in length if the public key is 57 bytes in length, an INVALID_PROOF_LENGTH error MUST be returned.
If a canonicalization algorithm other than URDNA2015 is used, a INVALID_PROOF_VALUE error MUST be returned.
If a canonicalization data hashing other than algorithm SHA-2-256 is used, a INVALID_PROOF_VALUE error MUST be returned.
If the "cryptosuite" field is not the string "eddsa-2022", an UNKNOWN_CRYPTOSUITE_TYPE error MUST be returned.

eddsa-2022 (interop)

Verifier ⇒
Issuer
Digital Bazaar
Digital Bazaar