@eudiplo/cli 9.1.0-main.d8fc118 → 9.1.0-main.da23cae
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/config/index.d.ts.map +1 -1
- package/dist/commands/config/index.js +1 -1
- package/dist/commands/config/index.js.map +1 -1
- package/dist/commands/config/portability/action.d.ts.map +1 -1
- package/dist/commands/config/portability/action.js +129 -13
- package/dist/commands/config/portability/action.js.map +1 -1
- package/dist/commands/config/portability/folder-bundle.d.ts +60 -0
- package/dist/commands/config/portability/folder-bundle.d.ts.map +1 -0
- package/dist/commands/config/portability/folder-bundle.js +270 -0
- package/dist/commands/config/portability/folder-bundle.js.map +1 -0
- package/dist/commands/config/portability/folder-export.d.ts +22 -0
- package/dist/commands/config/portability/folder-export.d.ts.map +1 -0
- package/dist/commands/config/portability/folder-export.js +146 -0
- package/dist/commands/config/portability/folder-export.js.map +1 -0
- package/dist/commands/config/portability/index.d.ts.map +1 -1
- package/dist/commands/config/portability/index.js +8 -4
- package/dist/commands/config/portability/index.js.map +1 -1
- package/dist/commands/config/portability/migrations.spec.js +4 -2
- package/dist/commands/config/portability/migrations.spec.js.map +1 -1
- package/dist/commands/config/portability/upgrade.d.ts +2 -0
- package/dist/commands/config/portability/upgrade.d.ts.map +1 -1
- package/dist/commands/config/portability/upgrade.js +45 -11
- package/dist/commands/config/portability/upgrade.js.map +1 -1
- package/dist/commands/config/tenant/action.d.ts.map +1 -1
- package/dist/commands/config/tenant/action.js +3 -2
- package/dist/commands/config/tenant/action.js.map +1 -1
- package/dist/commands/config/validate/registry.d.ts +3 -0
- package/dist/commands/config/validate/registry.d.ts.map +1 -1
- package/dist/commands/config/validate/registry.js +5 -0
- package/dist/commands/config/validate/registry.js.map +1 -1
- package/dist/commands/config/validate/registry.json +0 -11
- package/dist/commands/config/validate/report.d.ts +4 -0
- package/dist/commands/config/validate/report.d.ts.map +1 -1
- package/dist/commands/config/validate/report.js +7 -0
- package/dist/commands/config/validate/report.js.map +1 -1
- package/dist/commands/config/validate/types.d.ts +6 -0
- package/dist/commands/config/validate/types.d.ts.map +1 -1
- package/dist/commands/config/validate/validator.d.ts +10 -1
- package/dist/commands/config/validate/validator.d.ts.map +1 -1
- package/dist/commands/config/validate/validator.js +52 -18
- package/dist/commands/config/validate/validator.js.map +1 -1
- package/dist/commands/init/action.js +1 -1
- package/dist/commands/init/action.js.map +1 -1
- package/dist/commands/status/action.js +1 -1
- package/dist/commands/status/action.js.map +1 -1
- package/dist/commands/version/action.d.ts.map +1 -1
- package/dist/commands/version/action.js.map +1 -1
- package/dist/index.js +21918 -8560
- package/dist/runtime.js +1 -1
- package/dist/runtime.js.map +1 -1
- package/dist/services/cli-config.d.ts.map +1 -1
- package/dist/services/cli-config.js +1 -1
- package/dist/services/cli-config.js.map +1 -1
- package/dist/services/compose-project.d.ts +6 -0
- package/dist/services/compose-project.d.ts.map +1 -1
- package/dist/services/compose-project.js +13 -2
- package/dist/services/compose-project.js.map +1 -1
- package/dist/services/deployment-drivers.d.ts.map +1 -1
- package/dist/services/deployment-drivers.js +3 -3
- package/dist/services/deployment-drivers.js.map +1 -1
- package/dist/services/diagnostics.d.ts.map +1 -1
- package/dist/services/diagnostics.js +1 -1
- package/dist/services/diagnostics.js.map +1 -1
- package/package.json +5 -5
- package/templates/demo-config/info.json +1 -1
- package/templates/demo-config/issuance/credentials/citizen.json +1 -1
- package/templates/demo-config/issuance/credentials/pid-key.json +1 -1
- package/templates/demo-config/issuance/credentials/pid-mdoc.json +1 -1
- package/templates/demo-config/issuance/credentials/pid.json +1 -1
- package/templates/demo-config/issuance/issuance.json +1 -1
- package/templates/demo-config/key-chains/access.json +1 -1
- package/templates/demo-config/key-chains/attestation.json +1 -1
- package/templates/demo-config/key-chains/status-list.json +1 -1
- package/templates/demo-config/key-chains/trust-list.json +1 -1
- package/templates/demo-config/presentation/age-over-18.json +1 -1
- package/templates/demo-config/presentation/pid.json +1 -1
- package/templates/demo-config/trust-lists/trustlist-580831bc-ef11-43f4-a3be-a2b6bf1b29a3-config.json +4 -2
- package/templates/docker-compose.yml +2 -2
- package/templates/schemas/CreateTenantDto.schema.json +3 -3
- package/templates/schemas/CredentialConfigCreate.schema.json +15 -9
- package/templates/schemas/CredentialConfigFile.schema.json +1027 -1
- package/templates/schemas/DCQL.schema.json +168 -52
- package/templates/schemas/IssuanceConfig.schema.json +7 -20
- package/templates/schemas/IssuanceConfigFile.schema.json +1631 -1
- package/templates/schemas/KeyChainConfigFile.schema.json +371 -1
- package/templates/schemas/KeyChainCreateDto.schema.json +1 -0
- package/templates/schemas/KeyChainDefaultsConfigFile.schema.json +58 -0
- package/templates/schemas/KeyChainImportDto.schema.json +1 -0
- package/templates/schemas/PresentationConfigCreateDto.schema.json +214 -163
- package/templates/schemas/PresentationConfigFile.schema.json +1623 -1
- package/templates/schemas/TrustListConfigFile.schema.json +263 -1
- package/templates/schemas/TrustListCreateDto.schema.json +556 -22
- package/templates/schemas.manifest.json +0 -2
- package/templates/schemas/CreateRegistrarConfigDto.schema.json +0 -90
- package/templates/schemas/RegistrarConfigFile.schema.json +0 -144
|
@@ -46,39 +46,97 @@
|
|
|
46
46
|
"values": {
|
|
47
47
|
"type": "array",
|
|
48
48
|
"items": {
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"url": {
|
|
56
|
-
"description": "Optional trust list URL reference.",
|
|
57
|
-
"anyOf": [
|
|
58
|
-
{
|
|
49
|
+
"anyOf": [
|
|
50
|
+
{
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"format": {
|
|
54
|
+
"description": "Format of the list: a List of Trusted Entities (ETSI TS 119 602) as JWT. Default.",
|
|
59
55
|
"type": "string",
|
|
60
|
-
"
|
|
56
|
+
"const": "lote"
|
|
61
57
|
},
|
|
62
|
-
{
|
|
63
|
-
"
|
|
64
|
-
"
|
|
58
|
+
"trustListId": {
|
|
59
|
+
"description": "Optional trust list id reference.",
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"url": {
|
|
63
|
+
"description": "Optional trust list URL reference.",
|
|
64
|
+
"anyOf": [
|
|
65
|
+
{
|
|
66
|
+
"type": "string",
|
|
67
|
+
"format": "uri"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "string",
|
|
71
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"verifierKey": {
|
|
76
|
+
"description": "Optional verifier key material.",
|
|
77
|
+
"type": "object",
|
|
78
|
+
"propertyNames": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"additionalProperties": {}
|
|
82
|
+
},
|
|
83
|
+
"verifierX509Der": {
|
|
84
|
+
"description": "Optional verifier certificate in DER/base64 form.",
|
|
85
|
+
"type": "string"
|
|
65
86
|
}
|
|
66
|
-
|
|
87
|
+
},
|
|
88
|
+
"additionalProperties": false
|
|
67
89
|
},
|
|
68
|
-
|
|
69
|
-
"description": "Optional verifier key material.",
|
|
90
|
+
{
|
|
70
91
|
"type": "object",
|
|
71
|
-
"
|
|
72
|
-
"
|
|
92
|
+
"properties": {
|
|
93
|
+
"format": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"const": "trusted-list",
|
|
96
|
+
"description": "Format of the list: an ETSI TS 119 612 Trusted List or list of trusted lists as XML."
|
|
97
|
+
},
|
|
98
|
+
"url": {
|
|
99
|
+
"anyOf": [
|
|
100
|
+
{
|
|
101
|
+
"type": "string",
|
|
102
|
+
"format": "uri"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "string",
|
|
106
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"description": "URL of the Trusted List, or of a list of trusted lists (LOTL) whose national lists are followed."
|
|
110
|
+
},
|
|
111
|
+
"signingCertificates": {
|
|
112
|
+
"minItems": 1,
|
|
113
|
+
"type": "array",
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"minLength": 1,
|
|
117
|
+
"pattern": "^[A-Za-z0-9+/\\s]+={0,2}$"
|
|
118
|
+
},
|
|
119
|
+
"description": "Base64 DER certificates one of which must have signed the list: for a list of trusted lists, the signing certificates its operator publishes; for a national list, its scheme operator certificates."
|
|
120
|
+
},
|
|
121
|
+
"schemeTerritories": {
|
|
122
|
+
"description": "For a list of trusted lists: the SchemeTerritory values of the national lists to follow, such as DE. All when absent.",
|
|
123
|
+
"minItems": 1,
|
|
124
|
+
"type": "array",
|
|
125
|
+
"items": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"minLength": 1
|
|
128
|
+
}
|
|
129
|
+
}
|
|
73
130
|
},
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
131
|
+
"required": [
|
|
132
|
+
"format",
|
|
133
|
+
"url",
|
|
134
|
+
"signingCertificates"
|
|
135
|
+
],
|
|
136
|
+
"additionalProperties": false
|
|
79
137
|
}
|
|
80
|
-
|
|
81
|
-
"
|
|
138
|
+
],
|
|
139
|
+
"description": "Reference to a trust list used for authority verification."
|
|
82
140
|
},
|
|
83
141
|
"description": "Trust list references for ETSI TL verification."
|
|
84
142
|
}
|
|
@@ -230,39 +288,97 @@
|
|
|
230
288
|
"values": {
|
|
231
289
|
"type": "array",
|
|
232
290
|
"items": {
|
|
233
|
-
"
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
"
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
"url": {
|
|
240
|
-
"description": "Optional trust list URL reference.",
|
|
241
|
-
"anyOf": [
|
|
242
|
-
{
|
|
291
|
+
"anyOf": [
|
|
292
|
+
{
|
|
293
|
+
"type": "object",
|
|
294
|
+
"properties": {
|
|
295
|
+
"format": {
|
|
296
|
+
"description": "Format of the list: a List of Trusted Entities (ETSI TS 119 602) as JWT. Default.",
|
|
243
297
|
"type": "string",
|
|
244
|
-
"
|
|
298
|
+
"const": "lote"
|
|
245
299
|
},
|
|
246
|
-
{
|
|
247
|
-
"
|
|
248
|
-
"
|
|
300
|
+
"trustListId": {
|
|
301
|
+
"description": "Optional trust list id reference.",
|
|
302
|
+
"type": "string"
|
|
303
|
+
},
|
|
304
|
+
"url": {
|
|
305
|
+
"description": "Optional trust list URL reference.",
|
|
306
|
+
"anyOf": [
|
|
307
|
+
{
|
|
308
|
+
"type": "string",
|
|
309
|
+
"format": "uri"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"type": "string",
|
|
313
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
"verifierKey": {
|
|
318
|
+
"description": "Optional verifier key material.",
|
|
319
|
+
"type": "object",
|
|
320
|
+
"propertyNames": {
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
323
|
+
"additionalProperties": {}
|
|
324
|
+
},
|
|
325
|
+
"verifierX509Der": {
|
|
326
|
+
"description": "Optional verifier certificate in DER/base64 form.",
|
|
327
|
+
"type": "string"
|
|
249
328
|
}
|
|
250
|
-
|
|
329
|
+
},
|
|
330
|
+
"additionalProperties": false
|
|
251
331
|
},
|
|
252
|
-
|
|
253
|
-
"description": "Optional verifier key material.",
|
|
332
|
+
{
|
|
254
333
|
"type": "object",
|
|
255
|
-
"
|
|
256
|
-
"
|
|
334
|
+
"properties": {
|
|
335
|
+
"format": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"const": "trusted-list",
|
|
338
|
+
"description": "Format of the list: an ETSI TS 119 612 Trusted List or list of trusted lists as XML."
|
|
339
|
+
},
|
|
340
|
+
"url": {
|
|
341
|
+
"anyOf": [
|
|
342
|
+
{
|
|
343
|
+
"type": "string",
|
|
344
|
+
"format": "uri"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"type": "string",
|
|
348
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
349
|
+
}
|
|
350
|
+
],
|
|
351
|
+
"description": "URL of the Trusted List, or of a list of trusted lists (LOTL) whose national lists are followed."
|
|
352
|
+
},
|
|
353
|
+
"signingCertificates": {
|
|
354
|
+
"minItems": 1,
|
|
355
|
+
"type": "array",
|
|
356
|
+
"items": {
|
|
357
|
+
"type": "string",
|
|
358
|
+
"minLength": 1,
|
|
359
|
+
"pattern": "^[A-Za-z0-9+/\\s]+={0,2}$"
|
|
360
|
+
},
|
|
361
|
+
"description": "Base64 DER certificates one of which must have signed the list: for a list of trusted lists, the signing certificates its operator publishes; for a national list, its scheme operator certificates."
|
|
362
|
+
},
|
|
363
|
+
"schemeTerritories": {
|
|
364
|
+
"description": "For a list of trusted lists: the SchemeTerritory values of the national lists to follow, such as DE. All when absent.",
|
|
365
|
+
"minItems": 1,
|
|
366
|
+
"type": "array",
|
|
367
|
+
"items": {
|
|
368
|
+
"type": "string",
|
|
369
|
+
"minLength": 1
|
|
370
|
+
}
|
|
371
|
+
}
|
|
257
372
|
},
|
|
258
|
-
"
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
373
|
+
"required": [
|
|
374
|
+
"format",
|
|
375
|
+
"url",
|
|
376
|
+
"signingCertificates"
|
|
377
|
+
],
|
|
378
|
+
"additionalProperties": false
|
|
263
379
|
}
|
|
264
|
-
|
|
265
|
-
"
|
|
380
|
+
],
|
|
381
|
+
"description": "Reference to a trust list used for authority verification."
|
|
266
382
|
},
|
|
267
383
|
"description": "Trust list references for ETSI TL verification."
|
|
268
384
|
}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"walletAttestationStatusCheckMode": {
|
|
56
|
-
"description": "
|
|
56
|
+
"description": "Status check mode for key attestations at the credential endpoint, and default for wallet attestations at managed authorization servers: strict, best_effort (default) or disabled.",
|
|
57
57
|
"anyOf": [
|
|
58
58
|
{
|
|
59
59
|
"type": "string",
|
|
@@ -68,11 +68,6 @@
|
|
|
68
68
|
}
|
|
69
69
|
]
|
|
70
70
|
},
|
|
71
|
-
"signingKeyId": {
|
|
72
|
-
"description": "Default signing key chain id for credential issuance.",
|
|
73
|
-
"type": "string",
|
|
74
|
-
"minLength": 1
|
|
75
|
-
},
|
|
76
71
|
"authorizationServers": {
|
|
77
72
|
"minItems": 1,
|
|
78
73
|
"type": "array",
|
|
@@ -165,7 +160,7 @@
|
|
|
165
160
|
"minimum": 60
|
|
166
161
|
},
|
|
167
162
|
"signingKeyId": {
|
|
168
|
-
"description": "
|
|
163
|
+
"description": "ID of a key chain with usage type \"authorizationServer\" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.",
|
|
169
164
|
"type": "string",
|
|
170
165
|
"minLength": 1
|
|
171
166
|
},
|
|
@@ -307,7 +302,7 @@
|
|
|
307
302
|
"minimum": 60
|
|
308
303
|
},
|
|
309
304
|
"signingKeyId": {
|
|
310
|
-
"description": "
|
|
305
|
+
"description": "ID of a key chain with usage type \"authorizationServer\" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.",
|
|
311
306
|
"type": "string",
|
|
312
307
|
"minLength": 1
|
|
313
308
|
},
|
|
@@ -415,7 +410,7 @@
|
|
|
415
410
|
"minimum": 60
|
|
416
411
|
},
|
|
417
412
|
"signingKeyId": {
|
|
418
|
-
"description": "
|
|
413
|
+
"description": "ID of a key chain with usage type \"authorizationServer\" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.",
|
|
419
414
|
"type": "string",
|
|
420
415
|
"minLength": 1
|
|
421
416
|
},
|
|
@@ -661,24 +656,16 @@
|
|
|
661
656
|
"description": "Enable issuer registration certificate support.",
|
|
662
657
|
"type": "boolean"
|
|
663
658
|
},
|
|
664
|
-
"mode": {
|
|
665
|
-
"description": "How registration certificate data is provided.",
|
|
666
|
-
"type": "string",
|
|
667
|
-
"enum": [
|
|
668
|
-
"import",
|
|
669
|
-
"generate"
|
|
670
|
-
]
|
|
671
|
-
},
|
|
672
659
|
"jwt": {
|
|
673
|
-
"description": "
|
|
660
|
+
"description": "Registration certificate JWT issued by a registrar, advertised in the issuer metadata while it is valid.",
|
|
674
661
|
"type": "string"
|
|
675
662
|
},
|
|
676
663
|
"privacyPolicy": {
|
|
677
|
-
"description": "
|
|
664
|
+
"description": "Privacy policy URI of the issuer. Stored only; EUDIPLO and the EUDI Hub request do not use it.",
|
|
678
665
|
"type": "string"
|
|
679
666
|
},
|
|
680
667
|
"supportUri": {
|
|
681
|
-
"description": "
|
|
668
|
+
"description": "Support URI of the issuer, kept for requesting a new certificate.",
|
|
682
669
|
"type": "string"
|
|
683
670
|
}
|
|
684
671
|
},
|