@eudiplo/cli 9.1.0-main.a601cfe → 9.1.0-main.a8073f4
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/portability/action.d.ts.map +1 -1
- package/dist/commands/config/portability/action.js +126 -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 +2 -1
- 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 +5 -10
- 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 +11 -0
- package/dist/commands/config/validate/types.d.ts +4 -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 +49 -18
- package/dist/commands/config/validate/validator.js.map +1 -1
- package/dist/index.js +22076 -8964
- 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/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 +251 -15
- package/templates/schemas/CredentialConfigFile.schema.json +1823 -1
- package/templates/schemas/DCQL.schema.json +168 -52
- package/templates/schemas/ImportTenantDto.schema.json +0 -12
- package/templates/schemas/IssuanceConfig.schema.json +13 -9
- package/templates/schemas/IssuanceConfigFile.schema.json +814 -1
- package/templates/schemas/KeyChainConfigFile.schema.json +371 -1
- package/templates/schemas/KeyChainCreateDto.schema.json +1 -0
- package/templates/schemas/KeyChainDefaultsConfigFile.schema.json +123 -0
- package/templates/schemas/KeyChainImportDto.schema.json +1 -0
- package/templates/schemas/PresentationConfigCreateDto.schema.json +184 -52
- package/templates/schemas/PresentationConfigFile.schema.json +746 -1
- package/templates/schemas/TenantConfigFile.schema.json +139 -25
- package/templates/schemas/TrustListConfigFile.schema.json +263 -1
- package/templates/schemas/TrustListCreateDto.schema.json +556 -22
- package/templates/schemas/UpdateTenantDto.schema.json +0 -20
- package/templates/schemas.manifest.json +1 -0
|
@@ -82,39 +82,97 @@
|
|
|
82
82
|
"values": {
|
|
83
83
|
"type": "array",
|
|
84
84
|
"items": {
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"url": {
|
|
92
|
-
"description": "Optional trust list URL reference.",
|
|
93
|
-
"anyOf": [
|
|
94
|
-
{
|
|
85
|
+
"anyOf": [
|
|
86
|
+
{
|
|
87
|
+
"type": "object",
|
|
88
|
+
"properties": {
|
|
89
|
+
"format": {
|
|
90
|
+
"description": "Format of the list: a List of Trusted Entities (ETSI TS 119 602) as JWT. Default.",
|
|
95
91
|
"type": "string",
|
|
96
|
-
"
|
|
92
|
+
"const": "lote"
|
|
97
93
|
},
|
|
98
|
-
{
|
|
99
|
-
"
|
|
100
|
-
"
|
|
94
|
+
"trustListId": {
|
|
95
|
+
"description": "Optional trust list id reference.",
|
|
96
|
+
"type": "string"
|
|
97
|
+
},
|
|
98
|
+
"url": {
|
|
99
|
+
"description": "Optional trust list URL reference.",
|
|
100
|
+
"anyOf": [
|
|
101
|
+
{
|
|
102
|
+
"type": "string",
|
|
103
|
+
"format": "uri"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "string",
|
|
107
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"verifierKey": {
|
|
112
|
+
"description": "Optional verifier key material.",
|
|
113
|
+
"type": "object",
|
|
114
|
+
"propertyNames": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
"additionalProperties": {}
|
|
118
|
+
},
|
|
119
|
+
"verifierX509Der": {
|
|
120
|
+
"description": "Optional verifier certificate in DER/base64 form.",
|
|
121
|
+
"type": "string"
|
|
101
122
|
}
|
|
102
|
-
|
|
123
|
+
},
|
|
124
|
+
"additionalProperties": false
|
|
103
125
|
},
|
|
104
|
-
|
|
105
|
-
"description": "Optional verifier key material.",
|
|
126
|
+
{
|
|
106
127
|
"type": "object",
|
|
107
|
-
"
|
|
108
|
-
"
|
|
128
|
+
"properties": {
|
|
129
|
+
"format": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"const": "trusted-list",
|
|
132
|
+
"description": "Format of the list: an ETSI TS 119 612 Trusted List or list of trusted lists as XML."
|
|
133
|
+
},
|
|
134
|
+
"url": {
|
|
135
|
+
"anyOf": [
|
|
136
|
+
{
|
|
137
|
+
"type": "string",
|
|
138
|
+
"format": "uri"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"type": "string",
|
|
142
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"description": "URL of the Trusted List, or of a list of trusted lists (LOTL) whose national lists are followed."
|
|
146
|
+
},
|
|
147
|
+
"signingCertificates": {
|
|
148
|
+
"minItems": 1,
|
|
149
|
+
"type": "array",
|
|
150
|
+
"items": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"minLength": 1,
|
|
153
|
+
"pattern": "^[A-Za-z0-9+/\\s]+={0,2}$"
|
|
154
|
+
},
|
|
155
|
+
"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."
|
|
156
|
+
},
|
|
157
|
+
"schemeTerritories": {
|
|
158
|
+
"description": "For a list of trusted lists: the SchemeTerritory values of the national lists to follow, such as DE. All when absent.",
|
|
159
|
+
"minItems": 1,
|
|
160
|
+
"type": "array",
|
|
161
|
+
"items": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"minLength": 1
|
|
164
|
+
}
|
|
165
|
+
}
|
|
109
166
|
},
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
167
|
+
"required": [
|
|
168
|
+
"format",
|
|
169
|
+
"url",
|
|
170
|
+
"signingCertificates"
|
|
171
|
+
],
|
|
172
|
+
"additionalProperties": false
|
|
115
173
|
}
|
|
116
|
-
|
|
117
|
-
"
|
|
174
|
+
],
|
|
175
|
+
"description": "Reference to a trust list used for authority verification."
|
|
118
176
|
},
|
|
119
177
|
"description": "Trust list references for ETSI TL verification."
|
|
120
178
|
}
|
|
@@ -266,39 +324,97 @@
|
|
|
266
324
|
"values": {
|
|
267
325
|
"type": "array",
|
|
268
326
|
"items": {
|
|
269
|
-
"
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
"
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
"url": {
|
|
276
|
-
"description": "Optional trust list URL reference.",
|
|
277
|
-
"anyOf": [
|
|
278
|
-
{
|
|
327
|
+
"anyOf": [
|
|
328
|
+
{
|
|
329
|
+
"type": "object",
|
|
330
|
+
"properties": {
|
|
331
|
+
"format": {
|
|
332
|
+
"description": "Format of the list: a List of Trusted Entities (ETSI TS 119 602) as JWT. Default.",
|
|
279
333
|
"type": "string",
|
|
280
|
-
"
|
|
334
|
+
"const": "lote"
|
|
281
335
|
},
|
|
282
|
-
{
|
|
283
|
-
"
|
|
284
|
-
"
|
|
336
|
+
"trustListId": {
|
|
337
|
+
"description": "Optional trust list id reference.",
|
|
338
|
+
"type": "string"
|
|
339
|
+
},
|
|
340
|
+
"url": {
|
|
341
|
+
"description": "Optional trust list URL reference.",
|
|
342
|
+
"anyOf": [
|
|
343
|
+
{
|
|
344
|
+
"type": "string",
|
|
345
|
+
"format": "uri"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"type": "string",
|
|
349
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
350
|
+
}
|
|
351
|
+
]
|
|
352
|
+
},
|
|
353
|
+
"verifierKey": {
|
|
354
|
+
"description": "Optional verifier key material.",
|
|
355
|
+
"type": "object",
|
|
356
|
+
"propertyNames": {
|
|
357
|
+
"type": "string"
|
|
358
|
+
},
|
|
359
|
+
"additionalProperties": {}
|
|
360
|
+
},
|
|
361
|
+
"verifierX509Der": {
|
|
362
|
+
"description": "Optional verifier certificate in DER/base64 form.",
|
|
363
|
+
"type": "string"
|
|
285
364
|
}
|
|
286
|
-
|
|
365
|
+
},
|
|
366
|
+
"additionalProperties": false
|
|
287
367
|
},
|
|
288
|
-
|
|
289
|
-
"description": "Optional verifier key material.",
|
|
368
|
+
{
|
|
290
369
|
"type": "object",
|
|
291
|
-
"
|
|
292
|
-
"
|
|
370
|
+
"properties": {
|
|
371
|
+
"format": {
|
|
372
|
+
"type": "string",
|
|
373
|
+
"const": "trusted-list",
|
|
374
|
+
"description": "Format of the list: an ETSI TS 119 612 Trusted List or list of trusted lists as XML."
|
|
375
|
+
},
|
|
376
|
+
"url": {
|
|
377
|
+
"anyOf": [
|
|
378
|
+
{
|
|
379
|
+
"type": "string",
|
|
380
|
+
"format": "uri"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"type": "string",
|
|
384
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
385
|
+
}
|
|
386
|
+
],
|
|
387
|
+
"description": "URL of the Trusted List, or of a list of trusted lists (LOTL) whose national lists are followed."
|
|
388
|
+
},
|
|
389
|
+
"signingCertificates": {
|
|
390
|
+
"minItems": 1,
|
|
391
|
+
"type": "array",
|
|
392
|
+
"items": {
|
|
393
|
+
"type": "string",
|
|
394
|
+
"minLength": 1,
|
|
395
|
+
"pattern": "^[A-Za-z0-9+/\\s]+={0,2}$"
|
|
396
|
+
},
|
|
397
|
+
"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."
|
|
398
|
+
},
|
|
399
|
+
"schemeTerritories": {
|
|
400
|
+
"description": "For a list of trusted lists: the SchemeTerritory values of the national lists to follow, such as DE. All when absent.",
|
|
401
|
+
"minItems": 1,
|
|
402
|
+
"type": "array",
|
|
403
|
+
"items": {
|
|
404
|
+
"type": "string",
|
|
405
|
+
"minLength": 1
|
|
406
|
+
}
|
|
407
|
+
}
|
|
293
408
|
},
|
|
294
|
-
"
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
409
|
+
"required": [
|
|
410
|
+
"format",
|
|
411
|
+
"url",
|
|
412
|
+
"signingCertificates"
|
|
413
|
+
],
|
|
414
|
+
"additionalProperties": false
|
|
299
415
|
}
|
|
300
|
-
|
|
301
|
-
"
|
|
416
|
+
],
|
|
417
|
+
"description": "Reference to a trust list used for authority verification."
|
|
302
418
|
},
|
|
303
419
|
"description": "Trust list references for ETSI TL verification."
|
|
304
420
|
}
|
|
@@ -672,6 +788,22 @@
|
|
|
672
788
|
"null"
|
|
673
789
|
]
|
|
674
790
|
},
|
|
791
|
+
"allowedOrigins": {
|
|
792
|
+
"description": "Origins (http(s)://host[:port]) of the web pages allowed to request this presentation over the Digital Credentials API. When set, dc-api and iso-18013-7 offers are refused for any other expected_origin, and an offer without expected_origin uses the only listed origin. Unset: any expected_origin is accepted. Not used for uri requests.",
|
|
793
|
+
"anyOf": [
|
|
794
|
+
{
|
|
795
|
+
"maxItems": 100,
|
|
796
|
+
"type": "array",
|
|
797
|
+
"items": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"pattern": "^(?:https:\\/\\/(?:[a-z0-9.-]+|\\[[0-9a-f:.]+\\])(?::(?:[1-9]|[1-9][0-9]|[1-35-9][0-9]{2}|4[0-35-9][0-9]|44[0-24-9]|[1-9][0-9]{3,4}))?|http:\\/\\/(?:[a-z0-9.-]+|\\[[0-9a-f:.]+\\])(?::(?:[1-9]|[1-79][0-9]|8[1-9]|[1-9][0-9]{2,4}))?)$"
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"type": "null"
|
|
804
|
+
}
|
|
805
|
+
]
|
|
806
|
+
},
|
|
675
807
|
"readerAuth": {
|
|
676
808
|
"description": "Whether reader authentication is required for mDoc requests.",
|
|
677
809
|
"type": [
|