File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,11 @@ export function commonAlgorithms({
2323} ) {
2424 const title = `${ suiteName } - Algorithms Common - VC ${ vcVersion } ` ;
2525 return describe ( title , function ( ) {
26+ this . matrix = true ;
27+ this . report = true ;
28+ this . implemented = [ ] ;
29+ this . rowLabel = 'Test Name' ;
30+ this . columnLabel = 'Implementation' ;
2631 const credentials = new Map ( keyTypes . map ( keyType => [ keyType , null ] ) ) ;
2732 before ( async function ( ) {
2833 for ( const keyType of keyTypes ) {
@@ -39,6 +44,7 @@ export function commonAlgorithms({
3944 } ) ;
4045 for ( const [ name , { endpoints} ] of verifiers ) {
4146 const [ verifier ] = endpoints ;
47+ this . implemented . push ( `${ name } ` ) ;
4248 describe ( `${ name } ` , function ( ) {
4349 beforeEach ( function ( ) {
4450 this . currentTest . cell = {
@@ -345,6 +351,7 @@ function invalidHashProxy({
345351 cryptosuite, document, proof,
346352 documentLoader, dataIntegrityProof
347353 } = { } ) {
354+ // this switch the hash to the wrong hash for that keyType
348355 const algorithm = ( keyType === 'P-256' ) ? 'sha384' : 'sha256' ;
349356 const c14nOptions = {
350357 documentLoader,
You can’t perform that action at this time.
0 commit comments