We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f28651e commit fe8507eCopy full SHA for fe8507e
tests/suites/algorithms-sd.js
@@ -359,7 +359,9 @@ async function _setup({
359
invalidProofValueHeader.proof.proofValue = `u${encodeBs64Url(invalidBuffer)}`;
360
credentials.set('invalidDisclosureProofHeader', invalidProofValueHeader);
361
const invalidProofArray = structuredClone(securedCredential);
362
+ // parse the existing disclosure proofValue
363
const params = parseDisclosureProofValue({proof: invalidProofArray.proof});
364
+ // create a new proofValue missing 3 elements
365
invalidProofArray.proof.proofValue = serializeProofValue({
366
payload: [params.baseSignature, params.publicKey]
367
});
0 commit comments