@cef-ebsi/cli 1.6.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/authorisation.js +6 -3
- package/dist/commands/authorisation.js.map +1 -1
- package/dist/commands/conformance.js +91 -37
- package/dist/commands/conformance.js.map +1 -1
- package/dist/scripts/accreditAndAuthorize/conformance/step6 +1 -1
- package/dist/scripts/accreditAndAuthorize/test/step6 +1 -1
- package/dist/scripts/registerIssuer +1 -1
- package/dist/scripts/wct/accreditAndAuthorize +25 -2
- package/dist/scripts/wct/accreditAndAuthorize2 +91 -0
- package/dist/scripts/wct/holderWallet +9 -9
- package/dist/scripts/wct/holderWallet2 +39 -0
- package/dist/scripts/wct/issueToHolder +9 -9
- package/dist/scripts/wct/issueToHolder2 +38 -0
- package/dist/scripts/wct/verifier2 +7 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/vcdm.js +34 -0
- package/dist/utils/vcdm.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
using user null
|
|
2
2
|
using user ES256 did2
|
|
3
3
|
|
|
4
|
-
c0: conformance holder CTWalletCrossAuthorisedInTime authorisedInTime
|
|
4
|
+
c0: conformance holder CTWalletCrossAuthorisedInTime authorisedInTime ES256 1.1
|
|
5
5
|
conformance check ct_wallet_cross_authorised_in_time
|
|
6
6
|
|
|
7
|
-
c1: conformance holder CTWalletCrossAuthorisedDeferred authorisedDeferred
|
|
7
|
+
c1: conformance holder CTWalletCrossAuthorisedDeferred authorisedDeferred ES256 1.1
|
|
8
8
|
conformance check ct_wallet_cross_authorised_deferred
|
|
9
9
|
|
|
10
|
-
c2: conformance holder CTWalletCrossPreAuthorisedInTime preAuthorisedInTime
|
|
10
|
+
c2: conformance holder CTWalletCrossPreAuthorisedInTime preAuthorisedInTime ES256 1.1
|
|
11
11
|
conformance check ct_wallet_cross_pre_authorised_in_time
|
|
12
12
|
|
|
13
|
-
c3: conformance holder CTWalletCrossPreAuthorisedDeferred preAuthorisedDeferred
|
|
13
|
+
c3: conformance holder CTWalletCrossPreAuthorisedDeferred preAuthorisedDeferred ES256 1.1
|
|
14
14
|
conformance check ct_wallet_cross_pre_authorised_deferred
|
|
15
15
|
|
|
16
|
-
c4: conformance holder CTWalletSameAuthorisedInTime authorisedInTime
|
|
16
|
+
c4: conformance holder CTWalletSameAuthorisedInTime authorisedInTime ES256 1.1
|
|
17
17
|
conformance check ct_wallet_same_authorised_in_time
|
|
18
18
|
|
|
19
|
-
c5: conformance holder CTWalletSameAuthorisedDeferred authorisedDeferred
|
|
19
|
+
c5: conformance holder CTWalletSameAuthorisedDeferred authorisedDeferred ES256 1.1
|
|
20
20
|
conformance check ct_wallet_same_authorised_deferred
|
|
21
21
|
|
|
22
|
-
c6: conformance holder CTWalletSamePreAuthorisedInTime preAuthorisedInTime
|
|
22
|
+
c6: conformance holder CTWalletSamePreAuthorisedInTime preAuthorisedInTime ES256 1.1
|
|
23
23
|
conformance check ct_wallet_same_pre_authorised_in_time
|
|
24
24
|
|
|
25
|
-
c7: conformance holder CTWalletSamePreAuthorisedDeferred preAuthorisedDeferred
|
|
25
|
+
c7: conformance holder CTWalletSamePreAuthorisedDeferred preAuthorisedDeferred ES256 1.1
|
|
26
26
|
conformance check ct_wallet_same_pre_authorised_deferred
|
|
27
27
|
|
|
28
28
|
set credentials []
|
|
@@ -35,5 +35,5 @@ set credentials.5 c5
|
|
|
35
35
|
set credentials.6 c6
|
|
36
36
|
set credentials.7 c7
|
|
37
37
|
|
|
38
|
-
conformance holder CTWalletQualificationCredential authorisedInTime ES256
|
|
38
|
+
conformance holder CTWalletQualificationCredential authorisedInTime ES256 1.1 credentials
|
|
39
39
|
conformance check request_ct_wallet_qualification_credential
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
using user null
|
|
2
|
+
using user ES256 did2
|
|
3
|
+
|
|
4
|
+
c0: conformance holder CTWalletCrossAuthorisedInTime authorisedInTime ES256 2.0
|
|
5
|
+
conformance check ct_wallet_cross_authorised_in_time 2.0
|
|
6
|
+
|
|
7
|
+
c1: conformance holder CTWalletCrossAuthorisedDeferred authorisedDeferred ES256 2.0
|
|
8
|
+
conformance check ct_wallet_cross_authorised_deferred 2.0
|
|
9
|
+
|
|
10
|
+
c2: conformance holder CTWalletCrossPreAuthorisedInTime preAuthorisedInTime ES256 2.0
|
|
11
|
+
conformance check ct_wallet_cross_pre_authorised_in_time 2.0
|
|
12
|
+
|
|
13
|
+
c3: conformance holder CTWalletCrossPreAuthorisedDeferred preAuthorisedDeferred ES256 2.0
|
|
14
|
+
conformance check ct_wallet_cross_pre_authorised_deferred 2.0
|
|
15
|
+
|
|
16
|
+
c4: conformance holder CTWalletSameAuthorisedInTime authorisedInTime ES256 2.0
|
|
17
|
+
conformance check ct_wallet_same_authorised_in_time 2.0
|
|
18
|
+
|
|
19
|
+
c5: conformance holder CTWalletSameAuthorisedDeferred authorisedDeferred ES256 2.0
|
|
20
|
+
conformance check ct_wallet_same_authorised_deferred 2.0
|
|
21
|
+
|
|
22
|
+
c6: conformance holder CTWalletSamePreAuthorisedInTime preAuthorisedInTime ES256 2.0
|
|
23
|
+
conformance check ct_wallet_same_pre_authorised_in_time 2.0
|
|
24
|
+
|
|
25
|
+
c7: conformance holder CTWalletSamePreAuthorisedDeferred preAuthorisedDeferred ES256 2.0
|
|
26
|
+
conformance check ct_wallet_same_pre_authorised_deferred 2.0
|
|
27
|
+
|
|
28
|
+
set credentials []
|
|
29
|
+
set credentials.0 c0
|
|
30
|
+
set credentials.1 c1
|
|
31
|
+
set credentials.2 c2
|
|
32
|
+
set credentials.3 c3
|
|
33
|
+
set credentials.4 c4
|
|
34
|
+
set credentials.5 c5
|
|
35
|
+
set credentials.6 c6
|
|
36
|
+
set credentials.7 c7
|
|
37
|
+
|
|
38
|
+
conformance holder CTWalletQualificationCredential authorisedInTime ES256 2.0 credentials
|
|
39
|
+
conformance check request_ct_wallet_qualification_credential
|
|
@@ -24,15 +24,15 @@ preAuthorizedDeferredCode: compute signJwt preAuthDeferredPayload ES256 preAuthH
|
|
|
24
24
|
|
|
25
25
|
userPin: compute userPin issuerMockDidNP
|
|
26
26
|
|
|
27
|
-
conformance check issue_to_holder_initiate_ct_wallet_same_authorised_in_time
|
|
28
|
-
conformance check issue_to_holder_validate_ct_wallet_same_authorised_in_time
|
|
29
|
-
conformance check issue_to_holder_initiate_ct_wallet_same_authorised_deferred
|
|
30
|
-
conformance check issue_to_holder_validate_ct_wallet_same_authorised_deferred
|
|
31
|
-
conformance check issue_to_holder_initiate_ct_wallet_same_pre_authorised_in_time preAuthorizedInTimeCode userPin
|
|
32
|
-
conformance check issue_to_holder_validate_ct_wallet_same_pre_authorised_in_time preAuthorizedInTimeCode userPin
|
|
33
|
-
conformance check issue_to_holder_initiate_ct_wallet_same_pre_authorised_deferred preAuthorizedDeferredCode userPin
|
|
34
|
-
conformance check issue_to_holder_validate_ct_wallet_same_pre_authorised_deferred preAuthorizedDeferredCode userPin
|
|
27
|
+
conformance check issue_to_holder_initiate_ct_wallet_same_authorised_in_time 1.1
|
|
28
|
+
conformance check issue_to_holder_validate_ct_wallet_same_authorised_in_time 1.1
|
|
29
|
+
conformance check issue_to_holder_initiate_ct_wallet_same_authorised_deferred 1.1
|
|
30
|
+
conformance check issue_to_holder_validate_ct_wallet_same_authorised_deferred 1.1
|
|
31
|
+
conformance check issue_to_holder_initiate_ct_wallet_same_pre_authorised_in_time 1.1 preAuthorizedInTimeCode userPin
|
|
32
|
+
conformance check issue_to_holder_validate_ct_wallet_same_pre_authorised_in_time 1.1 preAuthorizedInTimeCode userPin
|
|
33
|
+
conformance check issue_to_holder_initiate_ct_wallet_same_pre_authorised_deferred 1.1 preAuthorizedDeferredCode userPin
|
|
34
|
+
conformance check issue_to_holder_validate_ct_wallet_same_pre_authorised_deferred 1.1 preAuthorizedDeferredCode userPin
|
|
35
35
|
|
|
36
36
|
compute wait 11
|
|
37
|
-
conformance holder CTIssueQualificationCredential authorisedInTime ES256 [] skip-credential-offer
|
|
37
|
+
conformance holder CTIssueQualificationCredential authorisedInTime ES256 1.1 [] skip-credential-offer
|
|
38
38
|
conformance check request_ct_issue_to_holder_qualification_credential
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
using user null
|
|
2
|
+
using user ES256 did2
|
|
3
|
+
set user.issuerState issuer-state
|
|
4
|
+
conformance clientMockInitiate
|
|
5
|
+
|
|
6
|
+
jwks: conformance get /issuer-mock/jwks
|
|
7
|
+
issuerMockDidNP: compute did2 jwks.keys.0
|
|
8
|
+
|
|
9
|
+
set preAuthInTimePayload {"authorization_details":[{"type":"openid_credential","format":"jwt_vc","types":["VerifiableCredential","VerifiableAttestation","CTWalletSamePreAuthorisedInTime"],"locations":[""]}]}
|
|
10
|
+
set preAuthInTimePayload.iss user.clientId
|
|
11
|
+
set preAuthInTimePayload.sub issuerMockDidNP
|
|
12
|
+
set preAuthInTimePayload.client_id issuerMockDidNP
|
|
13
|
+
set preAuthInTimePayload.authorization_details[0].locations[0] user.clientId
|
|
14
|
+
set preAuthHeaders {}
|
|
15
|
+
set preAuthHeaders.kid user.keys.ES256.kid
|
|
16
|
+
preAuthorizedInTimeCode: compute signJwt preAuthInTimePayload ES256 preAuthHeaders
|
|
17
|
+
|
|
18
|
+
set preAuthDeferredPayload {"authorization_details":[{"type":"openid_credential","format":"jwt_vc","types":["VerifiableCredential","VerifiableAttestation","CTWalletSamePreAuthorisedDeferred"],"locations":[""]}]}
|
|
19
|
+
set preAuthDeferredPayload.iss user.clientId
|
|
20
|
+
set preAuthDeferredPayload.sub issuerMockDidNP
|
|
21
|
+
set preAuthDeferredPayload.client_id issuerMockDidNP
|
|
22
|
+
set preAuthDeferredPayload.authorization_details[0].locations[0] user.clientId
|
|
23
|
+
preAuthorizedDeferredCode: compute signJwt preAuthDeferredPayload ES256 preAuthHeaders
|
|
24
|
+
|
|
25
|
+
userPin: compute userPin issuerMockDidNP
|
|
26
|
+
|
|
27
|
+
conformance check issue_to_holder_initiate_ct_wallet_same_authorised_in_time 2.0
|
|
28
|
+
conformance check issue_to_holder_validate_ct_wallet_same_authorised_in_time 2.0
|
|
29
|
+
conformance check issue_to_holder_initiate_ct_wallet_same_authorised_deferred 2.0
|
|
30
|
+
conformance check issue_to_holder_validate_ct_wallet_same_authorised_deferred 2.0
|
|
31
|
+
conformance check issue_to_holder_initiate_ct_wallet_same_pre_authorised_in_time 2.0 preAuthorizedInTimeCode userPin
|
|
32
|
+
conformance check issue_to_holder_validate_ct_wallet_same_pre_authorised_in_time 2.0 preAuthorizedInTimeCode userPin
|
|
33
|
+
conformance check issue_to_holder_initiate_ct_wallet_same_pre_authorised_deferred 2.0 preAuthorizedDeferredCode userPin
|
|
34
|
+
conformance check issue_to_holder_validate_ct_wallet_same_pre_authorised_deferred 2.0 preAuthorizedDeferredCode userPin
|
|
35
|
+
|
|
36
|
+
compute wait 11
|
|
37
|
+
conformance holder CTIssueQualificationCredential authorisedInTime ES256 2.0 [] skip-credential-offer
|
|
38
|
+
conformance check request_ct_issue_to_holder_qualification_credential
|