MUST verify a valid VC with a bbs-2023 proof.
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:56:13)
|
✓
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:56:13)
|
✓
|
MUST verify a valid VC with nested disclosed properties.
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:61:13)
|
✓
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:61:13)
|
✓
|
MUST verify a valid VC with disclosed properties and bnodes.
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:66:13)
|
✓
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:66:13)
|
✓
|
MUST verify with full array revealed properties
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:71:13)
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:71:13)
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:71:13)
|
✓
|
MUST verify with fewer array revealed properties
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:76:13)
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:76:13)
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:76:13)
|
✓
|
MUST verify w/o first element revealed properties
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:82:13)
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:82:13)
|
❌
Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Expected verifier to not error.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/assertions.js:52:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-bbs-test-suite/vc-di-bbs-test-suite/tests/suites/verify.js:82:13)
|
✓
|
If the proofValue string does not start with u (U+0075 LATIN SMALL LETTER U), indicating that it is a multibase-base64url-no-pad-encoded value, an error MUST be raised and SHOULD convey an error type of PROOF_VERIFICATION_ERROR.
|
✓
|
✓
|
✓
|
✓
|
If the "cryptosuite" field is not the string "bbs-2023", an error MUST be raised.
|
✓
|
✓
|
✓
|
✓
|
If proofConfig.type is not set to DataIntegrityProof and/or proofConfig.cryptosuite is not set to bbs-2023, an error MUST be raised and SHOULD convey an error type of PROOF_GENERATION_ERROR.
|
✓
|
✓
|
✓
|
✓
|
Whenever this algorithm (base proof) encodes strings, it MUST use UTF-8 encoding.
|
✓
|
✓
|
✓
|
✓
|
The proof options MUST contain a type identifier for the cryptographic suite (type) and MUST contain a cryptosuite identifier (cryptosuite). A proof configuration object is produced as output.
|
✓
|
✓
|
✓
|
✓
|
CBOR-encode components per [RFC8949] where CBOR tagging MUST NOT be used on any of the components. Append the produced encoded value to proofValue.
|
✓
|
✓
|
✓
|
✓
|
If proofConfig.created is set and if the value is not a valid [XMLSCHEMA11-2] datetime, an error MUST be raised and SHOULD convey an error type of PROOF_GENERATION_ERROR.
|
✓
|
✓
|
✓
|
✓
|
MUST fail to verify a base proof.
|
✓
|
✓
|
✓
|
✓
|
MUST fail to verify a modified disclosed credential.
|
✓
|
✓
|
✓
|
✓
|
Conforming processors MUST produce errors when non-conforming documents are consumed.
|
✓
|
✓
|
✓
|
✓
|
If the decodedProofValue starts with any other three byte sequence, an error MUST be raised and SHOULD convey an error type of PROOF_VERIFICATION_ERROR.
|
✓
|
✓
|
✓
|
✓
|