@openvtc/trust-tasks 0.26.4 → 0.26.6

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.
@@ -0,0 +1,299 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/rooms/owner/group/renew/0.1/payload.schema.json
4
+ */
5
+ import type { Ext } from "../../../../../_shared/components.js";
6
+ export interface RoomsOwnerGroupRenewPayload {
7
+ /**
8
+ * The sealed room to renew. The recipient MUST hold its group.
9
+ */
10
+ roomId: string;
11
+ /**
12
+ * The room's host, as a DID: where the room's epoch advances.
13
+ */
14
+ host: string;
15
+ /**
16
+ * Why, carried to the host's epoch advance. Untrusted and attributed to its author: it MUST NOT carry personal data or a credential.
17
+ */
18
+ reason?: string;
19
+ /**
20
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
21
+ */
22
+ ext?: Ext;
23
+ }
24
+ /**
25
+ * Success response to rooms/owner/group/renew. Type https://trusttasks.org/spec/rooms/owner/group/renew/0.1#response. The room's new epoch, at which the host and the group agree.
26
+ */
27
+ export interface RoomsOwnerGroupRenewResponsePayload {
28
+ /**
29
+ * The room.
30
+ */
31
+ roomId: string;
32
+ /**
33
+ * The room epoch after the renewal, as the host recorded it.
34
+ */
35
+ epoch: number;
36
+ ext?: Ext;
37
+ }
38
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
39
+ export type { Ext };
40
+ /** Trust Task type URI. */
41
+ export declare const TYPE_URI: "https://trusttasks.org/spec/rooms/owner/group/renew/0.1";
42
+ /** Stable alias for this specification's request payload shape. */
43
+ export type Payload = RoomsOwnerGroupRenewPayload;
44
+ /** Trust Task response type URI (request type URI + "#response"). */
45
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/rooms/owner/group/renew/0.1#response";
46
+ /** Stable alias for this specification's success-response payload shape. */
47
+ export type Response = RoomsOwnerGroupRenewResponsePayload;
48
+ /**
49
+ * This specification's payload schema, as a value.
50
+ *
51
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
52
+ * rather than only as a `.json` file because TypeScript types are erased
53
+ * at runtime: without a schema a consumer has nothing to validate, and
54
+ * every REQUIRED payload member is optional in practice. Cross-file
55
+ * `$ref`s are already inlined, so it needs no resolver.
56
+ */
57
+ export declare const PAYLOAD_SCHEMA: {
58
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
59
+ readonly $id: "https://trusttasks.org/spec/rooms/owner/group/renew/0.1";
60
+ readonly title: "Rooms Owner Group Renew — payload";
61
+ readonly type: "object";
62
+ readonly additionalProperties: false;
63
+ readonly required: readonly ["roomId", "host"];
64
+ readonly properties: {
65
+ readonly roomId: {
66
+ readonly type: "string";
67
+ readonly minLength: 1;
68
+ readonly maxLength: 512;
69
+ readonly description: "The sealed room to renew. The recipient MUST hold its group.";
70
+ };
71
+ readonly host: {
72
+ readonly type: "string";
73
+ readonly pattern: "^did:";
74
+ readonly maxLength: 2048;
75
+ readonly description: "The room's host, as a DID: where the room's epoch advances.";
76
+ };
77
+ readonly reason: {
78
+ readonly type: "string";
79
+ readonly minLength: 1;
80
+ readonly maxLength: 500;
81
+ readonly description: "Why, carried to the host's epoch advance. Untrusted and attributed to its author: it MUST NOT carry personal data or a credential.";
82
+ };
83
+ readonly ext: {
84
+ readonly $ref: "#/$defs/Ext";
85
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
86
+ };
87
+ };
88
+ readonly $defs: {
89
+ readonly Response: {
90
+ readonly $anchor: "response";
91
+ readonly title: "Rooms Owner Group Renew — response payload";
92
+ readonly description: "Success response to rooms/owner/group/renew. Type https://trusttasks.org/spec/rooms/owner/group/renew/0.1#response. The room's new epoch, at which the host and the group agree.";
93
+ readonly type: "object";
94
+ readonly additionalProperties: false;
95
+ readonly required: readonly ["roomId", "epoch"];
96
+ readonly properties: {
97
+ readonly roomId: {
98
+ readonly type: "string";
99
+ readonly minLength: 1;
100
+ readonly maxLength: 512;
101
+ readonly description: "The room.";
102
+ };
103
+ readonly epoch: {
104
+ readonly type: "integer";
105
+ readonly minimum: 2;
106
+ readonly description: "The room epoch after the renewal, as the host recorded it.";
107
+ };
108
+ readonly ext: {
109
+ readonly $ref: "#/$defs/Ext";
110
+ };
111
+ };
112
+ };
113
+ readonly Ext: {
114
+ readonly title: "Ext";
115
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
116
+ readonly type: "object";
117
+ readonly minProperties: 1;
118
+ readonly additionalProperties: true;
119
+ readonly propertyNames: {
120
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
121
+ };
122
+ };
123
+ };
124
+ };
125
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
126
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
127
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
128
+ readonly $ref: "#/$defs/Response";
129
+ readonly $defs: {
130
+ readonly Response: {
131
+ readonly $anchor: "response";
132
+ readonly title: "Rooms Owner Group Renew — response payload";
133
+ readonly description: "Success response to rooms/owner/group/renew. Type https://trusttasks.org/spec/rooms/owner/group/renew/0.1#response. The room's new epoch, at which the host and the group agree.";
134
+ readonly type: "object";
135
+ readonly additionalProperties: false;
136
+ readonly required: readonly ["roomId", "epoch"];
137
+ readonly properties: {
138
+ readonly roomId: {
139
+ readonly type: "string";
140
+ readonly minLength: 1;
141
+ readonly maxLength: 512;
142
+ readonly description: "The room.";
143
+ };
144
+ readonly epoch: {
145
+ readonly type: "integer";
146
+ readonly minimum: 2;
147
+ readonly description: "The room epoch after the renewal, as the host recorded it.";
148
+ };
149
+ readonly ext: {
150
+ readonly $ref: "#/$defs/Ext";
151
+ };
152
+ };
153
+ };
154
+ readonly Ext: {
155
+ readonly title: "Ext";
156
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
157
+ readonly type: "object";
158
+ readonly minProperties: 1;
159
+ readonly additionalProperties: true;
160
+ readonly propertyNames: {
161
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
162
+ };
163
+ };
164
+ };
165
+ };
166
+ /**
167
+ * SPEC.md §7.2 policy for the request variant, from this specification's
168
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
169
+ * per-specification and cannot be derived from the document alone, and
170
+ * item 2 needs the schema this carries.
171
+ */
172
+ export declare const SPEC: {
173
+ readonly typeUri: "https://trusttasks.org/spec/rooms/owner/group/renew/0.1";
174
+ readonly isBearer: false;
175
+ readonly isProofRequired: true;
176
+ readonly isRecipientRequired: true;
177
+ readonly isIssuedAtRequired: true;
178
+ readonly payloadSchema: {
179
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
180
+ readonly $id: "https://trusttasks.org/spec/rooms/owner/group/renew/0.1";
181
+ readonly title: "Rooms Owner Group Renew — payload";
182
+ readonly type: "object";
183
+ readonly additionalProperties: false;
184
+ readonly required: readonly ["roomId", "host"];
185
+ readonly properties: {
186
+ readonly roomId: {
187
+ readonly type: "string";
188
+ readonly minLength: 1;
189
+ readonly maxLength: 512;
190
+ readonly description: "The sealed room to renew. The recipient MUST hold its group.";
191
+ };
192
+ readonly host: {
193
+ readonly type: "string";
194
+ readonly pattern: "^did:";
195
+ readonly maxLength: 2048;
196
+ readonly description: "The room's host, as a DID: where the room's epoch advances.";
197
+ };
198
+ readonly reason: {
199
+ readonly type: "string";
200
+ readonly minLength: 1;
201
+ readonly maxLength: 500;
202
+ readonly description: "Why, carried to the host's epoch advance. Untrusted and attributed to its author: it MUST NOT carry personal data or a credential.";
203
+ };
204
+ readonly ext: {
205
+ readonly $ref: "#/$defs/Ext";
206
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
207
+ };
208
+ };
209
+ readonly $defs: {
210
+ readonly Response: {
211
+ readonly $anchor: "response";
212
+ readonly title: "Rooms Owner Group Renew — response payload";
213
+ readonly description: "Success response to rooms/owner/group/renew. Type https://trusttasks.org/spec/rooms/owner/group/renew/0.1#response. The room's new epoch, at which the host and the group agree.";
214
+ readonly type: "object";
215
+ readonly additionalProperties: false;
216
+ readonly required: readonly ["roomId", "epoch"];
217
+ readonly properties: {
218
+ readonly roomId: {
219
+ readonly type: "string";
220
+ readonly minLength: 1;
221
+ readonly maxLength: 512;
222
+ readonly description: "The room.";
223
+ };
224
+ readonly epoch: {
225
+ readonly type: "integer";
226
+ readonly minimum: 2;
227
+ readonly description: "The room epoch after the renewal, as the host recorded it.";
228
+ };
229
+ readonly ext: {
230
+ readonly $ref: "#/$defs/Ext";
231
+ };
232
+ };
233
+ };
234
+ readonly Ext: {
235
+ readonly title: "Ext";
236
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
237
+ readonly type: "object";
238
+ readonly minProperties: 1;
239
+ readonly additionalProperties: true;
240
+ readonly propertyNames: {
241
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
242
+ };
243
+ };
244
+ };
245
+ };
246
+ };
247
+ /**
248
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
249
+ * tracks the *issuer* party's requirement because a response swaps the
250
+ * parties (§7.3 item 5).
251
+ */
252
+ export declare const RESPONSE_SPEC: {
253
+ readonly typeUri: "https://trusttasks.org/spec/rooms/owner/group/renew/0.1#response";
254
+ readonly isBearer: false;
255
+ readonly isProofRequired: true;
256
+ readonly isRecipientRequired: true;
257
+ readonly isIssuedAtRequired: true;
258
+ readonly payloadSchema: {
259
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
260
+ readonly $ref: "#/$defs/Response";
261
+ readonly $defs: {
262
+ readonly Response: {
263
+ readonly $anchor: "response";
264
+ readonly title: "Rooms Owner Group Renew — response payload";
265
+ readonly description: "Success response to rooms/owner/group/renew. Type https://trusttasks.org/spec/rooms/owner/group/renew/0.1#response. The room's new epoch, at which the host and the group agree.";
266
+ readonly type: "object";
267
+ readonly additionalProperties: false;
268
+ readonly required: readonly ["roomId", "epoch"];
269
+ readonly properties: {
270
+ readonly roomId: {
271
+ readonly type: "string";
272
+ readonly minLength: 1;
273
+ readonly maxLength: 512;
274
+ readonly description: "The room.";
275
+ };
276
+ readonly epoch: {
277
+ readonly type: "integer";
278
+ readonly minimum: 2;
279
+ readonly description: "The room epoch after the renewal, as the host recorded it.";
280
+ };
281
+ readonly ext: {
282
+ readonly $ref: "#/$defs/Ext";
283
+ };
284
+ };
285
+ };
286
+ readonly Ext: {
287
+ readonly title: "Ext";
288
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
289
+ readonly type: "object";
290
+ readonly minProperties: 1;
291
+ readonly additionalProperties: true;
292
+ readonly propertyNames: {
293
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
294
+ };
295
+ };
296
+ };
297
+ };
298
+ };
299
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/rooms/owner/group/renew/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGhE,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,CAAC;AAEpB,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,yDAAkE,CAAC;AAE3F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,2BAA2B,CAAC;AAElD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,kEAA2E,CAAC;AAE7G,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,mCAAmC,CAAC;AAE3D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0C1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -0,0 +1,163 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/rooms/owner/group/renew/0.1/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/rooms/owner/group/renew/0.1";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/owner/group/renew/0.1#response";
9
+ /**
10
+ * This specification's payload schema, as a value.
11
+ *
12
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
13
+ * rather than only as a `.json` file because TypeScript types are erased
14
+ * at runtime: without a schema a consumer has nothing to validate, and
15
+ * every REQUIRED payload member is optional in practice. Cross-file
16
+ * `$ref`s are already inlined, so it needs no resolver.
17
+ */
18
+ export const PAYLOAD_SCHEMA = {
19
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
20
+ "$id": "https://trusttasks.org/spec/rooms/owner/group/renew/0.1",
21
+ "title": "Rooms Owner Group Renew — payload",
22
+ "type": "object",
23
+ "additionalProperties": false,
24
+ "required": [
25
+ "roomId",
26
+ "host"
27
+ ],
28
+ "properties": {
29
+ "roomId": {
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "maxLength": 512,
33
+ "description": "The sealed room to renew. The recipient MUST hold its group."
34
+ },
35
+ "host": {
36
+ "type": "string",
37
+ "pattern": "^did:",
38
+ "maxLength": 2048,
39
+ "description": "The room's host, as a DID: where the room's epoch advances."
40
+ },
41
+ "reason": {
42
+ "type": "string",
43
+ "minLength": 1,
44
+ "maxLength": 500,
45
+ "description": "Why, carried to the host's epoch advance. Untrusted and attributed to its author: it MUST NOT carry personal data or a credential."
46
+ },
47
+ "ext": {
48
+ "$ref": "#/$defs/Ext",
49
+ "description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
50
+ }
51
+ },
52
+ "$defs": {
53
+ "Response": {
54
+ "$anchor": "response",
55
+ "title": "Rooms Owner Group Renew — response payload",
56
+ "description": "Success response to rooms/owner/group/renew. Type https://trusttasks.org/spec/rooms/owner/group/renew/0.1#response. The room's new epoch, at which the host and the group agree.",
57
+ "type": "object",
58
+ "additionalProperties": false,
59
+ "required": [
60
+ "roomId",
61
+ "epoch"
62
+ ],
63
+ "properties": {
64
+ "roomId": {
65
+ "type": "string",
66
+ "minLength": 1,
67
+ "maxLength": 512,
68
+ "description": "The room."
69
+ },
70
+ "epoch": {
71
+ "type": "integer",
72
+ "minimum": 2,
73
+ "description": "The room epoch after the renewal, as the host recorded it."
74
+ },
75
+ "ext": {
76
+ "$ref": "#/$defs/Ext"
77
+ }
78
+ }
79
+ },
80
+ "Ext": {
81
+ "title": "Ext",
82
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
83
+ "type": "object",
84
+ "minProperties": 1,
85
+ "additionalProperties": true,
86
+ "propertyNames": {
87
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
88
+ }
89
+ }
90
+ }
91
+ };
92
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
93
+ export const RESPONSE_PAYLOAD_SCHEMA = {
94
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
95
+ "$ref": "#/$defs/Response",
96
+ "$defs": {
97
+ "Response": {
98
+ "$anchor": "response",
99
+ "title": "Rooms Owner Group Renew — response payload",
100
+ "description": "Success response to rooms/owner/group/renew. Type https://trusttasks.org/spec/rooms/owner/group/renew/0.1#response. The room's new epoch, at which the host and the group agree.",
101
+ "type": "object",
102
+ "additionalProperties": false,
103
+ "required": [
104
+ "roomId",
105
+ "epoch"
106
+ ],
107
+ "properties": {
108
+ "roomId": {
109
+ "type": "string",
110
+ "minLength": 1,
111
+ "maxLength": 512,
112
+ "description": "The room."
113
+ },
114
+ "epoch": {
115
+ "type": "integer",
116
+ "minimum": 2,
117
+ "description": "The room epoch after the renewal, as the host recorded it."
118
+ },
119
+ "ext": {
120
+ "$ref": "#/$defs/Ext"
121
+ }
122
+ }
123
+ },
124
+ "Ext": {
125
+ "title": "Ext",
126
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
127
+ "type": "object",
128
+ "minProperties": 1,
129
+ "additionalProperties": true,
130
+ "propertyNames": {
131
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
132
+ }
133
+ }
134
+ }
135
+ };
136
+ /**
137
+ * SPEC.md §7.2 policy for the request variant, from this specification's
138
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
139
+ * per-specification and cannot be derived from the document alone, and
140
+ * item 2 needs the schema this carries.
141
+ */
142
+ export const SPEC = {
143
+ typeUri: TYPE_URI,
144
+ isBearer: false,
145
+ isProofRequired: true,
146
+ isRecipientRequired: true,
147
+ isIssuedAtRequired: true,
148
+ payloadSchema: PAYLOAD_SCHEMA,
149
+ };
150
+ /**
151
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
152
+ * tracks the *issuer* party's requirement because a response swaps the
153
+ * parties (§7.3 item 5).
154
+ */
155
+ export const RESPONSE_SPEC = {
156
+ typeUri: RESPONSE_TYPE_URI,
157
+ isBearer: false,
158
+ isProofRequired: true,
159
+ isRecipientRequired: true,
160
+ isIssuedAtRequired: true,
161
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
162
+ };
163
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/rooms/owner/group/renew/0.1/payload.ts"],"names":[],"mappings":"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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openvtc/trust-tasks",
3
- "version": "0.26.4",
3
+ "version": "0.26.6",
4
4
  "description": "Generated TypeScript bindings for the Trust Tasks framework registry.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1151,7 +1151,7 @@ export type SealedEnvelope_VaultV0_2 =
1151
1151
  | HpkeArmoredEnvelope_VaultV0_2
1152
1152
  | TspMessageEnvelope_VaultV0_2;
1153
1153
  /**
1154
- * A sealed-transfer bundle: OpenPGP-style ASCII armor around an HPKE-sealed `SealedPayloadV1` (base mode, X25519-HKDF-SHA256 KEM, HKDF-SHA256 KDF, ChaCha20-Poly1305 AEAD, info string `vta-sealed-transfer/v1`), with a producer assertion and Bundle-Id, Chunk and Digest-Algo headers bound into the associated data. Each task states the key it is sealed to: a single-use wrapping key from keys/import-wrapping-key for external/accounts/secret/set, and the caller's key-agreement key for external/credentials/issue. Its cleartext is an ExternalSecretPayload or an ExternalCredentialPayload. The only form in which secret material crosses the wire in this family, in either direction: the seal is what keeps a terminating proxy, a relay, a request log or a debug dump of "the response" from ever holding a usable secret, whatever transport carried the document.
1154
+ * A sealed-transfer bundle: OpenPGP-style ASCII armor around an HPKE-sealed `SealedPayloadV1` (base mode, X25519-HKDF-SHA256 KEM, HKDF-SHA256 KDF, ChaCha20-Poly1305 AEAD, info string `vta-sealed-transfer/v1`), with a producer assertion and Bundle-Id, Chunk and Digest-Algo headers bound into the associated data. Each task states the key it is sealed to: a single-use wrapping key from keys/import-wrapping-key for external/accounts/secret/set, and the caller's key-agreement key for external/credentials/issue. Its cleartext is an ExternalSecretPayload, an ExternalCredentialPayload or, from external/credentials/issue 0.2 for `s3-static-presign`, a PresignedRequestSet. The only form in which secret material crosses the wire in this family, in either direction: the seal is what keeps a terminating proxy, a relay, a request log or a debug dump of "the response" from ever holding a usable secret, whatever transport carried the document.
1155
1155
  */
1156
1156
  export type SealedTransferBundle = string;
1157
1157
  /**
@@ -128,7 +128,7 @@ export const PAYLOAD_SCHEMA = {
128
128
  "minLength": 64,
129
129
  "maxLength": 65536,
130
130
  "pattern": "^-----BEGIN VTA SEALED BUNDLE-----[\\s\\S]+-----END VTA SEALED BUNDLE-----\\s*$",
131
- "description": "A sealed-transfer bundle: OpenPGP-style ASCII armor around an HPKE-sealed `SealedPayloadV1` (base mode, X25519-HKDF-SHA256 KEM, HKDF-SHA256 KDF, ChaCha20-Poly1305 AEAD, info string `vta-sealed-transfer/v1`), with a producer assertion and Bundle-Id, Chunk and Digest-Algo headers bound into the associated data. Each task states the key it is sealed to: a single-use wrapping key from keys/import-wrapping-key for external/accounts/secret/set, and the caller's key-agreement key for external/credentials/issue. Its cleartext is an ExternalSecretPayload or an ExternalCredentialPayload. The only form in which secret material crosses the wire in this family, in either direction: the seal is what keeps a terminating proxy, a relay, a request log or a debug dump of \"the response\" from ever holding a usable secret, whatever transport carried the document."
131
+ "description": "A sealed-transfer bundle: OpenPGP-style ASCII armor around an HPKE-sealed `SealedPayloadV1` (base mode, X25519-HKDF-SHA256 KEM, HKDF-SHA256 KDF, ChaCha20-Poly1305 AEAD, info string `vta-sealed-transfer/v1`), with a producer assertion and Bundle-Id, Chunk and Digest-Algo headers bound into the associated data. Each task states the key it is sealed to: a single-use wrapping key from keys/import-wrapping-key for external/accounts/secret/set, and the caller's key-agreement key for external/credentials/issue. Its cleartext is an ExternalSecretPayload, an ExternalCredentialPayload or, from external/credentials/issue 0.2 for `s3-static-presign`, a PresignedRequestSet. The only form in which secret material crosses the wire in this family, in either direction: the seal is what keeps a terminating proxy, a relay, a request log or a debug dump of \"the response\" from ever holding a usable secret, whatever transport carried the document."
132
132
  },
133
133
  "AccountId": {
134
134
  "title": "AccountId",
@@ -198,7 +198,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
198
198
  "minLength": 64,
199
199
  "maxLength": 65536,
200
200
  "pattern": "^-----BEGIN VTA SEALED BUNDLE-----[\\s\\S]+-----END VTA SEALED BUNDLE-----\\s*$",
201
- "description": "A sealed-transfer bundle: OpenPGP-style ASCII armor around an HPKE-sealed `SealedPayloadV1` (base mode, X25519-HKDF-SHA256 KEM, HKDF-SHA256 KDF, ChaCha20-Poly1305 AEAD, info string `vta-sealed-transfer/v1`), with a producer assertion and Bundle-Id, Chunk and Digest-Algo headers bound into the associated data. Each task states the key it is sealed to: a single-use wrapping key from keys/import-wrapping-key for external/accounts/secret/set, and the caller's key-agreement key for external/credentials/issue. Its cleartext is an ExternalSecretPayload or an ExternalCredentialPayload. The only form in which secret material crosses the wire in this family, in either direction: the seal is what keeps a terminating proxy, a relay, a request log or a debug dump of \"the response\" from ever holding a usable secret, whatever transport carried the document."
201
+ "description": "A sealed-transfer bundle: OpenPGP-style ASCII armor around an HPKE-sealed `SealedPayloadV1` (base mode, X25519-HKDF-SHA256 KEM, HKDF-SHA256 KDF, ChaCha20-Poly1305 AEAD, info string `vta-sealed-transfer/v1`), with a producer assertion and Bundle-Id, Chunk and Digest-Algo headers bound into the associated data. Each task states the key it is sealed to: a single-use wrapping key from keys/import-wrapping-key for external/accounts/secret/set, and the caller's key-agreement key for external/credentials/issue. Its cleartext is an ExternalSecretPayload, an ExternalCredentialPayload or, from external/credentials/issue 0.2 for `s3-static-presign`, a PresignedRequestSet. The only form in which secret material crosses the wire in this family, in either direction: the seal is what keeps a terminating proxy, a relay, a request log or a debug dump of \"the response\" from ever holding a usable secret, whatever transport carried the document."
202
202
  },
203
203
  "AccountId": {
204
204
  "title": "AccountId",
@@ -190,7 +190,7 @@ export const PAYLOAD_SCHEMA = {
190
190
  "minLength": 64,
191
191
  "maxLength": 65536,
192
192
  "pattern": "^-----BEGIN VTA SEALED BUNDLE-----[\\s\\S]+-----END VTA SEALED BUNDLE-----\\s*$",
193
- "description": "A sealed-transfer bundle: OpenPGP-style ASCII armor around an HPKE-sealed `SealedPayloadV1` (base mode, X25519-HKDF-SHA256 KEM, HKDF-SHA256 KDF, ChaCha20-Poly1305 AEAD, info string `vta-sealed-transfer/v1`), with a producer assertion and Bundle-Id, Chunk and Digest-Algo headers bound into the associated data. Each task states the key it is sealed to: a single-use wrapping key from keys/import-wrapping-key for external/accounts/secret/set, and the caller's key-agreement key for external/credentials/issue. Its cleartext is an ExternalSecretPayload or an ExternalCredentialPayload. The only form in which secret material crosses the wire in this family, in either direction: the seal is what keeps a terminating proxy, a relay, a request log or a debug dump of \"the response\" from ever holding a usable secret, whatever transport carried the document."
193
+ "description": "A sealed-transfer bundle: OpenPGP-style ASCII armor around an HPKE-sealed `SealedPayloadV1` (base mode, X25519-HKDF-SHA256 KEM, HKDF-SHA256 KDF, ChaCha20-Poly1305 AEAD, info string `vta-sealed-transfer/v1`), with a producer assertion and Bundle-Id, Chunk and Digest-Algo headers bound into the associated data. Each task states the key it is sealed to: a single-use wrapping key from keys/import-wrapping-key for external/accounts/secret/set, and the caller's key-agreement key for external/credentials/issue. Its cleartext is an ExternalSecretPayload, an ExternalCredentialPayload or, from external/credentials/issue 0.2 for `s3-static-presign`, a PresignedRequestSet. The only form in which secret material crosses the wire in this family, in either direction: the seal is what keeps a terminating proxy, a relay, a request log or a debug dump of \"the response\" from ever holding a usable secret, whatever transport carried the document."
194
194
  },
195
195
  "AccountId": {
196
196
  "title": "AccountId",
@@ -315,7 +315,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
315
315
  "minLength": 64,
316
316
  "maxLength": 65536,
317
317
  "pattern": "^-----BEGIN VTA SEALED BUNDLE-----[\\s\\S]+-----END VTA SEALED BUNDLE-----\\s*$",
318
- "description": "A sealed-transfer bundle: OpenPGP-style ASCII armor around an HPKE-sealed `SealedPayloadV1` (base mode, X25519-HKDF-SHA256 KEM, HKDF-SHA256 KDF, ChaCha20-Poly1305 AEAD, info string `vta-sealed-transfer/v1`), with a producer assertion and Bundle-Id, Chunk and Digest-Algo headers bound into the associated data. Each task states the key it is sealed to: a single-use wrapping key from keys/import-wrapping-key for external/accounts/secret/set, and the caller's key-agreement key for external/credentials/issue. Its cleartext is an ExternalSecretPayload or an ExternalCredentialPayload. The only form in which secret material crosses the wire in this family, in either direction: the seal is what keeps a terminating proxy, a relay, a request log or a debug dump of \"the response\" from ever holding a usable secret, whatever transport carried the document."
318
+ "description": "A sealed-transfer bundle: OpenPGP-style ASCII armor around an HPKE-sealed `SealedPayloadV1` (base mode, X25519-HKDF-SHA256 KEM, HKDF-SHA256 KDF, ChaCha20-Poly1305 AEAD, info string `vta-sealed-transfer/v1`), with a producer assertion and Bundle-Id, Chunk and Digest-Algo headers bound into the associated data. Each task states the key it is sealed to: a single-use wrapping key from keys/import-wrapping-key for external/accounts/secret/set, and the caller's key-agreement key for external/credentials/issue. Its cleartext is an ExternalSecretPayload, an ExternalCredentialPayload or, from external/credentials/issue 0.2 for `s3-static-presign`, a PresignedRequestSet. The only form in which secret material crosses the wire in this family, in either direction: the seal is what keeps a terminating proxy, a relay, a request log or a debug dump of \"the response\" from ever holding a usable secret, whatever transport carried the document."
319
319
  },
320
320
  "AccountId": {
321
321
  "title": "AccountId",