@openvtc/trust-tasks 0.13.1 → 0.14.1
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/auth/step-up/approve-request/0.1/payload.d.ts +3 -3
- package/dist/auth/step-up/approve-request/0.1/payload.js +1 -1
- package/dist/auth/step-up/approve-request/0.1/payload.js.map +1 -1
- package/dist/auth/step-up/approve-request/0.2/payload.d.ts +3 -3
- package/dist/auth/step-up/approve-request/0.2/payload.js +1 -1
- package/dist/auth/step-up/approve-request/0.2/payload.js.map +1 -1
- package/dist/did-management/did/info/0.1/payload.d.ts +3 -3
- package/dist/did-management/did/info/0.1/payload.js +1 -1
- package/dist/did-management/did/info/0.1/payload.js.map +1 -1
- package/dist/governance/capability/enable/0.1/payload.d.ts +3 -3
- package/dist/governance/capability/enable/0.1/payload.js +1 -1
- package/dist/governance/capability/enable/0.1/payload.js.map +1 -1
- package/dist/provision/integration/0.1/payload.d.ts +13 -13
- package/dist/provision/integration/0.1/payload.js +4 -4
- package/dist/provision/integration/0.1/payload.js.map +1 -1
- package/dist/provision/integration/0.2/payload.d.ts +13 -13
- package/dist/provision/integration/0.2/payload.js +4 -4
- package/dist/provision/integration/0.2/payload.js.map +1 -1
- package/dist/provision/integration/0.3/payload.d.ts +13 -13
- package/dist/provision/integration/0.3/payload.js +4 -4
- package/dist/provision/integration/0.3/payload.js.map +1 -1
- package/dist/trust-task-discovery/0.1/payload.d.ts +41 -4
- package/dist/trust-task-discovery/0.1/payload.d.ts.map +1 -1
- package/dist/trust-task-discovery/0.1/payload.js +2 -1
- package/dist/trust-task-discovery/0.1/payload.js.map +1 -1
- package/dist/trust-task-error/0.1/payload.d.ts +3 -3
- package/dist/trust-task-error/0.1/payload.js +1 -1
- package/dist/trust-task-error/0.1/payload.js.map +1 -1
- package/dist/trust-task-error/0.2/payload.d.ts +3 -3
- package/dist/trust-task-error/0.2/payload.js +1 -1
- package/dist/trust-task-error/0.2/payload.js.map +1 -1
- package/dist/trust-task-error/0.3/payload.d.ts +3 -3
- package/dist/trust-task-error/0.3/payload.js +1 -1
- package/dist/trust-task-error/0.3/payload.js.map +1 -1
- package/dist/trust-task-error/0.4/payload.d.ts +3 -3
- package/dist/trust-task-error/0.4/payload.js +1 -1
- package/dist/trust-task-error/0.4/payload.js.map +1 -1
- package/dist/trust-task-error/0.5/payload.d.ts +3 -3
- package/dist/trust-task-error/0.5/payload.js +1 -1
- package/dist/trust-task-error/0.5/payload.js.map +1 -1
- package/dist/vault/proxy-login/0.1/payload.d.ts +13 -13
- package/dist/vault/proxy-login/0.1/payload.js +5 -5
- package/dist/vault/proxy-login/0.1/payload.js.map +1 -1
- package/dist/vault/proxy-login/0.2/payload.d.ts +10 -10
- package/dist/vault/proxy-login/0.2/payload.js +4 -4
- package/dist/vault/proxy-login/0.2/payload.js.map +1 -1
- package/dist/vault/release/0.1/payload.d.ts +13 -13
- package/dist/vault/release/0.1/payload.js +5 -5
- package/dist/vault/release/0.1/payload.js.map +1 -1
- package/dist/vault/release/0.2/payload.d.ts +13 -13
- package/dist/vault/release/0.2/payload.js +5 -5
- package/dist/vault/release/0.2/payload.js.map +1 -1
- package/dist/vault/sign-trust-task/0.1/payload.d.ts +19 -19
- package/dist/vault/sign-trust-task/0.1/payload.js +7 -7
- package/dist/vault/sign-trust-task/0.1/payload.js.map +1 -1
- package/dist/vault/sign-trust-task/0.2/payload.d.ts +16 -16
- package/dist/vault/sign-trust-task/0.2/payload.js +6 -6
- package/dist/vault/sign-trust-task/0.2/payload.js.map +1 -1
- package/dist/vault/upsert/0.1/payload.d.ts +11 -11
- package/dist/vault/upsert/0.1/payload.js +4 -4
- package/dist/vault/upsert/0.1/payload.js.map +1 -1
- package/dist/vault/upsert/0.2/payload.d.ts +11 -11
- package/dist/vault/upsert/0.2/payload.js +4 -4
- package/dist/vault/upsert/0.2/payload.js.map +1 -1
- package/dist/vault/upsert/0.3/payload.d.ts +11 -11
- package/dist/vault/upsert/0.3/payload.js +4 -4
- package/dist/vault/upsert/0.3/payload.js.map +1 -1
- package/dist/vta/memory/list/0.1/payload.d.ts +1 -1
- package/dist/vta/memory/list/0.1/payload.js +1 -1
- package/dist/vta/memory/list/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/auth/step-up/approve-request/0.1/payload.ts +2 -2
- package/src/auth/step-up/approve-request/0.2/payload.ts +2 -2
- package/src/did-management/did/info/0.1/payload.ts +2 -2
- package/src/governance/capability/enable/0.1/payload.ts +2 -2
- package/src/provision/integration/0.1/payload.ts +9 -9
- package/src/provision/integration/0.2/payload.ts +9 -9
- package/src/provision/integration/0.3/payload.ts +9 -9
- package/src/trust-task-discovery/0.1/payload.ts +56 -3
- package/src/trust-task-error/0.1/payload.ts +2 -2
- package/src/trust-task-error/0.2/payload.ts +2 -2
- package/src/trust-task-error/0.3/payload.ts +2 -2
- package/src/trust-task-error/0.4/payload.ts +2 -2
- package/src/trust-task-error/0.5/payload.ts +2 -2
- package/src/vault/proxy-login/0.1/payload.ts +8 -8
- package/src/vault/proxy-login/0.2/payload.ts +6 -6
- package/src/vault/release/0.1/payload.ts +8 -8
- package/src/vault/release/0.2/payload.ts +8 -8
- package/src/vault/sign-trust-task/0.1/payload.ts +12 -12
- package/src/vault/sign-trust-task/0.2/payload.ts +10 -10
- package/src/vault/upsert/0.1/payload.ts +7 -7
- package/src/vault/upsert/0.2/payload.ts +7 -7
- package/src/vault/upsert/0.3/payload.ts +7 -7
- package/src/vta/memory/list/0.1/payload.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vta/memory/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA6BH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,iDAA0D,CAAC;AAKnF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,0DAAmE,CAAC;AAKrG;;;;;;;;GAQG;AACH,MAAM,CAA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CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@ export interface AuthStepUpApproveRequest {
|
|
|
28
28
|
*/
|
|
29
29
|
targetAcr?: string;
|
|
30
30
|
/**
|
|
31
|
-
* Which approve-response evidence kinds the relying party will accept (see auth/step-up/approve-response `evidence`). When omitted, the approver MAY use any kind it supports. An approver that cannot satisfy any listed kind SHOULD refuse with `
|
|
31
|
+
* Which approve-response evidence kinds the relying party will accept (see auth/step-up/approve-response `evidence`). When omitted, the approver MAY use any kind it supports. An approver that cannot satisfy any listed kind SHOULD refuse with `methodUnsupported`.
|
|
32
32
|
*
|
|
33
33
|
* @minItems 1
|
|
34
34
|
*/
|
|
@@ -160,7 +160,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
160
160
|
"webauthn"
|
|
161
161
|
]
|
|
162
162
|
},
|
|
163
|
-
"description": "Which approve-response evidence kinds the relying party will accept (see auth/step-up/approve-response `evidence`). When omitted, the approver MAY use any kind it supports. An approver that cannot satisfy any listed kind SHOULD refuse with `
|
|
163
|
+
"description": "Which approve-response evidence kinds the relying party will accept (see auth/step-up/approve-response `evidence`). When omitted, the approver MAY use any kind it supports. An approver that cannot satisfy any listed kind SHOULD refuse with `methodUnsupported`."
|
|
164
164
|
},
|
|
165
165
|
"webauthn": {
|
|
166
166
|
"$ref": "#/$defs/CredentialRequestOptions",
|
|
@@ -28,7 +28,7 @@ export interface AuthStepUpApproveRequest {
|
|
|
28
28
|
*/
|
|
29
29
|
targetAcr?: string;
|
|
30
30
|
/**
|
|
31
|
-
* Which approve-response evidence kinds the relying party will accept (see auth/step-up/approve-response `evidence`). When omitted, the approver MAY use any kind it supports. An approver that cannot satisfy any listed kind SHOULD refuse with `
|
|
31
|
+
* Which approve-response evidence kinds the relying party will accept (see auth/step-up/approve-response `evidence`). When omitted, the approver MAY use any kind it supports. An approver that cannot satisfy any listed kind SHOULD refuse with `methodUnsupported`.
|
|
32
32
|
*
|
|
33
33
|
* @minItems 1
|
|
34
34
|
*/
|
|
@@ -160,7 +160,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
160
160
|
"webauthn"
|
|
161
161
|
]
|
|
162
162
|
},
|
|
163
|
-
"description": "Which approve-response evidence kinds the relying party will accept (see auth/step-up/approve-response `evidence`). When omitted, the approver MAY use any kind it supports. An approver that cannot satisfy any listed kind SHOULD refuse with `
|
|
163
|
+
"description": "Which approve-response evidence kinds the relying party will accept (see auth/step-up/approve-response `evidence`). When omitted, the approver MAY use any kind it supports. An approver that cannot satisfy any listed kind SHOULD refuse with `methodUnsupported`."
|
|
164
164
|
},
|
|
165
165
|
"webauthn": {
|
|
166
166
|
"$ref": "#/$defs/CredentialRequestOptions",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
export interface DIDManagementInfoPayload {
|
|
7
7
|
mnemonic: string;
|
|
8
8
|
/**
|
|
9
|
-
* Optional explicit hosting domain. See [category conventions §1](../../../_shared/0.1/CONVENTIONS.md#1-domain-resolution). Unknown domains return `did-management:
|
|
9
|
+
* Optional explicit hosting domain. See [category conventions §1](../../../_shared/0.1/CONVENTIONS.md#1-domain-resolution). Unknown domains return `did-management:unknownDomain`.
|
|
10
10
|
*/
|
|
11
11
|
domain?: string;
|
|
12
12
|
ext?: Ext;
|
|
@@ -116,7 +116,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
116
116
|
},
|
|
117
117
|
"domain": {
|
|
118
118
|
"type": "string",
|
|
119
|
-
"description": "Optional explicit hosting domain. See [category conventions §1](../../../_shared/0.1/CONVENTIONS.md#1-domain-resolution). Unknown domains return `did-management:
|
|
119
|
+
"description": "Optional explicit hosting domain. See [category conventions §1](../../../_shared/0.1/CONVENTIONS.md#1-domain-resolution). Unknown domains return `did-management:unknownDomain`."
|
|
120
120
|
},
|
|
121
121
|
"ext": {
|
|
122
122
|
"$ref": "#/$defs/Ext"
|
|
@@ -16,7 +16,7 @@ export interface GovernanceCapabilityEnablePayload {
|
|
|
16
16
|
*/
|
|
17
17
|
version: string;
|
|
18
18
|
/**
|
|
19
|
-
* Per-community configuration. Opaque to the framework; the recipient MUST validate it against the schema named by the capability manifest's `configSchema` and reject `
|
|
19
|
+
* Per-community configuration. Opaque to the framework; the recipient MUST validate it against the schema named by the capability manifest's `configSchema` and reject `configInvalid` on mismatch.
|
|
20
20
|
*/
|
|
21
21
|
config?: {};
|
|
22
22
|
/**
|
|
@@ -176,7 +176,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
176
176
|
},
|
|
177
177
|
"config": {
|
|
178
178
|
"type": "object",
|
|
179
|
-
"description": "Per-community configuration. Opaque to the framework; the recipient MUST validate it against the schema named by the capability manifest's `configSchema` and reject `
|
|
179
|
+
"description": "Per-community configuration. Opaque to the framework; the recipient MUST validate it against the schema named by the capability manifest's `configSchema` and reject `configInvalid` on mismatch."
|
|
180
180
|
},
|
|
181
181
|
"delegate": {
|
|
182
182
|
"type": "string",
|
|
@@ -14,11 +14,11 @@ export type BootstrapAsk = TemplateBootstrapAsk | AdminRotationAsk;
|
|
|
14
14
|
export interface ProvisionIntegrationPayload {
|
|
15
15
|
request: BootstrapRequest;
|
|
16
16
|
/**
|
|
17
|
-
* The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:
|
|
17
|
+
* The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:contextRequired`. Wallet-class consumers (browser plugins, mobile companions) that don't know the maintainer's context layout SHOULD omit this field; integration-class consumers (mediator, did-hosting) targeting a specific operational context SHOULD send it explicitly.
|
|
18
18
|
*/
|
|
19
19
|
context?: string;
|
|
20
20
|
/**
|
|
21
|
-
* Producer-assertion mode the maintainer should apply to the returned sealed bundle. `did-signed` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinned-only` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:
|
|
21
|
+
* Producer-assertion mode the maintainer should apply to the returned sealed bundle. `did-signed` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinned-only` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:assertionUnsupported` to unsupported requests.
|
|
22
22
|
*/
|
|
23
23
|
assertion?: "did-signed" | "pinned-only";
|
|
24
24
|
/**
|
|
@@ -95,7 +95,7 @@ export interface DidTemplateRef {
|
|
|
95
95
|
*/
|
|
96
96
|
name: string;
|
|
97
97
|
/**
|
|
98
|
-
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
98
|
+
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`.
|
|
99
99
|
*/
|
|
100
100
|
vars?: {
|
|
101
101
|
[k: string]: unknown | undefined;
|
|
@@ -110,7 +110,7 @@ export interface DidTemplateRef1 {
|
|
|
110
110
|
*/
|
|
111
111
|
name: string;
|
|
112
112
|
/**
|
|
113
|
-
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
113
|
+
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`.
|
|
114
114
|
*/
|
|
115
115
|
vars?: {
|
|
116
116
|
[k: string]: unknown | undefined;
|
|
@@ -140,7 +140,7 @@ export interface DidTemplateRef2 {
|
|
|
140
140
|
*/
|
|
141
141
|
name: string;
|
|
142
142
|
/**
|
|
143
|
-
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
143
|
+
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`.
|
|
144
144
|
*/
|
|
145
145
|
vars?: {
|
|
146
146
|
[k: string]: unknown | undefined;
|
|
@@ -287,7 +287,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
287
287
|
"context": {
|
|
288
288
|
"type": "string",
|
|
289
289
|
"minLength": 1,
|
|
290
|
-
"description": "The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:
|
|
290
|
+
"description": "The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:contextRequired`. Wallet-class consumers (browser plugins, mobile companions) that don't know the maintainer's context layout SHOULD omit this field; integration-class consumers (mediator, did-hosting) targeting a specific operational context SHOULD send it explicitly."
|
|
291
291
|
},
|
|
292
292
|
"assertion": {
|
|
293
293
|
"type": "string",
|
|
@@ -296,7 +296,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
296
296
|
"pinned-only"
|
|
297
297
|
],
|
|
298
298
|
"default": "did-signed",
|
|
299
|
-
"description": "Producer-assertion mode the maintainer should apply to the returned sealed bundle. `did-signed` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinned-only` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:
|
|
299
|
+
"description": "Producer-assertion mode the maintainer should apply to the returned sealed bundle. `did-signed` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinned-only` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:assertionUnsupported` to unsupported requests."
|
|
300
300
|
},
|
|
301
301
|
"vcValiditySeconds": {
|
|
302
302
|
"type": "integer",
|
|
@@ -486,7 +486,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
486
486
|
"type": "object",
|
|
487
487
|
"additionalProperties": true,
|
|
488
488
|
"default": {},
|
|
489
|
-
"description": "Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
489
|
+
"description": "Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`."
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
},
|
|
@@ -826,7 +826,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
826
826
|
"type": "object",
|
|
827
827
|
"additionalProperties": true,
|
|
828
828
|
"default": {},
|
|
829
|
-
"description": "Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
829
|
+
"description": "Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`."
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
},
|
|
@@ -14,11 +14,11 @@ export type BootstrapAsk = TemplateBootstrapAsk | AdminRotationAsk;
|
|
|
14
14
|
export interface ProvisionIntegrationPayload {
|
|
15
15
|
request: BootstrapRequest;
|
|
16
16
|
/**
|
|
17
|
-
* The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:
|
|
17
|
+
* The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:contextRequired`. Wallet-class consumers (browser plugins, mobile companions) that don't know the maintainer's context layout SHOULD omit this field; integration-class consumers (mediator, did-hosting) targeting a specific operational context SHOULD send it explicitly.
|
|
18
18
|
*/
|
|
19
19
|
context?: string;
|
|
20
20
|
/**
|
|
21
|
-
* Producer-assertion mode the maintainer should apply to the returned sealed bundle. `didSigned` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinnedOnly` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:
|
|
21
|
+
* Producer-assertion mode the maintainer should apply to the returned sealed bundle. `didSigned` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinnedOnly` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:assertionUnsupported` to unsupported requests.
|
|
22
22
|
*/
|
|
23
23
|
assertion?: "didSigned" | "pinnedOnly";
|
|
24
24
|
/**
|
|
@@ -95,7 +95,7 @@ export interface DidTemplateRef {
|
|
|
95
95
|
*/
|
|
96
96
|
name: string;
|
|
97
97
|
/**
|
|
98
|
-
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
98
|
+
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`.
|
|
99
99
|
*/
|
|
100
100
|
vars?: {
|
|
101
101
|
[k: string]: unknown | undefined;
|
|
@@ -110,7 +110,7 @@ export interface DidTemplateRef1 {
|
|
|
110
110
|
*/
|
|
111
111
|
name: string;
|
|
112
112
|
/**
|
|
113
|
-
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
113
|
+
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`.
|
|
114
114
|
*/
|
|
115
115
|
vars?: {
|
|
116
116
|
[k: string]: unknown | undefined;
|
|
@@ -140,7 +140,7 @@ export interface DidTemplateRef2 {
|
|
|
140
140
|
*/
|
|
141
141
|
name: string;
|
|
142
142
|
/**
|
|
143
|
-
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
143
|
+
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`.
|
|
144
144
|
*/
|
|
145
145
|
vars?: {
|
|
146
146
|
[k: string]: unknown | undefined;
|
|
@@ -287,7 +287,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
287
287
|
"context": {
|
|
288
288
|
"type": "string",
|
|
289
289
|
"minLength": 1,
|
|
290
|
-
"description": "The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:
|
|
290
|
+
"description": "The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:contextRequired`. Wallet-class consumers (browser plugins, mobile companions) that don't know the maintainer's context layout SHOULD omit this field; integration-class consumers (mediator, did-hosting) targeting a specific operational context SHOULD send it explicitly."
|
|
291
291
|
},
|
|
292
292
|
"assertion": {
|
|
293
293
|
"type": "string",
|
|
@@ -296,7 +296,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
296
296
|
"pinnedOnly"
|
|
297
297
|
],
|
|
298
298
|
"default": "didSigned",
|
|
299
|
-
"description": "Producer-assertion mode the maintainer should apply to the returned sealed bundle. `didSigned` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinnedOnly` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:
|
|
299
|
+
"description": "Producer-assertion mode the maintainer should apply to the returned sealed bundle. `didSigned` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinnedOnly` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:assertionUnsupported` to unsupported requests."
|
|
300
300
|
},
|
|
301
301
|
"vcValiditySeconds": {
|
|
302
302
|
"type": "integer",
|
|
@@ -486,7 +486,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
486
486
|
"type": "object",
|
|
487
487
|
"additionalProperties": true,
|
|
488
488
|
"default": {},
|
|
489
|
-
"description": "Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
489
|
+
"description": "Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`."
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
},
|
|
@@ -826,7 +826,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
826
826
|
"type": "object",
|
|
827
827
|
"additionalProperties": true,
|
|
828
828
|
"default": {},
|
|
829
|
-
"description": "Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
829
|
+
"description": "Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`."
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
},
|
|
@@ -18,11 +18,11 @@ export type DigestMultibase = string;
|
|
|
18
18
|
export interface ProvisionIntegrationPayload {
|
|
19
19
|
request: BootstrapRequest;
|
|
20
20
|
/**
|
|
21
|
-
* The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:
|
|
21
|
+
* The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:contextRequired`. Wallet-class consumers (browser plugins, mobile companions) that don't know the maintainer's context layout SHOULD omit this field; integration-class consumers (mediator, did-hosting) targeting a specific operational context SHOULD send it explicitly.
|
|
22
22
|
*/
|
|
23
23
|
context?: string;
|
|
24
24
|
/**
|
|
25
|
-
* Producer-assertion mode the maintainer should apply to the returned sealed bundle. `didSigned` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinnedOnly` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:
|
|
25
|
+
* Producer-assertion mode the maintainer should apply to the returned sealed bundle. `didSigned` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinnedOnly` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:assertionUnsupported` to unsupported requests.
|
|
26
26
|
*/
|
|
27
27
|
assertion?: "didSigned" | "pinnedOnly";
|
|
28
28
|
/**
|
|
@@ -99,7 +99,7 @@ export interface DidTemplateRef {
|
|
|
99
99
|
*/
|
|
100
100
|
name: string;
|
|
101
101
|
/**
|
|
102
|
-
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
102
|
+
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`.
|
|
103
103
|
*/
|
|
104
104
|
vars?: {
|
|
105
105
|
[k: string]: unknown | undefined;
|
|
@@ -114,7 +114,7 @@ export interface DidTemplateRef1 {
|
|
|
114
114
|
*/
|
|
115
115
|
name: string;
|
|
116
116
|
/**
|
|
117
|
-
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
117
|
+
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`.
|
|
118
118
|
*/
|
|
119
119
|
vars?: {
|
|
120
120
|
[k: string]: unknown | undefined;
|
|
@@ -144,7 +144,7 @@ export interface DidTemplateRef2 {
|
|
|
144
144
|
*/
|
|
145
145
|
name: string;
|
|
146
146
|
/**
|
|
147
|
-
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
147
|
+
* Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`.
|
|
148
148
|
*/
|
|
149
149
|
vars?: {
|
|
150
150
|
[k: string]: unknown | undefined;
|
|
@@ -288,7 +288,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
288
288
|
"context": {
|
|
289
289
|
"type": "string",
|
|
290
290
|
"minLength": 1,
|
|
291
|
-
"description": "The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:
|
|
291
|
+
"description": "The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:contextRequired`. Wallet-class consumers (browser plugins, mobile companions) that don't know the maintainer's context layout SHOULD omit this field; integration-class consumers (mediator, did-hosting) targeting a specific operational context SHOULD send it explicitly."
|
|
292
292
|
},
|
|
293
293
|
"assertion": {
|
|
294
294
|
"type": "string",
|
|
@@ -297,7 +297,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
297
297
|
"pinnedOnly"
|
|
298
298
|
],
|
|
299
299
|
"default": "didSigned",
|
|
300
|
-
"description": "Producer-assertion mode the maintainer should apply to the returned sealed bundle. `didSigned` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinnedOnly` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:
|
|
300
|
+
"description": "Producer-assertion mode the maintainer should apply to the returned sealed bundle. `didSigned` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinnedOnly` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:assertionUnsupported` to unsupported requests."
|
|
301
301
|
},
|
|
302
302
|
"vcValiditySeconds": {
|
|
303
303
|
"type": "integer",
|
|
@@ -487,7 +487,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
487
487
|
"type": "object",
|
|
488
488
|
"additionalProperties": true,
|
|
489
489
|
"default": {},
|
|
490
|
-
"description": "Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
490
|
+
"description": "Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`."
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
493
|
},
|
|
@@ -836,7 +836,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
836
836
|
"type": "object",
|
|
837
837
|
"additionalProperties": true,
|
|
838
838
|
"default": {},
|
|
839
|
-
"description": "Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:
|
|
839
|
+
"description": "Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:templateVarsInvalid`."
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
842
|
},
|
|
@@ -8,9 +8,61 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export interface TrustTaskDiscoveryPayload {
|
|
10
10
|
/**
|
|
11
|
-
* Patterns are ORed: a slug matches the query if at least one pattern matches it. If the array is omitted or empty, the responder MUST treat the query as ['*'] — return every supported task.
|
|
11
|
+
* Patterns are ORed: a slug matches the query if at least one pattern matches it. If the array is omitted or empty, the responder MUST treat the query as ['*'] — return every supported task. Bounded at 16 entries as parser hardening (SPEC.md §10.2), not as a capability limit: matching an unbounded pattern list against every published slug is work a responder does on an unauthenticated request, and a discoverer wanting more asks for '*' and filters locally.
|
|
12
|
+
*
|
|
13
|
+
* @maxItems 16
|
|
12
14
|
*/
|
|
13
|
-
patterns?:
|
|
15
|
+
patterns?:
|
|
16
|
+
| []
|
|
17
|
+
| [string]
|
|
18
|
+
| [string, string]
|
|
19
|
+
| [string, string, string]
|
|
20
|
+
| [string, string, string, string]
|
|
21
|
+
| [string, string, string, string, string]
|
|
22
|
+
| [string, string, string, string, string, string]
|
|
23
|
+
| [string, string, string, string, string, string, string]
|
|
24
|
+
| [string, string, string, string, string, string, string, string]
|
|
25
|
+
| [string, string, string, string, string, string, string, string, string]
|
|
26
|
+
| [string, string, string, string, string, string, string, string, string, string]
|
|
27
|
+
| [string, string, string, string, string, string, string, string, string, string, string]
|
|
28
|
+
| [string, string, string, string, string, string, string, string, string, string, string, string]
|
|
29
|
+
| [string, string, string, string, string, string, string, string, string, string, string, string, string]
|
|
30
|
+
| [string, string, string, string, string, string, string, string, string, string, string, string, string, string]
|
|
31
|
+
| [
|
|
32
|
+
string,
|
|
33
|
+
string,
|
|
34
|
+
string,
|
|
35
|
+
string,
|
|
36
|
+
string,
|
|
37
|
+
string,
|
|
38
|
+
string,
|
|
39
|
+
string,
|
|
40
|
+
string,
|
|
41
|
+
string,
|
|
42
|
+
string,
|
|
43
|
+
string,
|
|
44
|
+
string,
|
|
45
|
+
string,
|
|
46
|
+
string
|
|
47
|
+
]
|
|
48
|
+
| [
|
|
49
|
+
string,
|
|
50
|
+
string,
|
|
51
|
+
string,
|
|
52
|
+
string,
|
|
53
|
+
string,
|
|
54
|
+
string,
|
|
55
|
+
string,
|
|
56
|
+
string,
|
|
57
|
+
string,
|
|
58
|
+
string,
|
|
59
|
+
string,
|
|
60
|
+
string,
|
|
61
|
+
string,
|
|
62
|
+
string,
|
|
63
|
+
string,
|
|
64
|
+
string
|
|
65
|
+
];
|
|
14
66
|
}
|
|
15
67
|
/**
|
|
16
68
|
* List of bare Type URIs the responding party supports. Carried in a Trust Task document whose type is https://trusttasks.org/spec/trust-task-discovery/0.1#response.
|
|
@@ -71,12 +123,13 @@ export const PAYLOAD_SCHEMA = {
|
|
|
71
123
|
"properties": {
|
|
72
124
|
"patterns": {
|
|
73
125
|
"type": "array",
|
|
126
|
+
"maxItems": 16,
|
|
74
127
|
"items": {
|
|
75
128
|
"type": "string",
|
|
76
129
|
"minLength": 1,
|
|
77
130
|
"description": "Slug-glob pattern. Matches: '*' (every slug); '<prefix>/*' (any slug starting with '<prefix>/' — e.g. 'acl/*' matches 'acl/grant', 'acl/revoke', 'acl/grant/sub'); otherwise an exact slug match. Wildcards anywhere other than as a trailing segment are not interpreted — the only sigils are the trailing '/*' and the bare '*'."
|
|
78
131
|
},
|
|
79
|
-
"description": "Patterns are ORed: a slug matches the query if at least one pattern matches it. If the array is omitted or empty, the responder MUST treat the query as ['*'] — return every supported task."
|
|
132
|
+
"description": "Patterns are ORed: a slug matches the query if at least one pattern matches it. If the array is omitted or empty, the responder MUST treat the query as ['*'] — return every supported task. Bounded at 16 entries as parser hardening (SPEC.md §10.2), not as a capability limit: matching an unbounded pattern list against every published slug is work a responder does on an unauthenticated request, and a discoverer wanting more asks for '*' and filters locally."
|
|
80
133
|
}
|
|
81
134
|
},
|
|
82
135
|
"$defs": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export interface TrustTaskErrorPayload {
|
|
10
10
|
/**
|
|
11
|
-
* Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:
|
|
11
|
+
* Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:roleNotRecognized').
|
|
12
12
|
*/
|
|
13
13
|
code: (
|
|
14
14
|
| (
|
|
@@ -77,7 +77,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
77
77
|
"properties": {
|
|
78
78
|
"code": {
|
|
79
79
|
"type": "string",
|
|
80
|
-
"description": "Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:
|
|
80
|
+
"description": "Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:roleNotRecognized').",
|
|
81
81
|
"anyOf": [
|
|
82
82
|
{
|
|
83
83
|
"enum": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export interface TrustTaskErrorPayload {
|
|
10
10
|
/**
|
|
11
|
-
* Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:
|
|
11
|
+
* Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:roleNotRecognized').
|
|
12
12
|
*/
|
|
13
13
|
code: (
|
|
14
14
|
| (
|
|
@@ -77,7 +77,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
77
77
|
"properties": {
|
|
78
78
|
"code": {
|
|
79
79
|
"type": "string",
|
|
80
|
-
"description": "Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:
|
|
80
|
+
"description": "Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:roleNotRecognized').",
|
|
81
81
|
"anyOf": [
|
|
82
82
|
{
|
|
83
83
|
"enum": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export interface TrustTaskErrorPayload {
|
|
10
10
|
/**
|
|
11
|
-
* Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:
|
|
11
|
+
* Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:roleNotRecognized').
|
|
12
12
|
*/
|
|
13
13
|
code: (
|
|
14
14
|
| (
|
|
@@ -90,7 +90,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
90
90
|
"properties": {
|
|
91
91
|
"code": {
|
|
92
92
|
"type": "string",
|
|
93
|
-
"description": "Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:
|
|
93
|
+
"description": "Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:roleNotRecognized').",
|
|
94
94
|
"anyOf": [
|
|
95
95
|
{
|
|
96
96
|
"enum": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export interface TrustTaskErrorPayload {
|
|
10
10
|
/**
|
|
11
|
-
* Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:
|
|
11
|
+
* Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:roleNotRecognized').
|
|
12
12
|
*/
|
|
13
13
|
code: (
|
|
14
14
|
| (
|
|
@@ -91,7 +91,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
91
91
|
"properties": {
|
|
92
92
|
"code": {
|
|
93
93
|
"type": "string",
|
|
94
|
-
"description": "Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:
|
|
94
|
+
"description": "Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:roleNotRecognized').",
|
|
95
95
|
"anyOf": [
|
|
96
96
|
{
|
|
97
97
|
"enum": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export interface TrustTaskErrorPayload {
|
|
10
10
|
/**
|
|
11
|
-
* Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:
|
|
11
|
+
* Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:roleNotRecognized').
|
|
12
12
|
*/
|
|
13
13
|
code: (
|
|
14
14
|
| (
|
|
@@ -92,7 +92,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
92
92
|
"properties": {
|
|
93
93
|
"code": {
|
|
94
94
|
"type": "string",
|
|
95
|
-
"description": "Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:
|
|
95
|
+
"description": "Short identifier for the failure category. MUST be either a framework standard code (SPEC.md §8.3) or an extended code namespaced by the originating spec's slug (SPEC.md §8.5, e.g. 'acl/grant:roleNotRecognized').",
|
|
96
96
|
"anyOf": [
|
|
97
97
|
{
|
|
98
98
|
"enum": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export type SiteTarget = WebOrigin | Did | IosApp | AndroidApp;
|
|
10
10
|
/**
|
|
11
|
-
* Pluggable cipher envelope containing the SessionBlob cleartext (see `vault/_shared/0.1/session-blob`). The consumer unseals to recover cookies/headers, then injects into its browser session for the bound origin. Consumers reject envelope kinds they don't implement with `vault/proxy-login:
|
|
11
|
+
* Pluggable cipher envelope containing the SessionBlob cleartext (see `vault/_shared/0.1/session-blob`). The consumer unseals to recover cookies/headers, then injects into its browser session for the bound origin. Consumers reject envelope kinds they don't implement with `vault/proxy-login:envelopeUnsupported`.
|
|
12
12
|
*/
|
|
13
13
|
export type SealedEnvelope = DidcommAuthcryptEnvelope | HpkeArmoredEnvelope | TspMessageEnvelope;
|
|
14
14
|
|
|
@@ -89,7 +89,7 @@ export interface ConsumerContext {
|
|
|
89
89
|
networkClass?: "unknown" | "home" | "corp" | "public" | "vpn";
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
|
-
* Optional — included on retry after a prior proxy-login attempt returned `
|
|
92
|
+
* Optional — included on retry after a prior proxy-login attempt returned `stepUpRequired`.
|
|
93
93
|
*/
|
|
94
94
|
export interface StepUpProof {
|
|
95
95
|
kind: "webauthn-uv" | "push-approval" | "totp";
|
|
@@ -145,7 +145,7 @@ export interface HpkeArmoredEnvelope {
|
|
|
145
145
|
producerAssertion?: "did-signed" | "attested" | "pinned-only";
|
|
146
146
|
}
|
|
147
147
|
/**
|
|
148
|
-
* Trust Spanning Protocol message (https://trustoverip.github.io/tswg-tsp-specification/). Reserved variant; no OpenVTC component reads or emits this today. Listed in the union so implementations can declare intent to use TSP in discovery and so consumers reject `tsp-message` envelopes explicitly (`
|
|
148
|
+
* Trust Spanning Protocol message (https://trustoverip.github.io/tswg-tsp-specification/). Reserved variant; no OpenVTC component reads or emits this today. Listed in the union so implementations can declare intent to use TSP in discovery and so consumers reject `tsp-message` envelopes explicitly (`envelopeUnsupported`) until they're wired up — rather than silently failing in DIDComm parsing.
|
|
149
149
|
*/
|
|
150
150
|
export interface TspMessageEnvelope {
|
|
151
151
|
envelope: "tsp-message";
|
|
@@ -202,7 +202,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
202
202
|
},
|
|
203
203
|
"stepUpProof": {
|
|
204
204
|
"$ref": "#/$defs/StepUpProof",
|
|
205
|
-
"description": "Optional — included on retry after a prior proxy-login attempt returned `
|
|
205
|
+
"description": "Optional — included on retry after a prior proxy-login attempt returned `stepUpRequired`."
|
|
206
206
|
},
|
|
207
207
|
"nonce": {
|
|
208
208
|
"type": "string",
|
|
@@ -232,7 +232,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
232
232
|
"properties": {
|
|
233
233
|
"sealedSessionBlob": {
|
|
234
234
|
"$ref": "#/$defs/SealedEnvelope",
|
|
235
|
-
"description": "Pluggable cipher envelope containing the SessionBlob cleartext (see `vault/_shared/0.1/session-blob`). The consumer unseals to recover cookies/headers, then injects into its browser session for the bound origin. Consumers reject envelope kinds they don't implement with `vault/proxy-login:
|
|
235
|
+
"description": "Pluggable cipher envelope containing the SessionBlob cleartext (see `vault/_shared/0.1/session-blob`). The consumer unseals to recover cookies/headers, then injects into its browser session for the bound origin. Consumers reject envelope kinds they don't implement with `vault/proxy-login:envelopeUnsupported`."
|
|
236
236
|
},
|
|
237
237
|
"ext": {
|
|
238
238
|
"$ref": "#/$defs/Ext"
|
|
@@ -266,7 +266,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
266
266
|
},
|
|
267
267
|
"TspMessageEnvelope": {
|
|
268
268
|
"title": "TspMessageEnvelope",
|
|
269
|
-
"description": "Trust Spanning Protocol message (https://trustoverip.github.io/tswg-tsp-specification/). Reserved variant; no OpenVTC component reads or emits this today. Listed in the union so implementations can declare intent to use TSP in discovery and so consumers reject `tsp-message` envelopes explicitly (`
|
|
269
|
+
"description": "Trust Spanning Protocol message (https://trustoverip.github.io/tswg-tsp-specification/). Reserved variant; no OpenVTC component reads or emits this today. Listed in the union so implementations can declare intent to use TSP in discovery and so consumers reject `tsp-message` envelopes explicitly (`envelopeUnsupported`) until they're wired up — rather than silently failing in DIDComm parsing.",
|
|
270
270
|
"type": "object",
|
|
271
271
|
"additionalProperties": false,
|
|
272
272
|
"required": [
|
|
@@ -517,7 +517,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
517
517
|
"properties": {
|
|
518
518
|
"sealedSessionBlob": {
|
|
519
519
|
"$ref": "#/$defs/SealedEnvelope",
|
|
520
|
-
"description": "Pluggable cipher envelope containing the SessionBlob cleartext (see `vault/_shared/0.1/session-blob`). The consumer unseals to recover cookies/headers, then injects into its browser session for the bound origin. Consumers reject envelope kinds they don't implement with `vault/proxy-login:
|
|
520
|
+
"description": "Pluggable cipher envelope containing the SessionBlob cleartext (see `vault/_shared/0.1/session-blob`). The consumer unseals to recover cookies/headers, then injects into its browser session for the bound origin. Consumers reject envelope kinds they don't implement with `vault/proxy-login:envelopeUnsupported`."
|
|
521
521
|
},
|
|
522
522
|
"ext": {
|
|
523
523
|
"$ref": "#/$defs/Ext"
|
|
@@ -551,7 +551,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
551
551
|
},
|
|
552
552
|
"TspMessageEnvelope": {
|
|
553
553
|
"title": "TspMessageEnvelope",
|
|
554
|
-
"description": "Trust Spanning Protocol message (https://trustoverip.github.io/tswg-tsp-specification/). Reserved variant; no OpenVTC component reads or emits this today. Listed in the union so implementations can declare intent to use TSP in discovery and so consumers reject `tsp-message` envelopes explicitly (`
|
|
554
|
+
"description": "Trust Spanning Protocol message (https://trustoverip.github.io/tswg-tsp-specification/). Reserved variant; no OpenVTC component reads or emits this today. Listed in the union so implementations can declare intent to use TSP in discovery and so consumers reject `tsp-message` envelopes explicitly (`envelopeUnsupported`) until they're wired up — rather than silently failing in DIDComm parsing.",
|
|
555
555
|
"type": "object",
|
|
556
556
|
"additionalProperties": false,
|
|
557
557
|
"required": [
|