File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ import {getSuiteConfig} from './test-config.js';
8
8
9
9
const cryptosuites = [
10
10
'ecdsa-rdfc-2019' ,
11
- 'ecdsa-jcs-2019'
11
+ 'ecdsa-sd-2023'
12
+ //FIXME implement jcs 'ecdsa-jcs-2019'
12
13
] ;
13
14
14
15
for ( const suiteName of cryptosuites ) {
Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ export function dataModelSuite({
39
39
mandatoryPointers
40
40
} ) ;
41
41
if ( securedCredential ) {
42
- proofs = Array . isArray ( securedCredential . proofs ) ?
43
- securedCredential ?. proofs : [ securedCredential ?. proofs ] ;
42
+ proofs = Array . isArray ( securedCredential . proof ) ?
43
+ securedCredential ?. proof : [ securedCredential ?. proof ] ;
44
44
// only test proofs that match the relevant cryptosuite
45
- proofs . filter ( p => p . cryptosuite === suiteName ) ;
45
+ proofs = proofs . filter ( p => p ? .cryptosuite === suiteName ) ;
46
46
}
47
47
} ) ;
48
48
beforeEach ( function ( ) {
You can’t perform that action at this time.
0 commit comments