@openvtc/trust-tasks 0.14.0 → 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-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/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-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
|
@@ -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,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": [
|
|
@@ -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
|
|
|
@@ -145,7 +145,7 @@ export interface HpkeArmoredEnvelope {
|
|
|
145
145
|
producerAssertion?: "didSigned" | "attested" | "pinnedOnly";
|
|
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 `tspMessage` 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 `tspMessage` 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: "tspMessage";
|
|
@@ -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 `tspMessage` 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 `tspMessage` 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 `tspMessage` 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 `tspMessage` 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": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export type SiteTarget = WebOrigin | Did | IosApp | AndroidApp;
|
|
10
10
|
/**
|
|
11
|
-
* Pluggable cipher envelope. Cleartext is a `vault/_shared/0.1/vault-secret#/$defs/VaultSecret`. Consumers reject envelope kinds they don't implement with `vault/release:
|
|
11
|
+
* Pluggable cipher envelope. Cleartext is a `vault/_shared/0.1/vault-secret#/$defs/VaultSecret`. Consumers reject envelope kinds they don't implement with `vault/release:envelopeUnsupported`.
|
|
12
12
|
*/
|
|
13
13
|
export type SealedEnvelope = DidcommAuthcryptEnvelope | HpkeArmoredEnvelope | TspMessageEnvelope;
|
|
14
14
|
/**
|
|
@@ -25,7 +25,7 @@ export type SecretKind =
|
|
|
25
25
|
| "custom";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* Consumer requests that the maintainer release the cleartext secret material of a vault entry. The response carries the secret in a pluggable cipher envelope (see vault/_shared/0.1/sealed-envelope); the cleartext shape is `vault/_shared/0.1/vault-secret#/$defs/VaultSecret`. This is the fallback when proxy-login is not viable (`vault/proxy-login:
|
|
28
|
+
* Consumer requests that the maintainer release the cleartext secret material of a vault entry. The response carries the secret in a pluggable cipher envelope (see vault/_shared/0.1/sealed-envelope); the cleartext shape is `vault/_shared/0.1/vault-secret#/$defs/VaultSecret`. This is the fallback when proxy-login is not viable (`vault/proxy-login:notProxyable`) or when the consumer needs the raw secret for a flow the maintainer cannot perform (e.g. autofill into a desktop app, copy-to-clipboard for offline use).
|
|
29
29
|
*/
|
|
30
30
|
export interface VaultReleasePayload {
|
|
31
31
|
entryId: string;
|
|
@@ -155,7 +155,7 @@ export interface HpkeArmoredEnvelope {
|
|
|
155
155
|
producerAssertion?: "did-signed" | "attested" | "pinned-only";
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
|
-
* 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 (`
|
|
158
|
+
* 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.
|
|
159
159
|
*/
|
|
160
160
|
export interface TspMessageEnvelope {
|
|
161
161
|
envelope: "tsp-message";
|
|
@@ -190,7 +190,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
190
190
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
191
191
|
"$id": "https://trusttasks.org/spec/vault/release/0.1",
|
|
192
192
|
"title": "Vault Release — payload",
|
|
193
|
-
"description": "Consumer requests that the maintainer release the cleartext secret material of a vault entry. The response carries the secret in a pluggable cipher envelope (see vault/_shared/0.1/sealed-envelope); the cleartext shape is `vault/_shared/0.1/vault-secret#/$defs/VaultSecret`. This is the fallback when proxy-login is not viable (`vault/proxy-login:
|
|
193
|
+
"description": "Consumer requests that the maintainer release the cleartext secret material of a vault entry. The response carries the secret in a pluggable cipher envelope (see vault/_shared/0.1/sealed-envelope); the cleartext shape is `vault/_shared/0.1/vault-secret#/$defs/VaultSecret`. This is the fallback when proxy-login is not viable (`vault/proxy-login:notProxyable`) or when the consumer needs the raw secret for a flow the maintainer cannot perform (e.g. autofill into a desktop app, copy-to-clipboard for offline use).",
|
|
194
194
|
"type": "object",
|
|
195
195
|
"additionalProperties": false,
|
|
196
196
|
"required": [
|
|
@@ -237,7 +237,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
237
237
|
"properties": {
|
|
238
238
|
"sealedSecret": {
|
|
239
239
|
"$ref": "#/$defs/SealedEnvelope",
|
|
240
|
-
"description": "Pluggable cipher envelope. Cleartext is a `vault/_shared/0.1/vault-secret#/$defs/VaultSecret`. Consumers reject envelope kinds they don't implement with `vault/release:
|
|
240
|
+
"description": "Pluggable cipher envelope. Cleartext is a `vault/_shared/0.1/vault-secret#/$defs/VaultSecret`. Consumers reject envelope kinds they don't implement with `vault/release:envelopeUnsupported`."
|
|
241
241
|
},
|
|
242
242
|
"secretKind": {
|
|
243
243
|
"$ref": "#/$defs/SecretKind",
|
|
@@ -296,7 +296,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
296
296
|
},
|
|
297
297
|
"TspMessageEnvelope": {
|
|
298
298
|
"title": "TspMessageEnvelope",
|
|
299
|
-
"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 (`
|
|
299
|
+
"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.",
|
|
300
300
|
"type": "object",
|
|
301
301
|
"additionalProperties": false,
|
|
302
302
|
"required": [
|
|
@@ -549,7 +549,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
549
549
|
"properties": {
|
|
550
550
|
"sealedSecret": {
|
|
551
551
|
"$ref": "#/$defs/SealedEnvelope",
|
|
552
|
-
"description": "Pluggable cipher envelope. Cleartext is a `vault/_shared/0.1/vault-secret#/$defs/VaultSecret`. Consumers reject envelope kinds they don't implement with `vault/release:
|
|
552
|
+
"description": "Pluggable cipher envelope. Cleartext is a `vault/_shared/0.1/vault-secret#/$defs/VaultSecret`. Consumers reject envelope kinds they don't implement with `vault/release:envelopeUnsupported`."
|
|
553
553
|
},
|
|
554
554
|
"secretKind": {
|
|
555
555
|
"$ref": "#/$defs/SecretKind",
|
|
@@ -608,7 +608,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
608
608
|
},
|
|
609
609
|
"TspMessageEnvelope": {
|
|
610
610
|
"title": "TspMessageEnvelope",
|
|
611
|
-
"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 (`
|
|
611
|
+
"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.",
|
|
612
612
|
"type": "object",
|
|
613
613
|
"additionalProperties": false,
|
|
614
614
|
"required": [
|