@cef-ebsi/cli 0.1.0 → 1.0.0-alpha.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/README.md +60 -0
- package/dist/abi/pilot/{DidRegistry.js → DidRegistryV3.js} +1 -1
- package/dist/abi/pilot/DidRegistryV3.js.map +1 -0
- package/dist/abi/pilot/SchemaSCRegistryV2.js +474 -0
- package/dist/abi/pilot/SchemaSCRegistryV2.js.map +1 -0
- package/dist/abi/{test/Tar.js → pilot/TarV3.js} +64 -351
- package/dist/abi/pilot/TarV3.js.map +1 -0
- package/dist/abi/{test/Timestamp.js → pilot/TimestampV2.js} +77 -41
- package/dist/abi/pilot/TimestampV2.js.map +1 -0
- package/dist/abi/pilot/TirV3.js +496 -0
- package/dist/abi/pilot/TirV3.js.map +1 -0
- package/dist/abi/pilot/{Tir.js → TprV2.js} +345 -353
- package/dist/abi/pilot/TprV2.js.map +1 -0
- package/dist/abi/test/{DidRegistry.js → DidRegistryV3.js} +46 -39
- package/dist/abi/test/DidRegistryV3.js.map +1 -0
- package/dist/abi/test/SchemaSCRegistryV2.js +474 -0
- package/dist/abi/test/SchemaSCRegistryV2.js.map +1 -0
- package/dist/abi/{pilot/Tar.js → test/TarV3.js} +64 -351
- package/dist/abi/test/TarV3.js.map +1 -0
- package/dist/abi/{pilot/Timestamp.js → test/TimestampV2.js} +77 -41
- package/dist/abi/test/TimestampV2.js.map +1 -0
- package/dist/abi/test/TirV3.js +496 -0
- package/dist/abi/test/TirV3.js.map +1 -0
- package/dist/abi/test/{Tir.js → TprV2.js} +345 -353
- package/dist/abi/test/TprV2.js.map +1 -0
- package/dist/app.js +5 -11
- package/dist/app.js.map +1 -1
- package/dist/buildParam/{did.js → didV3.js} +17 -19
- package/dist/buildParam/didV3.js.map +1 -0
- package/dist/buildParam/index.js +18 -18
- package/dist/buildParam/index.js.map +1 -1
- package/dist/buildParam/{tar.js → tarV3.js} +29 -76
- package/dist/buildParam/tarV3.js.map +1 -0
- package/dist/buildParam/{timestamp.js → timestampV2.js} +8 -14
- package/dist/buildParam/timestampV2.js.map +1 -0
- package/dist/buildParam/tirV3.js +104 -0
- package/dist/buildParam/tirV3.js.map +1 -0
- package/dist/buildParam/tprV2.js +82 -0
- package/dist/buildParam/tprV2.js.map +1 -0
- package/dist/buildParam/{tsr.js → tsrV2.js} +6 -45
- package/dist/buildParam/tsrV2.js.map +1 -0
- package/dist/commands/{authorisation-v2.js → authorisation-v4.js} +88 -8
- package/dist/commands/authorisation-v4.js.map +1 -0
- package/dist/commands/compute.js +8 -8
- package/dist/commands/compute.js.map +1 -1
- package/dist/commands/conformance-v3.js +3 -1
- package/dist/commands/conformance-v3.js.map +1 -1
- package/dist/commands/index.js +2 -3
- package/dist/commands/index.js.map +1 -1
- package/dist/commands/{ledger-v3.js → ledger-v4.js} +18 -14
- package/dist/commands/ledger-v4.js.map +1 -0
- package/dist/commands/view.js.map +1 -1
- package/dist/config.js +50 -132
- package/dist/config.js.map +1 -1
- package/dist/programs/appRegistration.js.map +1 -1
- package/dist/scripts/bootstrap/1-populateTPR +51 -54
- package/dist/scripts/bootstrap/2-populateDID +1 -16
- package/dist/scripts/bootstrap/3-populateTAR +0 -66
- package/dist/scripts/bootstrap/4-populateTimestamp +0 -1
- package/dist/scripts/bootstrap/6-populateTSR +73 -14
- package/dist/scripts/issue_CTRevocableCredential +3 -3
- package/dist/scripts/issue_SelfAttestationSupportOffice +2 -2
- package/dist/scripts/issue_VerifiableAccreditationToAccredit +2 -2
- package/dist/scripts/issue_VerifiableAccreditationToAttest +2 -2
- package/dist/scripts/issue_VerifiableAuthorisationForTrustChain +1 -1
- package/dist/scripts/issue_VerifiableAuthorisationToOnboard +1 -1
- package/dist/scripts/wctv3/accreditAndAuthorize +3 -3
- package/dist/scripts/wctv3/holderWallet +22 -13
- package/dist/scripts/wctv3/issueToHolder +23 -13
- package/dist/scripts/wctv3/pda1 +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/Client.js.map +1 -1
- package/dist/utils/http.js.map +1 -1
- package/dist/utils/print.js.map +1 -1
- package/dist/utils/utils.js.map +1 -1
- package/dist/utils/verifiablePresentation.js.map +1 -1
- package/package.json +30 -28
- package/dist/abi/pilot/DidRegistry.js.map +0 -1
- package/dist/abi/pilot/SchemaSCRegistry.js +0 -973
- package/dist/abi/pilot/SchemaSCRegistry.js.map +0 -1
- package/dist/abi/pilot/Tar.js.map +0 -1
- package/dist/abi/pilot/Timestamp.js.map +0 -1
- package/dist/abi/pilot/Tir.js.map +0 -1
- package/dist/abi/pilot/Tpr.js +0 -1268
- package/dist/abi/pilot/Tpr.js.map +0 -1
- package/dist/abi/test/DidRegistry.js.map +0 -1
- package/dist/abi/test/SchemaSCRegistry.js +0 -973
- package/dist/abi/test/SchemaSCRegistry.js.map +0 -1
- package/dist/abi/test/Tar.js.map +0 -1
- package/dist/abi/test/Timestamp.js.map +0 -1
- package/dist/abi/test/Tir.js.map +0 -1
- package/dist/abi/test/Tpr.js +0 -1268
- package/dist/abi/test/Tpr.js.map +0 -1
- package/dist/buildParam/did.js.map +0 -1
- package/dist/buildParam/tar.js.map +0 -1
- package/dist/buildParam/timestamp.js.map +0 -1
- package/dist/buildParam/tir.js +0 -200
- package/dist/buildParam/tir.js.map +0 -1
- package/dist/buildParam/tpr.js +0 -167
- package/dist/buildParam/tpr.js.map +0 -1
- package/dist/buildParam/tsr.js.map +0 -1
- package/dist/commands/authorisation-v2.js.map +0 -1
- package/dist/commands/authorisation-v3.js +0 -98
- package/dist/commands/authorisation-v3.js.map +0 -1
- package/dist/commands/ledger-v3.js.map +0 -1
|
@@ -1,22 +1,28 @@
|
|
|
1
1
|
using user ES256 did2
|
|
2
2
|
|
|
3
|
-
c0: conformance holder
|
|
4
|
-
conformance check
|
|
3
|
+
c0: conformance holder CTWalletCrossAuthorisedInTime authorisedInTime
|
|
4
|
+
conformance check ct_wallet_cross_authorised_in_time
|
|
5
5
|
|
|
6
|
-
c1: conformance holder
|
|
7
|
-
conformance check
|
|
6
|
+
c1: conformance holder CTWalletCrossAuthorisedDeferred authorisedDeferred
|
|
7
|
+
conformance check ct_wallet_cross_authorised_deferred
|
|
8
8
|
|
|
9
|
-
c2: conformance holder
|
|
10
|
-
conformance check
|
|
9
|
+
c2: conformance holder CTWalletCrossPreAuthorisedInTime preAuthorisedInTime
|
|
10
|
+
conformance check ct_wallet_cross_pre_authorised_in_time
|
|
11
11
|
|
|
12
|
-
c3: conformance holder
|
|
13
|
-
conformance check
|
|
12
|
+
c3: conformance holder CTWalletCrossPreAuthorisedDeferred preAuthorisedDeferred
|
|
13
|
+
conformance check ct_wallet_cross_pre_authorised_deferred
|
|
14
14
|
|
|
15
|
-
c4: conformance holder
|
|
16
|
-
conformance check
|
|
15
|
+
c4: conformance holder CTWalletSameAuthorisedInTime authorisedInTime
|
|
16
|
+
conformance check ct_wallet_same_authorised_in_time
|
|
17
17
|
|
|
18
|
-
c5: conformance holder
|
|
19
|
-
conformance check
|
|
18
|
+
c5: conformance holder CTWalletSameAuthorisedDeferred authorisedDeferred
|
|
19
|
+
conformance check ct_wallet_same_authorised_deferred
|
|
20
|
+
|
|
21
|
+
c6: conformance holder CTWalletSamePreAuthorisedInTime preAuthorisedInTime
|
|
22
|
+
conformance check ct_wallet_same_pre_authorised_in_time
|
|
23
|
+
|
|
24
|
+
c7: conformance holder CTWalletSamePreAuthorisedDeferred preAuthorisedDeferred
|
|
25
|
+
conformance check ct_wallet_same_pre_authorised_deferred
|
|
20
26
|
|
|
21
27
|
set credentials []
|
|
22
28
|
set credentials.0 c0
|
|
@@ -25,5 +31,8 @@ set credentials.2 c2
|
|
|
25
31
|
set credentials.3 c3
|
|
26
32
|
set credentials.4 c4
|
|
27
33
|
set credentials.5 c5
|
|
28
|
-
|
|
34
|
+
set credentials.6 c6
|
|
35
|
+
set credentials.7 c7
|
|
36
|
+
|
|
37
|
+
conformance holder CTWalletQualificationCredential authorisedInTime ES256 credentials
|
|
29
38
|
conformance check request_ct_wallet_qualification_credential
|
|
@@ -5,23 +5,33 @@ conformance clientMockInitiate
|
|
|
5
5
|
jwks: conformance get /issuer-mock/jwks
|
|
6
6
|
issuerMockDidNP: compute did2 jwks.keys.0
|
|
7
7
|
|
|
8
|
-
set
|
|
9
|
-
set
|
|
10
|
-
set
|
|
11
|
-
set
|
|
12
|
-
set
|
|
8
|
+
set preAuthInTimePayload {"authorization_details":[{"type":"openid_credential","format":"jwt_vc","types":["VerifiableCredential","VerifiableAttestation","CTWalletSamePreAuthorisedInTime"],"locations":[""]}]}
|
|
9
|
+
set preAuthInTimePayload.iss user.clientId
|
|
10
|
+
set preAuthInTimePayload.sub issuerMockDidNP
|
|
11
|
+
set preAuthInTimePayload.client_id issuerMockDidNP
|
|
12
|
+
set preAuthInTimePayload.authorization_details[0].locations[0] user.clientId
|
|
13
13
|
set preAuthHeaders {}
|
|
14
14
|
set preAuthHeaders.kid user.keys.ES256.id
|
|
15
|
-
|
|
15
|
+
preAuthorizedInTimeCode: compute signJwt preAuthInTimePayload ES256 preAuthHeaders
|
|
16
|
+
|
|
17
|
+
set preAuthDeferredPayload {"authorization_details":[{"type":"openid_credential","format":"jwt_vc","types":["VerifiableCredential","VerifiableAttestation","CTWalletSamePreAuthorisedDeferred"],"locations":[""]}]}
|
|
18
|
+
set preAuthDeferredPayload.iss user.clientId
|
|
19
|
+
set preAuthDeferredPayload.sub issuerMockDidNP
|
|
20
|
+
set preAuthDeferredPayload.client_id issuerMockDidNP
|
|
21
|
+
set preAuthDeferredPayload.authorization_details[0].locations[0] user.clientId
|
|
22
|
+
preAuthorizedDeferredCode: compute signJwt preAuthDeferredPayload ES256 preAuthHeaders
|
|
23
|
+
|
|
16
24
|
userPin: compute userPin issuerMockDidNP
|
|
17
25
|
|
|
18
|
-
conformance check
|
|
19
|
-
conformance check
|
|
20
|
-
conformance check
|
|
21
|
-
conformance check
|
|
22
|
-
conformance check
|
|
23
|
-
conformance check
|
|
26
|
+
conformance check issue_to_holder_initiate_ct_wallet_same_authorised_in_time
|
|
27
|
+
conformance check issue_to_holder_validate_ct_wallet_same_authorised_in_time
|
|
28
|
+
conformance check issue_to_holder_initiate_ct_wallet_same_authorised_deferred
|
|
29
|
+
conformance check issue_to_holder_validate_ct_wallet_same_authorised_deferred
|
|
30
|
+
conformance check issue_to_holder_initiate_ct_wallet_same_pre_authorised_in_time preAuthorizedInTimeCode userPin
|
|
31
|
+
conformance check issue_to_holder_validate_ct_wallet_same_pre_authorised_in_time preAuthorizedInTimeCode userPin
|
|
32
|
+
conformance check issue_to_holder_initiate_ct_wallet_same_pre_authorised_deferred preAuthorizedDeferredCode userPin
|
|
33
|
+
conformance check issue_to_holder_validate_ct_wallet_same_pre_authorised_deferred preAuthorizedDeferredCode userPin
|
|
24
34
|
|
|
25
35
|
compute wait 11
|
|
26
|
-
conformance holder CTIssueQualificationCredential
|
|
36
|
+
conformance holder CTIssueQualificationCredential authorisedInTime ES256 empty skip-credential-offer
|
|
27
37
|
conformance check request_ct_issue_to_holder_qualification_credential
|
package/dist/scripts/wctv3/pda1
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
using user ES256 did2
|
|
2
|
-
cPda1: conformance holder VerifiablePortableDocumentA1
|
|
2
|
+
cPda1: conformance holder VerifiablePortableDocumentA1 authorisedDeferred
|