Skip to content

Commit

Permalink
Functions default to proofChain tests false, but test project enables…
Browse files Browse the repository at this point in the history
… tests for ecdsa and eddsa rdfc suites.
  • Loading branch information
aljones15 committed Sep 25, 2024
1 parent 9b830c7 commit aa95825
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export function checkDataIntegrityProofFormat({
optionalTests = {
dates: false,
contextInjection: false,
domain: false
domain: false,
proofChain: false
}
} = {}) {
return describe(testDescription, function() {
Expand Down Expand Up @@ -106,7 +107,8 @@ export function checkDataIntegrityProofVerifyErrors({
testDataOptions,
optionalTests = {
dates: false,
authentication: false
authentication: false,
proofChain: false
}
} = {}) {
return describe(testDescription, async function() {
Expand Down
9 changes: 6 additions & 3 deletions tests/fixtures/cryptosuites.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export const cryptosuites = [{
keyType: 'P-256',
optionalTests: {
dates: true,
authentication: true
authentication: true,
proofChain: true
},
cryptosuite: ecdsaRdfc2019Cryptosuite,
multikey: EcdsaMultikey,
Expand All @@ -65,7 +66,8 @@ export const cryptosuites = [{
keyType: 'P-384',
optionalTests: {
dates: true,
authentication: true
authentication: true,
proofChain: true
},
cryptosuite: ecdsaRdfc2019Cryptosuite,
multikey: EcdsaMultikey,
Expand All @@ -85,7 +87,8 @@ export const cryptosuites = [{
suiteName: 'eddsa-rdfc-2022',
optionalTests: {
dates: true,
authentication: true
authentication: true,
proofChain: true
},
cryptosuite: eddsaRdfc2022CryptoSuite,
multikey: Ed25519Multikey,
Expand Down

0 comments on commit aa95825

Please sign in to comment.