@cef-ebsi/cli 1.0.0-alpha.4 → 1.0.0-alpha.6
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/LICENSE +189 -189
- package/README.md +95 -92
- package/bin/cli.js +0 -0
- package/dist/abi/pilot/TnTV1.js +1375 -0
- package/dist/abi/pilot/TnTV1.js.map +1 -0
- package/dist/abi/test/TnTV1.js +1375 -0
- package/dist/abi/test/TnTV1.js.map +1 -0
- package/dist/app.js +10 -1
- package/dist/app.js.map +1 -1
- package/dist/buildParam/didV3.js +15 -7
- package/dist/buildParam/didV3.js.map +1 -1
- package/dist/buildParam/index.js +4 -0
- package/dist/buildParam/index.js.map +1 -1
- package/dist/buildParam/tntV1.js +181 -0
- package/dist/buildParam/tntV1.js.map +1 -0
- package/dist/commands/authorisation-v4.js +3 -1
- package/dist/commands/authorisation-v4.js.map +1 -1
- package/dist/commands/compute.js +3 -3
- package/dist/commands/compute.js.map +1 -1
- package/dist/commands/conformance-v3.js +18 -26
- package/dist/commands/conformance-v3.js.map +1 -1
- package/dist/commands/ledger-v4.js +25 -5
- package/dist/commands/ledger-v4.js.map +1 -1
- package/dist/config.js +41 -3
- package/dist/config.js.map +1 -1
- package/dist/programs/appRegistration.js +34 -31
- package/dist/programs/appRegistration.js.map +1 -1
- package/dist/programs/migrateDids.js +229 -0
- package/dist/programs/migrateDids.js.map +1 -0
- package/dist/scripts/accreditAndAuthorize/conformance/step1 +34 -34
- package/dist/scripts/accreditAndAuthorize/conformance/step2 +17 -17
- package/dist/scripts/accreditAndAuthorize/conformance/step3 +8 -8
- package/dist/scripts/accreditAndAuthorize/conformance/step4 +26 -26
- package/dist/scripts/accreditAndAuthorize/conformance/step5 +12 -12
- package/dist/scripts/accreditAndAuthorize/conformance/step6 +13 -13
- package/dist/scripts/accreditAndAuthorize/conformance/step7 +6 -6
- package/dist/scripts/accreditAndAuthorize/test/step1 +34 -34
- package/dist/scripts/accreditAndAuthorize/test/step2 +17 -17
- package/dist/scripts/accreditAndAuthorize/test/step3 +8 -8
- package/dist/scripts/accreditAndAuthorize/test/step4 +26 -26
- package/dist/scripts/accreditAndAuthorize/test/step5 +12 -12
- package/dist/scripts/accreditAndAuthorize/test/step6 +13 -13
- package/dist/scripts/accreditAndAuthorize/test/step7 +6 -6
- package/dist/scripts/accreditTI +20 -20
- package/dist/scripts/assets/CTRevocableCredential.json +29 -29
- package/dist/scripts/assets/CredentialToAttestVerifiableAuthorisationForTrustChain.json +28 -28
- package/dist/scripts/assets/VerifiableAccreditationToAccredit.json +35 -35
- package/dist/scripts/assets/VerifiableAccreditationToAttest.json +32 -32
- package/dist/scripts/assets/VerifiableAuthorisationForTrustChain.json +21 -21
- package/dist/scripts/assets/VerifiableAuthorisationToOnboard.json +23 -23
- package/dist/scripts/bootstrap/0a-loadTPROperator +5 -5
- package/dist/scripts/bootstrap/0b-loadAdmin +8 -8
- package/dist/scripts/bootstrap/1-populateTPR +112 -112
- package/dist/scripts/bootstrap/2-populateDID +5 -5
- package/dist/scripts/bootstrap/3-populateTAR +28 -26
- package/dist/scripts/bootstrap/4-populateTimestamp +8 -8
- package/dist/scripts/bootstrap/5-populateTIR +9 -9
- package/dist/scripts/bootstrap/6-populateTSR +81 -81
- package/dist/scripts/bootstrap/7-setupConformanceIssuer +34 -34
- package/dist/scripts/initializeContracts +5 -5
- package/dist/scripts/issueVcOnboard +9 -9
- package/dist/scripts/issueVcRootTAO +11 -11
- package/dist/scripts/issueVcTAO +12 -12
- package/dist/scripts/issueVcTI +12 -12
- package/dist/scripts/issue_CTRevocableCredential +12 -12
- package/dist/scripts/issue_SelfAttestationSupportOffice +10 -10
- package/dist/scripts/issue_VerifiableAccreditationToAccredit +11 -11
- package/dist/scripts/issue_VerifiableAccreditationToAttest +11 -11
- package/dist/scripts/issue_VerifiableAuthorisationForTrustChain +10 -10
- package/dist/scripts/issue_VerifiableAuthorisationToOnboard +9 -9
- package/dist/scripts/preregisterIssuer +6 -6
- package/dist/scripts/registerDidDocument_ES256K +5 -0
- package/dist/scripts/registerDidDocument_ES256K_ES256 +13 -13
- package/dist/scripts/registerIssuer +6 -6
- package/dist/scripts/wctv3/accreditAndAuthorize +105 -105
- package/dist/scripts/wctv3/holderWallet +39 -38
- package/dist/scripts/wctv3/issueToHolder +37 -36
- package/dist/scripts/wctv3/pda1 +2 -1
- package/dist/scripts/wctv3/verifier +7 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/http.js +5 -0
- package/dist/utils/http.js.map +1 -1
- package/package.json +100 -97
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
using user
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
conformance
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
conformance
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
conformance
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
conformance
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
conformance
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
conformance
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
conformance
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
conformance
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
set credentials
|
|
29
|
-
set credentials.
|
|
30
|
-
set credentials.
|
|
31
|
-
set credentials.
|
|
32
|
-
set credentials.
|
|
33
|
-
set credentials.
|
|
34
|
-
set credentials.
|
|
35
|
-
set credentials.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
conformance
|
|
1
|
+
using user null
|
|
2
|
+
using user ES256 did2
|
|
3
|
+
|
|
4
|
+
c0: conformance holder CTWalletCrossAuthorisedInTime authorisedInTime
|
|
5
|
+
conformance check ct_wallet_cross_authorised_in_time
|
|
6
|
+
|
|
7
|
+
c1: conformance holder CTWalletCrossAuthorisedDeferred authorisedDeferred
|
|
8
|
+
conformance check ct_wallet_cross_authorised_deferred
|
|
9
|
+
|
|
10
|
+
c2: conformance holder CTWalletCrossPreAuthorisedInTime preAuthorisedInTime
|
|
11
|
+
conformance check ct_wallet_cross_pre_authorised_in_time
|
|
12
|
+
|
|
13
|
+
c3: conformance holder CTWalletCrossPreAuthorisedDeferred preAuthorisedDeferred
|
|
14
|
+
conformance check ct_wallet_cross_pre_authorised_deferred
|
|
15
|
+
|
|
16
|
+
c4: conformance holder CTWalletSameAuthorisedInTime authorisedInTime
|
|
17
|
+
conformance check ct_wallet_same_authorised_in_time
|
|
18
|
+
|
|
19
|
+
c5: conformance holder CTWalletSameAuthorisedDeferred authorisedDeferred
|
|
20
|
+
conformance check ct_wallet_same_authorised_deferred
|
|
21
|
+
|
|
22
|
+
c6: conformance holder CTWalletSamePreAuthorisedInTime preAuthorisedInTime
|
|
23
|
+
conformance check ct_wallet_same_pre_authorised_in_time
|
|
24
|
+
|
|
25
|
+
c7: conformance holder CTWalletSamePreAuthorisedDeferred preAuthorisedDeferred
|
|
26
|
+
conformance check ct_wallet_same_pre_authorised_deferred
|
|
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 credentials
|
|
39
|
+
conformance check request_ct_wallet_qualification_credential
|
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
using user
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
set preAuthInTimePayload
|
|
10
|
-
set preAuthInTimePayload.
|
|
11
|
-
set preAuthInTimePayload.
|
|
12
|
-
set preAuthInTimePayload.
|
|
13
|
-
set
|
|
14
|
-
set preAuthHeaders
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
set preAuthDeferredPayload
|
|
19
|
-
set preAuthDeferredPayload.
|
|
20
|
-
set preAuthDeferredPayload.
|
|
21
|
-
set preAuthDeferredPayload.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
conformance check
|
|
28
|
-
conformance check
|
|
29
|
-
conformance check
|
|
30
|
-
conformance check
|
|
31
|
-
conformance check
|
|
32
|
-
conformance check
|
|
33
|
-
conformance check
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
|
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
|
|
35
|
+
|
|
36
|
+
compute wait 11
|
|
37
|
+
conformance holder CTIssueQualificationCredential authorisedInTime ES256 empty skip-credential-offer
|
|
37
38
|
conformance check request_ct_issue_to_holder_qualification_credential
|
package/dist/scripts/wctv3/pda1
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
using user
|
|
2
|
-
|
|
3
|
-
conformance
|
|
4
|
-
conformance check
|
|
5
|
-
conformance check
|
|
6
|
-
conformance check
|
|
1
|
+
using user null
|
|
2
|
+
using user ES256
|
|
3
|
+
conformance clientMockInitiate
|
|
4
|
+
conformance check verifier_id_token_exchange
|
|
5
|
+
conformance check verifier_vp_valid_vc
|
|
6
|
+
conformance check verifier_vp_expired_vc
|
|
7
|
+
conformance check verifier_vp_revoked_vc
|
|
7
8
|
conformance check verifier_vp_not_yet_valid_vc
|