Skip to content

Commit

Permalink
Add test for invalidCborTag.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Nov 17, 2024
1 parent 7ef6f91 commit 89c8065
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/suites/algorithms-sd.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,11 @@ export function sd2023Algorithms({
'NOT be used on any of the components. Append the produced encoded ' +
'value to proofValue.', async function() {
this.test.link = 'https://w3c.github.io/vc-di-ecdsa/#selective-disclosure-functions:~:text=and%20mandatoryPointers.-,CBOR%2Dencode%20components%20per%20%5BRFC8949%5D%20where%20CBOR%20tagging%20MUST,-NOT%20be%20used';
this.test.cell.skipMessage = 'Not Implemented';
this.skip();
await assertions.verificationFail({
verifier,
credential: fixtures.get(keyType).get('invalidCborTag'),
reason: 'Should not verify proofValue created with cbor tag'
});
});
it('If the proofValue string does not start with u, indicating ' +
'that it is a multibase-base64url-no-pad-encoded value, an error ' +
Expand Down

0 comments on commit 89c8065

Please sign in to comment.