@openvtc/trust-tasks 0.17.11 → 0.18.0
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/CHANGELOG.md +53 -0
- package/dist/_shared/components.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/rooms/epoch/chain/0.1/payload.d.ts +4 -4
- package/dist/rooms/epoch/chain/0.1/payload.js +2 -2
- package/dist/rooms/epoch/chain/0.1/payload.js.map +1 -1
- package/dist/rooms/epoch/mint/0.1/payload.d.ts +4 -4
- package/dist/rooms/epoch/mint/0.1/payload.js +2 -2
- package/dist/rooms/epoch/mint/0.1/payload.js.map +1 -1
- package/dist/rooms/keys/present/0.2/payload.d.ts +378 -0
- package/dist/rooms/keys/present/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/keys/present/0.2/payload.js +212 -0
- package/dist/rooms/keys/present/0.2/payload.js.map +1 -0
- package/dist/rooms/owner/claim/0.1/payload.d.ts +4 -4
- package/dist/rooms/owner/claim/0.1/payload.js +2 -2
- package/dist/rooms/owner/claim/0.1/payload.js.map +1 -1
- package/dist/rooms/owner/issue-authority/0.2/payload.d.ts +315 -0
- package/dist/rooms/owner/issue-authority/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/owner/issue-authority/0.2/payload.js +174 -0
- package/dist/rooms/owner/issue-authority/0.2/payload.js.map +1 -0
- package/dist/rooms/owner/transfer/0.1/payload.d.ts +4 -4
- package/dist/rooms/owner/transfer/0.1/payload.js +2 -2
- package/dist/rooms/owner/transfer/0.1/payload.js.map +1 -1
- package/dist/rooms/records/curate/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/curate/0.1/payload.js +2 -2
- package/dist/rooms/records/curate/0.1/payload.js.map +1 -1
- package/dist/rooms/records/get/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/get/0.1/payload.js +2 -2
- package/dist/rooms/records/get/0.1/payload.js.map +1 -1
- package/dist/rooms/records/list/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/list/0.1/payload.js +2 -2
- package/dist/rooms/records/list/0.1/payload.js.map +1 -1
- package/dist/rooms/records/put/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/put/0.1/payload.js +2 -2
- package/dist/rooms/records/put/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/_shared/components.ts +1 -1
- package/src/index.ts +2 -0
- package/src/rooms/epoch/chain/0.1/payload.ts +2 -2
- package/src/rooms/epoch/mint/0.1/payload.ts +2 -2
- package/src/rooms/keys/present/0.2/payload.ts +261 -0
- package/src/rooms/owner/claim/0.1/payload.ts +2 -2
- package/src/rooms/owner/issue-authority/0.2/payload.ts +234 -0
- package/src/rooms/owner/transfer/0.1/payload.ts +2 -2
- package/src/rooms/records/curate/0.1/payload.ts +2 -2
- package/src/rooms/records/get/0.1/payload.ts +2 -2
- package/src/rooms/records/list/0.1/payload.ts +2 -2
- package/src/rooms/records/put/0.1/payload.ts +2 -2
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/rooms/keys/present/0.2/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { AuthorityPresentation, Ext } from "../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* An agent asks the party holding its principal's room credentials to produce a presentation for one room operation. The credentials never cross to the agent; only the presentation does, and it is bound to the operation it was asked for and to the agent that asked.
|
|
8
|
+
*/
|
|
9
|
+
export interface RoomsKeysPresentPayload {
|
|
10
|
+
/**
|
|
11
|
+
* The room to present for.
|
|
12
|
+
*/
|
|
13
|
+
roomId: string;
|
|
14
|
+
/**
|
|
15
|
+
* The action the presentation must confer. Named here so the produced presentation can be scoped to it: a presentation minted for `read` should not be reusable for `write`, and a holder that mints one covering everything has handed the agent its own standing.
|
|
16
|
+
*/
|
|
17
|
+
action: "read" | "write" | "curate" | "admin";
|
|
18
|
+
/**
|
|
19
|
+
* Ecosystem-defined extension members per SPEC.md §4.5.1.
|
|
20
|
+
*/
|
|
21
|
+
ext?: Ext;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Success response to rooms/keys/present. Type https://trusttasks.org/spec/rooms/keys/present/0.2#response.
|
|
25
|
+
*/
|
|
26
|
+
export interface RoomsKeysPresentResponsePayload {
|
|
27
|
+
/**
|
|
28
|
+
* The presentation to send to the host. Its authority chain grants to the CALLER, who is the only party that can present it — see the task's Security & Privacy section.
|
|
29
|
+
*/
|
|
30
|
+
presentation: AuthorityPresentation;
|
|
31
|
+
/**
|
|
32
|
+
* When the presentation stops being accepted, so a caller can avoid presenting a stale one.
|
|
33
|
+
*/
|
|
34
|
+
expiresAt?: string;
|
|
35
|
+
ext?: Ext;
|
|
36
|
+
}
|
|
37
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
38
|
+
export type { AuthorityPresentation, Ext };
|
|
39
|
+
/** Trust Task type URI. */
|
|
40
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/rooms/keys/present/0.2";
|
|
41
|
+
/** Stable alias for this specification's request payload shape. */
|
|
42
|
+
export type Payload = RoomsKeysPresentPayload;
|
|
43
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
44
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/rooms/keys/present/0.2#response";
|
|
45
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
46
|
+
export type Response = RoomsKeysPresentResponsePayload;
|
|
47
|
+
/**
|
|
48
|
+
* This specification's payload schema, as a value.
|
|
49
|
+
*
|
|
50
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
51
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
52
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
53
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
54
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
55
|
+
*/
|
|
56
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
57
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
58
|
+
readonly $id: "https://trusttasks.org/spec/rooms/keys/present/0.2";
|
|
59
|
+
readonly title: "Rooms Keys Present — payload";
|
|
60
|
+
readonly description: "An agent asks the party holding its principal's room credentials to produce a presentation for one room operation. The credentials never cross to the agent; only the presentation does, and it is bound to the operation it was asked for and to the agent that asked.";
|
|
61
|
+
readonly type: "object";
|
|
62
|
+
readonly additionalProperties: false;
|
|
63
|
+
readonly required: readonly ["roomId", "action"];
|
|
64
|
+
readonly properties: {
|
|
65
|
+
readonly roomId: {
|
|
66
|
+
readonly type: "string";
|
|
67
|
+
readonly description: "The room to present for.";
|
|
68
|
+
};
|
|
69
|
+
readonly action: {
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
readonly enum: readonly ["read", "write", "curate", "admin"];
|
|
72
|
+
readonly description: "The action the presentation must confer. Named here so the produced presentation can be scoped to it: a presentation minted for `read` should not be reusable for `write`, and a holder that mints one covering everything has handed the agent its own standing.";
|
|
73
|
+
};
|
|
74
|
+
readonly ext: {
|
|
75
|
+
readonly $ref: "#/$defs/Ext";
|
|
76
|
+
readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly $defs: {
|
|
80
|
+
readonly Response: {
|
|
81
|
+
readonly $anchor: "response";
|
|
82
|
+
readonly title: "Rooms Keys Present — response payload";
|
|
83
|
+
readonly description: "Success response to rooms/keys/present. Type https://trusttasks.org/spec/rooms/keys/present/0.2#response.";
|
|
84
|
+
readonly type: "object";
|
|
85
|
+
readonly additionalProperties: false;
|
|
86
|
+
readonly required: readonly ["presentation"];
|
|
87
|
+
readonly properties: {
|
|
88
|
+
readonly presentation: {
|
|
89
|
+
readonly $ref: "#/$defs/AuthorityPresentation";
|
|
90
|
+
readonly description: "The presentation to send to the host. Its authority chain grants to the CALLER, who is the only party that can present it — see the task's Security & Privacy section.";
|
|
91
|
+
};
|
|
92
|
+
readonly expiresAt: {
|
|
93
|
+
readonly type: "string";
|
|
94
|
+
readonly format: "date-time";
|
|
95
|
+
readonly description: "When the presentation stops being accepted, so a caller can avoid presenting a stale one.";
|
|
96
|
+
};
|
|
97
|
+
readonly ext: {
|
|
98
|
+
readonly $ref: "#/$defs/Ext";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
readonly Ext: {
|
|
103
|
+
readonly title: "Ext";
|
|
104
|
+
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.";
|
|
105
|
+
readonly type: "object";
|
|
106
|
+
readonly minProperties: 1;
|
|
107
|
+
readonly additionalProperties: true;
|
|
108
|
+
readonly propertyNames: {
|
|
109
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
readonly AuthorityPresentation: {
|
|
113
|
+
readonly title: "AuthorityPresentation";
|
|
114
|
+
readonly type: "object";
|
|
115
|
+
readonly additionalProperties: false;
|
|
116
|
+
readonly required: readonly ["membership", "authority"];
|
|
117
|
+
readonly description: "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.";
|
|
118
|
+
readonly properties: {
|
|
119
|
+
readonly membership: {
|
|
120
|
+
readonly type: "string";
|
|
121
|
+
readonly description: "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile.";
|
|
122
|
+
};
|
|
123
|
+
readonly authority: {
|
|
124
|
+
readonly type: "array";
|
|
125
|
+
readonly minItems: 1;
|
|
126
|
+
readonly maxItems: 8;
|
|
127
|
+
readonly items: {
|
|
128
|
+
readonly type: "string";
|
|
129
|
+
};
|
|
130
|
+
readonly description: "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent.";
|
|
131
|
+
};
|
|
132
|
+
readonly subjectBinding: {
|
|
133
|
+
readonly type: "string";
|
|
134
|
+
readonly description: "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this.";
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
141
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
142
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
143
|
+
readonly $ref: "#/$defs/Response";
|
|
144
|
+
readonly $defs: {
|
|
145
|
+
readonly Response: {
|
|
146
|
+
readonly $anchor: "response";
|
|
147
|
+
readonly title: "Rooms Keys Present — response payload";
|
|
148
|
+
readonly description: "Success response to rooms/keys/present. Type https://trusttasks.org/spec/rooms/keys/present/0.2#response.";
|
|
149
|
+
readonly type: "object";
|
|
150
|
+
readonly additionalProperties: false;
|
|
151
|
+
readonly required: readonly ["presentation"];
|
|
152
|
+
readonly properties: {
|
|
153
|
+
readonly presentation: {
|
|
154
|
+
readonly $ref: "#/$defs/AuthorityPresentation";
|
|
155
|
+
readonly description: "The presentation to send to the host. Its authority chain grants to the CALLER, who is the only party that can present it — see the task's Security & Privacy section.";
|
|
156
|
+
};
|
|
157
|
+
readonly expiresAt: {
|
|
158
|
+
readonly type: "string";
|
|
159
|
+
readonly format: "date-time";
|
|
160
|
+
readonly description: "When the presentation stops being accepted, so a caller can avoid presenting a stale one.";
|
|
161
|
+
};
|
|
162
|
+
readonly ext: {
|
|
163
|
+
readonly $ref: "#/$defs/Ext";
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
readonly Ext: {
|
|
168
|
+
readonly title: "Ext";
|
|
169
|
+
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.";
|
|
170
|
+
readonly type: "object";
|
|
171
|
+
readonly minProperties: 1;
|
|
172
|
+
readonly additionalProperties: true;
|
|
173
|
+
readonly propertyNames: {
|
|
174
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
readonly AuthorityPresentation: {
|
|
178
|
+
readonly title: "AuthorityPresentation";
|
|
179
|
+
readonly type: "object";
|
|
180
|
+
readonly additionalProperties: false;
|
|
181
|
+
readonly required: readonly ["membership", "authority"];
|
|
182
|
+
readonly description: "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.";
|
|
183
|
+
readonly properties: {
|
|
184
|
+
readonly membership: {
|
|
185
|
+
readonly type: "string";
|
|
186
|
+
readonly description: "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile.";
|
|
187
|
+
};
|
|
188
|
+
readonly authority: {
|
|
189
|
+
readonly type: "array";
|
|
190
|
+
readonly minItems: 1;
|
|
191
|
+
readonly maxItems: 8;
|
|
192
|
+
readonly items: {
|
|
193
|
+
readonly type: "string";
|
|
194
|
+
};
|
|
195
|
+
readonly description: "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent.";
|
|
196
|
+
};
|
|
197
|
+
readonly subjectBinding: {
|
|
198
|
+
readonly type: "string";
|
|
199
|
+
readonly description: "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this.";
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
207
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
208
|
+
* per-specification and cannot be derived from the document alone, and
|
|
209
|
+
* item 2 needs the schema this carries.
|
|
210
|
+
*/
|
|
211
|
+
export declare const SPEC: {
|
|
212
|
+
readonly typeUri: "https://trusttasks.org/spec/rooms/keys/present/0.2";
|
|
213
|
+
readonly isBearer: false;
|
|
214
|
+
readonly isProofRequired: true;
|
|
215
|
+
readonly isRecipientRequired: true;
|
|
216
|
+
readonly isIssuedAtRequired: true;
|
|
217
|
+
readonly payloadSchema: {
|
|
218
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
219
|
+
readonly $id: "https://trusttasks.org/spec/rooms/keys/present/0.2";
|
|
220
|
+
readonly title: "Rooms Keys Present — payload";
|
|
221
|
+
readonly description: "An agent asks the party holding its principal's room credentials to produce a presentation for one room operation. The credentials never cross to the agent; only the presentation does, and it is bound to the operation it was asked for and to the agent that asked.";
|
|
222
|
+
readonly type: "object";
|
|
223
|
+
readonly additionalProperties: false;
|
|
224
|
+
readonly required: readonly ["roomId", "action"];
|
|
225
|
+
readonly properties: {
|
|
226
|
+
readonly roomId: {
|
|
227
|
+
readonly type: "string";
|
|
228
|
+
readonly description: "The room to present for.";
|
|
229
|
+
};
|
|
230
|
+
readonly action: {
|
|
231
|
+
readonly type: "string";
|
|
232
|
+
readonly enum: readonly ["read", "write", "curate", "admin"];
|
|
233
|
+
readonly description: "The action the presentation must confer. Named here so the produced presentation can be scoped to it: a presentation minted for `read` should not be reusable for `write`, and a holder that mints one covering everything has handed the agent its own standing.";
|
|
234
|
+
};
|
|
235
|
+
readonly ext: {
|
|
236
|
+
readonly $ref: "#/$defs/Ext";
|
|
237
|
+
readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
readonly $defs: {
|
|
241
|
+
readonly Response: {
|
|
242
|
+
readonly $anchor: "response";
|
|
243
|
+
readonly title: "Rooms Keys Present — response payload";
|
|
244
|
+
readonly description: "Success response to rooms/keys/present. Type https://trusttasks.org/spec/rooms/keys/present/0.2#response.";
|
|
245
|
+
readonly type: "object";
|
|
246
|
+
readonly additionalProperties: false;
|
|
247
|
+
readonly required: readonly ["presentation"];
|
|
248
|
+
readonly properties: {
|
|
249
|
+
readonly presentation: {
|
|
250
|
+
readonly $ref: "#/$defs/AuthorityPresentation";
|
|
251
|
+
readonly description: "The presentation to send to the host. Its authority chain grants to the CALLER, who is the only party that can present it — see the task's Security & Privacy section.";
|
|
252
|
+
};
|
|
253
|
+
readonly expiresAt: {
|
|
254
|
+
readonly type: "string";
|
|
255
|
+
readonly format: "date-time";
|
|
256
|
+
readonly description: "When the presentation stops being accepted, so a caller can avoid presenting a stale one.";
|
|
257
|
+
};
|
|
258
|
+
readonly ext: {
|
|
259
|
+
readonly $ref: "#/$defs/Ext";
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
readonly Ext: {
|
|
264
|
+
readonly title: "Ext";
|
|
265
|
+
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.";
|
|
266
|
+
readonly type: "object";
|
|
267
|
+
readonly minProperties: 1;
|
|
268
|
+
readonly additionalProperties: true;
|
|
269
|
+
readonly propertyNames: {
|
|
270
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
readonly AuthorityPresentation: {
|
|
274
|
+
readonly title: "AuthorityPresentation";
|
|
275
|
+
readonly type: "object";
|
|
276
|
+
readonly additionalProperties: false;
|
|
277
|
+
readonly required: readonly ["membership", "authority"];
|
|
278
|
+
readonly description: "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.";
|
|
279
|
+
readonly properties: {
|
|
280
|
+
readonly membership: {
|
|
281
|
+
readonly type: "string";
|
|
282
|
+
readonly description: "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile.";
|
|
283
|
+
};
|
|
284
|
+
readonly authority: {
|
|
285
|
+
readonly type: "array";
|
|
286
|
+
readonly minItems: 1;
|
|
287
|
+
readonly maxItems: 8;
|
|
288
|
+
readonly items: {
|
|
289
|
+
readonly type: "string";
|
|
290
|
+
};
|
|
291
|
+
readonly description: "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent.";
|
|
292
|
+
};
|
|
293
|
+
readonly subjectBinding: {
|
|
294
|
+
readonly type: "string";
|
|
295
|
+
readonly description: "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this.";
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
304
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
305
|
+
* parties (§7.3 item 5).
|
|
306
|
+
*/
|
|
307
|
+
export declare const RESPONSE_SPEC: {
|
|
308
|
+
readonly typeUri: "https://trusttasks.org/spec/rooms/keys/present/0.2#response";
|
|
309
|
+
readonly isBearer: false;
|
|
310
|
+
readonly isProofRequired: true;
|
|
311
|
+
readonly isRecipientRequired: true;
|
|
312
|
+
readonly isIssuedAtRequired: true;
|
|
313
|
+
readonly payloadSchema: {
|
|
314
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
315
|
+
readonly $ref: "#/$defs/Response";
|
|
316
|
+
readonly $defs: {
|
|
317
|
+
readonly Response: {
|
|
318
|
+
readonly $anchor: "response";
|
|
319
|
+
readonly title: "Rooms Keys Present — response payload";
|
|
320
|
+
readonly description: "Success response to rooms/keys/present. Type https://trusttasks.org/spec/rooms/keys/present/0.2#response.";
|
|
321
|
+
readonly type: "object";
|
|
322
|
+
readonly additionalProperties: false;
|
|
323
|
+
readonly required: readonly ["presentation"];
|
|
324
|
+
readonly properties: {
|
|
325
|
+
readonly presentation: {
|
|
326
|
+
readonly $ref: "#/$defs/AuthorityPresentation";
|
|
327
|
+
readonly description: "The presentation to send to the host. Its authority chain grants to the CALLER, who is the only party that can present it — see the task's Security & Privacy section.";
|
|
328
|
+
};
|
|
329
|
+
readonly expiresAt: {
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
readonly format: "date-time";
|
|
332
|
+
readonly description: "When the presentation stops being accepted, so a caller can avoid presenting a stale one.";
|
|
333
|
+
};
|
|
334
|
+
readonly ext: {
|
|
335
|
+
readonly $ref: "#/$defs/Ext";
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
readonly Ext: {
|
|
340
|
+
readonly title: "Ext";
|
|
341
|
+
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.";
|
|
342
|
+
readonly type: "object";
|
|
343
|
+
readonly minProperties: 1;
|
|
344
|
+
readonly additionalProperties: true;
|
|
345
|
+
readonly propertyNames: {
|
|
346
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
readonly AuthorityPresentation: {
|
|
350
|
+
readonly title: "AuthorityPresentation";
|
|
351
|
+
readonly type: "object";
|
|
352
|
+
readonly additionalProperties: false;
|
|
353
|
+
readonly required: readonly ["membership", "authority"];
|
|
354
|
+
readonly description: "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.";
|
|
355
|
+
readonly properties: {
|
|
356
|
+
readonly membership: {
|
|
357
|
+
readonly type: "string";
|
|
358
|
+
readonly description: "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile.";
|
|
359
|
+
};
|
|
360
|
+
readonly authority: {
|
|
361
|
+
readonly type: "array";
|
|
362
|
+
readonly minItems: 1;
|
|
363
|
+
readonly maxItems: 8;
|
|
364
|
+
readonly items: {
|
|
365
|
+
readonly type: "string";
|
|
366
|
+
};
|
|
367
|
+
readonly description: "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent.";
|
|
368
|
+
};
|
|
369
|
+
readonly subjectBinding: {
|
|
370
|
+
readonly type: "string";
|
|
371
|
+
readonly description: "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this.";
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/rooms/keys/present/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAGpF;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE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@@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/rooms/keys/present/0.2/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/rooms/keys/present/0.2";
|
|
7
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
8
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/keys/present/0.2#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/keys/present/0.2",
|
|
21
|
+
"title": "Rooms Keys Present — payload",
|
|
22
|
+
"description": "An agent asks the party holding its principal's room credentials to produce a presentation for one room operation. The credentials never cross to the agent; only the presentation does, and it is bound to the operation it was asked for and to the agent that asked.",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": [
|
|
26
|
+
"roomId",
|
|
27
|
+
"action"
|
|
28
|
+
],
|
|
29
|
+
"properties": {
|
|
30
|
+
"roomId": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "The room to present for."
|
|
33
|
+
},
|
|
34
|
+
"action": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"enum": [
|
|
37
|
+
"read",
|
|
38
|
+
"write",
|
|
39
|
+
"curate",
|
|
40
|
+
"admin"
|
|
41
|
+
],
|
|
42
|
+
"description": "The action the presentation must confer. Named here so the produced presentation can be scoped to it: a presentation minted for `read` should not be reusable for `write`, and a holder that mints one covering everything has handed the agent its own standing."
|
|
43
|
+
},
|
|
44
|
+
"ext": {
|
|
45
|
+
"$ref": "#/$defs/Ext",
|
|
46
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"$defs": {
|
|
50
|
+
"Response": {
|
|
51
|
+
"$anchor": "response",
|
|
52
|
+
"title": "Rooms Keys Present — response payload",
|
|
53
|
+
"description": "Success response to rooms/keys/present. Type https://trusttasks.org/spec/rooms/keys/present/0.2#response.",
|
|
54
|
+
"type": "object",
|
|
55
|
+
"additionalProperties": false,
|
|
56
|
+
"required": [
|
|
57
|
+
"presentation"
|
|
58
|
+
],
|
|
59
|
+
"properties": {
|
|
60
|
+
"presentation": {
|
|
61
|
+
"$ref": "#/$defs/AuthorityPresentation",
|
|
62
|
+
"description": "The presentation to send to the host. Its authority chain grants to the CALLER, who is the only party that can present it — see the task's Security & Privacy section."
|
|
63
|
+
},
|
|
64
|
+
"expiresAt": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"format": "date-time",
|
|
67
|
+
"description": "When the presentation stops being accepted, so a caller can avoid presenting a stale one."
|
|
68
|
+
},
|
|
69
|
+
"ext": {
|
|
70
|
+
"$ref": "#/$defs/Ext"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"Ext": {
|
|
75
|
+
"title": "Ext",
|
|
76
|
+
"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.",
|
|
77
|
+
"type": "object",
|
|
78
|
+
"minProperties": 1,
|
|
79
|
+
"additionalProperties": true,
|
|
80
|
+
"propertyNames": {
|
|
81
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"AuthorityPresentation": {
|
|
85
|
+
"title": "AuthorityPresentation",
|
|
86
|
+
"type": "object",
|
|
87
|
+
"additionalProperties": false,
|
|
88
|
+
"required": [
|
|
89
|
+
"membership",
|
|
90
|
+
"authority"
|
|
91
|
+
],
|
|
92
|
+
"description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.",
|
|
93
|
+
"properties": {
|
|
94
|
+
"membership": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"description": "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile."
|
|
97
|
+
},
|
|
98
|
+
"authority": {
|
|
99
|
+
"type": "array",
|
|
100
|
+
"minItems": 1,
|
|
101
|
+
"maxItems": 8,
|
|
102
|
+
"items": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
105
|
+
"description": "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent."
|
|
106
|
+
},
|
|
107
|
+
"subjectBinding": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this."
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
116
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
117
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
118
|
+
"$ref": "#/$defs/Response",
|
|
119
|
+
"$defs": {
|
|
120
|
+
"Response": {
|
|
121
|
+
"$anchor": "response",
|
|
122
|
+
"title": "Rooms Keys Present — response payload",
|
|
123
|
+
"description": "Success response to rooms/keys/present. Type https://trusttasks.org/spec/rooms/keys/present/0.2#response.",
|
|
124
|
+
"type": "object",
|
|
125
|
+
"additionalProperties": false,
|
|
126
|
+
"required": [
|
|
127
|
+
"presentation"
|
|
128
|
+
],
|
|
129
|
+
"properties": {
|
|
130
|
+
"presentation": {
|
|
131
|
+
"$ref": "#/$defs/AuthorityPresentation",
|
|
132
|
+
"description": "The presentation to send to the host. Its authority chain grants to the CALLER, who is the only party that can present it — see the task's Security & Privacy section."
|
|
133
|
+
},
|
|
134
|
+
"expiresAt": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"format": "date-time",
|
|
137
|
+
"description": "When the presentation stops being accepted, so a caller can avoid presenting a stale one."
|
|
138
|
+
},
|
|
139
|
+
"ext": {
|
|
140
|
+
"$ref": "#/$defs/Ext"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"Ext": {
|
|
145
|
+
"title": "Ext",
|
|
146
|
+
"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.",
|
|
147
|
+
"type": "object",
|
|
148
|
+
"minProperties": 1,
|
|
149
|
+
"additionalProperties": true,
|
|
150
|
+
"propertyNames": {
|
|
151
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"AuthorityPresentation": {
|
|
155
|
+
"title": "AuthorityPresentation",
|
|
156
|
+
"type": "object",
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"required": [
|
|
159
|
+
"membership",
|
|
160
|
+
"authority"
|
|
161
|
+
],
|
|
162
|
+
"description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.",
|
|
163
|
+
"properties": {
|
|
164
|
+
"membership": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"description": "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile."
|
|
167
|
+
},
|
|
168
|
+
"authority": {
|
|
169
|
+
"type": "array",
|
|
170
|
+
"minItems": 1,
|
|
171
|
+
"maxItems": 8,
|
|
172
|
+
"items": {
|
|
173
|
+
"type": "string"
|
|
174
|
+
},
|
|
175
|
+
"description": "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent."
|
|
176
|
+
},
|
|
177
|
+
"subjectBinding": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"description": "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this."
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
187
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
188
|
+
* per-specification and cannot be derived from the document alone, and
|
|
189
|
+
* item 2 needs the schema this carries.
|
|
190
|
+
*/
|
|
191
|
+
export const SPEC = {
|
|
192
|
+
typeUri: TYPE_URI,
|
|
193
|
+
isBearer: false,
|
|
194
|
+
isProofRequired: true,
|
|
195
|
+
isRecipientRequired: true,
|
|
196
|
+
isIssuedAtRequired: true,
|
|
197
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
201
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
202
|
+
* parties (§7.3 item 5).
|
|
203
|
+
*/
|
|
204
|
+
export const RESPONSE_SPEC = {
|
|
205
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
206
|
+
isBearer: false,
|
|
207
|
+
isProofRequired: true,
|
|
208
|
+
isRecipientRequired: true,
|
|
209
|
+
isIssuedAtRequired: true,
|
|
210
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
211
|
+
};
|
|
212
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/rooms/keys/present/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAwCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,oDAA6D,CAAC;AAKtF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,6DAAsE,CAAC;AAKxG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,oDAAoD;IAC3D,OAAO,EAA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